org.eclipse.gmf.runtime.lite.commands
Class VetoCommand
java.lang.Object
org.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.CommandWrapper
org.eclipse.gmf.runtime.lite.commands.VetoCommand
- All Implemented Interfaces:
- org.eclipse.emf.common.command.Command
public abstract class VetoCommand
- extends org.eclipse.emf.common.command.CommandWrapper
Command that, if can be executed, does nothing.
- Author:
- bblajer
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
Fields inherited from class org.eclipse.emf.common.command.CommandWrapper |
command |
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
description, isExecutable, isPrepared, label |
Methods inherited from class org.eclipse.emf.common.command.CommandWrapper |
canUndo, dispose, execute, getAffectedObjects, getCommand, getDescription, getLabel, getResult, prepare, redo, toString, undo |
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
canExecute, chain, setDescription, setLabel |
VetoCommand
public VetoCommand()
VetoCommand
public VetoCommand(String label)
VetoCommand
public VetoCommand(String label,
String description)
createCommand
protected org.eclipse.emf.common.command.Command createCommand()
- Overrides:
createCommand
in class org.eclipse.emf.common.command.CommandWrapper
shouldExecute
protected abstract boolean shouldExecute()
Copyright © 2012. All Rights Reserved.