|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.listener.SyncchartsContentUtil
public final class SyncchartsContentUtil
Static helper methods for Synccharts.
Method Summary | |
---|---|
static void |
addTriggerListeners(TransactionalEditingDomain domain)
Add all TriggerListener classes that are registered via the corresponding extension point as a listener to the passed TransactionalEditingDomain. |
static String |
getNewUniqueString(EObject target,
EAttribute attribute,
String prefix,
UniqueStringCache cache)
Deprecated. use the more specific getNewUniqueString(Scope,String,UniqueStringCache) |
static String |
getNewUniqueString(Scope target,
String prefix,
UniqueStringCache cache)
Determine a new unique ID for a given Scope (e.g. |
static List<ResourceSetListener> |
getTriggerListeners(TransactionalEditingDomain domain)
|
static int |
getUniquePrio(Transition transition)
Get a new unique priority to a given Transition. |
static String |
getValidId(String label)
Transform a given arbitrary String to a valid identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addTriggerListeners(TransactionalEditingDomain domain)
domain
- the given TransactionalEditingDomainpublic static List<ResourceSetListener> getTriggerListeners(TransactionalEditingDomain domain)
public static String getValidId(String label)
label
-
public static String getNewUniqueString(EObject target, EAttribute attribute, String prefix, UniqueStringCache cache)
getNewUniqueString(Scope,String,UniqueStringCache)
target
- given EObject to look for a unique IDattribute
- the feature in which the String is stored, e.g. a "name" feature of a Stateprefix
- A String Prefix with which the unique String should start.
public static String getNewUniqueString(Scope target, String prefix, UniqueStringCache cache)
target
- given Scope to look for a unique IDprefix
- A String Prefix with which the unique String should start.
public static int getUniquePrio(Transition transition)
transition
- the input Transition whose prio will be changed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |