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 113467 Details for
Bug 248584
Submachine state's isSimple property should be false.
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.
[patch]
update to StateOperations
State_isSimple.patch (text/plain), 1.25 KB, created by
James Bruck
on 2008-09-25 11:06:45 EDT
(
hide
)
Description:
update to StateOperations
Filename:
MIME Type:
Creator:
James Bruck
Created:
2008-09-25 11:06:45 EDT
Size:
1.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.uml2.uml >Index: src/org/eclipse/uml2/uml/internal/operations/StateOperations.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.mdt/org.eclipse.uml2/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/internal/operations/StateOperations.java,v >retrieving revision 1.11 >diff -u -r1.11 StateOperations.java >--- src/org/eclipse/uml2/uml/internal/operations/StateOperations.java 25 Mar 2008 13:41:38 -0000 1.11 >+++ src/org/eclipse/uml2/uml/internal/operations/StateOperations.java 25 Sep 2008 15:04:42 -0000 >@@ -249,14 +249,14 @@ > * <!-- begin-user-doc --> > * <!-- end-user-doc --> > * <!-- begin-model-doc --> >- * A simple state is a state without any regions. >- * result = region.isEmpty() >+ * A simple state does not have any regions and it does not refer to any sub-machine state machine. >+ * result = region.isEmpty() && !isSubmachineState() > * @param state The receiving '<em><b>State</b></em>' model object. > * <!-- end-model-doc --> > * @generated NOT > */ > public static boolean isSimple(State state) { >- return state.getRegions().isEmpty(); >+ return state.getRegions().isEmpty() && !isSubmachineState(state); > } > > /**
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 248584
: 113467