|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.transaction.ResourceSetListenerImpl
org.eclipse.emf.transaction.TriggerListener
de.cau.cs.kieler.synccharts.diagram.custom.triggerlisteners.RedundantLabelTriggerListener
public class RedundantLabelTriggerListener
This class is responsible for hiding redundant labels. For example it hides the region id label if the parent state only has one region. It also hides the transition priority label if the source state only has one outgoing transition.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.emf.transaction.ResourceSetListener |
---|
ResourceSetListener.Internal |
Constructor Summary | |
---|---|
RedundantLabelTriggerListener()
Creates a new RedundantLabelTriggerListener. |
|
RedundantLabelTriggerListener(NotificationFilter filter)
Creates a new RedundantLabelTriggerListener. |
Method Summary | |
---|---|
static void |
hideAll()
Hide all transition labels. |
static void |
hideRedundant()
Only hide redundant labels. |
static void |
hideRedundantLabels()
Manually trigger the trigger listener. |
protected Command |
trigger(TransactionalEditingDomain domain,
Notification notification)
|
Methods inherited from class org.eclipse.emf.transaction.TriggerListener |
---|
isPrecommitOnly, transactionAboutToCommit |
Methods inherited from class org.eclipse.emf.transaction.ResourceSetListenerImpl |
---|
getFilter, getTarget, isAggregatePrecommitListener, isPostcommitOnly, resourceSetChanged, setTarget, unsetTarget |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RedundantLabelTriggerListener()
public RedundantLabelTriggerListener(NotificationFilter filter)
filter
- the filterMethod Detail |
---|
public static void hideAll()
public static void hideRedundant()
public static void hideRedundantLabels()
protected Command trigger(TransactionalEditingDomain domain, Notification notification)
trigger
in class TriggerListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |