Class RedrawRestrictionCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.edit.command.AbstractOverrideableCommand
com.amalgamasimulation.graphicaleditor.commands.RedrawRestrictionCommand
- All Implemented Interfaces:
org.eclipse.emf.common.command.Command,org.eclipse.emf.edit.command.OverrideableCommand
public class RedrawRestrictionCommand
extends org.eclipse.emf.edit.command.AbstractOverrideableCommand
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.AbstractCommand.NonDirtying -
Field Summary
Fields inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand
domain, overrideCommandFields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label -
Constructor Summary
ConstructorsConstructorDescriptionRedrawRestrictionCommand(RedrawRestrictionManager redrawRestrictionManager, boolean restrictionState) -
Method Summary
Methods inherited from class org.eclipse.emf.edit.command.AbstractOverrideableCommand
canExecute, canUndo, dispose, doDispose, doGetAffectedObjects, doGetChildrenToCopy, doGetDescription, doGetLabel, doGetResult, execute, getAffectedObjects, getChildrenToCopy, getDescription, getDomain, getLabel, getOverride, getOwnerList, getResult, redo, setOverride, toString, undo, updateEMapMethods inherited from class org.eclipse.emf.common.command.AbstractCommand
chain, prepare, setDescription, setLabelMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.common.command.Command
chain
-
Constructor Details
-
RedrawRestrictionCommand
public RedrawRestrictionCommand(RedrawRestrictionManager redrawRestrictionManager, boolean restrictionState)
-
-
Method Details
-
doExecute
public void doExecute()- Specified by:
doExecutein interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Specified by:
doExecutein classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
doUndo
public void doUndo()- Specified by:
doUndoin interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Specified by:
doUndoin classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
doRedo
public void doRedo()- Specified by:
doRedoin interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Specified by:
doRedoin classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
doCanExecute
public boolean doCanExecute()- Specified by:
doCanExecutein interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Overrides:
doCanExecutein classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-
doCanUndo
public boolean doCanUndo()- Specified by:
doCanUndoin interfaceorg.eclipse.emf.edit.command.OverrideableCommand- Overrides:
doCanUndoin classorg.eclipse.emf.edit.command.AbstractOverrideableCommand
-