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 37179 Details for
Bug 133472
Reconcile GenCompartment boolean properties
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Additional patch that hopefully makes all compilable
patch_133472_ext.txt (text/plain), 1.97 KB, created by
Michael Golubev
on 2006-03-29 01:29:48 EST
(
hide
)
Description:
Additional patch that hopefully makes all compilable
Filename:
MIME Type:
Creator:
Michael Golubev
Created:
2006-03-29 01:29:48 EST
Size:
1.97 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.tests >Index: src/org/eclipse/gmf/tests/setup/MapSetup.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.gmf/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/setup/MapSetup.java,v >retrieving revision 1.11 >diff -u -r1.11 MapSetup.java >--- src/org/eclipse/gmf/tests/setup/MapSetup.java 3 Mar 2006 18:32:39 -0000 1.11 >+++ src/org/eclipse/gmf/tests/setup/MapSetup.java 29 Mar 2006 06:27:44 -0000 >@@ -155,6 +155,10 @@ > } > > private NodeMapping createNodeMapping(Node nodeDef, EClass domainMetaElement, DiagramLabel labelDef, EAttribute editFeature, EReference containmentFeature) { >+ return createNodeMapping(nodeDef, domainMetaElement, labelDef, editFeature, containmentFeature, true); >+ } >+ >+ protected final NodeMapping createNodeMapping(Node nodeDef, EClass domainMetaElement, DiagramLabel labelDef, EAttribute editFeature, EReference containmentFeature, boolean addTopNodeReference) { > NodeMapping nme = GMFMapFactory.eINSTANCE.createNodeMapping(); > nme.setDiagramNode(nodeDef); > nme.setDomainMetaElement(domainMetaElement); >@@ -166,13 +170,16 @@ > } > // FIXME nme.setTool(GMFMapFactory.eINSTANCE.createCreationTool()); > setupNodeMapping(nme); >- TopNodeReference tnr = GMFMapFactory.eINSTANCE.createTopNodeReference(); >- tnr.setOwnedChild(nme); >- tnr.setContainmentFeature(containmentFeature); >- myMap.getNodes().add(tnr); >+ >+ if (addTopNodeReference){ >+ TopNodeReference tnr = GMFMapFactory.eINSTANCE.createTopNodeReference(); >+ tnr.setOwnedChild(nme); >+ tnr.setContainmentFeature(containmentFeature); >+ myMap.getNodes().add(tnr); >+ } > return nme; > } >- >+ > protected void addCreationConstraints(LinkMapping linkMapping, String sourceConstraint, String endConstraint) { > LinkConstraints constraints = GMFMapFactory.eINSTANCE.createLinkConstraints(); > Constraint source = GMFMapFactory.eINSTANCE.createConstraint();
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133472
:
37141
| 37179