Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 107705 Details for
Bug 238537
UML2 Implementation Bug - Redefinable Template Signature does not conform to OMG Spec
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Java Example Code for the getAllParameters operation
getAllAvailableParameters.txt (text/plain), 1.09 KB, created by
Aitor Aldazabal
on 2008-07-17 04:30:03 EDT
(
hide
)
Description:
Java Example Code for the getAllParameters operation
Filename:
MIME Type:
Creator:
Aitor Aldazabal
Created:
2008-07-17 04:30:03 EDT
Size:
1.09 KB
patch
obsolete
>static public java.util.List<org.eclipse.uml2.uml.TemplateParameter> getAllAvailableParameters (org.eclipse.uml2.uml.RedefinableTemplateSignature rts) > { > java.util.List<org.eclipse.uml2.uml.TemplateParameter> _return=null; > java.util.Iterator<org.eclipse.uml2.uml.RedefinableTemplateSignature> it =null; > > try > { > _return= new java.util.ArrayList<org.eclipse.uml2.uml.TemplateParameter>(); > _return=getAllAvailableParameters(rts,_return); > } > catch (Exception ex) > { > ex.printStackTrace(); > } > return _return; > } > > > >static private java.util.List<org.eclipse.uml2.uml.TemplateParameter> getAllAvailableParameters (org.eclipse.uml2.uml.RedefinableTemplateSignature ts, java.util.List<org.eclipse.uml2.uml.TemplateParameter> array) > { > java.util.Iterator<org.eclipse.uml2.uml.RedefinableTemplateSignature> it =null; > try > { > array.addAll(ts.getParameters()); > it=ts.getExtendedSignatures().iterator(); > while(it.hasNext()) > { > getAllAvailableParameters(it.next(),array); > } > } > catch (Exception ex) > { > ex.printStackTrace(); > } > return array; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 238537
: 107705