de.cau.cs.kieler.core.model.gmf.effects
Class RefreshGMFEditPoliciesEffect

java.lang.Object
  extended by de.cau.cs.kieler.core.kivi.AbstractEffect
      extended by de.cau.cs.kieler.core.model.gmf.effects.RefreshGMFEditPoliciesEffect
All Implemented Interfaces:
IEffect

public class RefreshGMFEditPoliciesEffect
extends AbstractEffect

KiVi effect refreshing the edit policies of the passed DiagramEditor. Undo functionality is supported if desired.

Rating proposed yellow
(2011-02-14) uru

Constructor Summary
RefreshGMFEditPoliciesEffect(org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor activeEditor, boolean undoable)
           
 
Method Summary
 void execute()
          Execute the effect.
 
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractEffect
isMergeable, merge, schedule, scheduleUndo, toString, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RefreshGMFEditPoliciesEffect

public RefreshGMFEditPoliciesEffect(org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor activeEditor,
                                    boolean undoable)
Parameters:
activeEditor - active editor which should be refreshed.
undoable - determines whether the refreshing should be executed using the editor's command stack or not. In case no command stack is used, no undo functionality is available.
Method Detail

execute

public void execute()
Execute the effect.