de.cau.cs.kieler.synccharts.diagram.custom.triggerlisteners
Class RedundantLabelTriggerListener
java.lang.Object
org.eclipse.emf.transaction.ResourceSetListenerImpl
org.eclipse.emf.transaction.TriggerListener
de.cau.cs.kieler.synccharts.diagram.custom.triggerlisteners.RedundantLabelTriggerListener
- All Implemented Interfaces:
- EventListener, ResourceSetListener, ResourceSetListener.Internal
public class RedundantLabelTriggerListener
- extends TriggerListener
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.
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedundantLabelTriggerListener
public RedundantLabelTriggerListener()
- Creates a new RedundantLabelTriggerListener.
RedundantLabelTriggerListener
public RedundantLabelTriggerListener(NotificationFilter filter)
- Creates a new RedundantLabelTriggerListener.
- Parameters:
filter
- the filter
hideRedundantLabels
public static void hideRedundantLabels()
- Manually trigger the trigger listener.
trigger
protected Command trigger(TransactionalEditingDomain domain,
Notification notification)
-
- Specified by:
trigger
in class TriggerListener