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 49539 Details for
Bug 156432
Element checks for unapplicable stereotypes before the resource assigns a GUID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch that fixes the problem for me
basicSetContainer.patch (text/plain), 1.31 KB, created by
Christian Damus
on 2006-09-06 16:28:57 EDT
(
hide
)
Description:
Patch that fixes the problem for me
Filename:
MIME Type:
Creator:
Christian Damus
Created:
2006-09-06 16:28:57 EDT
Size:
1.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.uml2.uml >Index: src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.uml2/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java,v >retrieving revision 1.31 >diff -u -r1.31 ElementImpl.java >--- src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java 24 May 2006 20:54:28 -0000 1.31 >+++ src/org/eclipse/uml2/uml/internal/impl/ElementImpl.java 6 Sep 2006 20:20:52 -0000 >@@ -781,9 +781,10 @@ > return basicGetOwner() != null; > } > >- protected void eBasicSetContainer(InternalEObject newContainer, >- int newContainerFeatureID) { >- super.eBasicSetContainer(newContainer, newContainerFeatureID); >+ public NotificationChain eBasicSetContainer(InternalEObject newContainer, >+ int newContainerFeatureID, NotificationChain msgs) { >+ NotificationChain result = super.eBasicSetContainer(newContainer, >+ newContainerFeatureID, msgs); > > if (newContainer != null) { > Resource.Internal eInternalResource = eInternalResource(); >@@ -794,8 +795,10 @@ > ElementOperations.applyAllRequiredStereotypes(this, false); > } > } >+ >+ return result; > } >- >+ > public EList eAdapters() { > EList eAdapters = super.eAdapters(); >
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 156432
: 49539