org.drools.eclipse.flow.common.editor.core.command
Class RenameElementCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.drools.eclipse.flow.common.editor.core.command.RenameElementCommand

public class RenameElementCommand
extends org.eclipse.gef.commands.Command

A command for renaming an element.


Constructor Summary
RenameElementCommand()
           
 
Method Summary
 void execute()
           
 void setName(String string)
           
 void setOldName(String string)
           
 void setSource(ElementWrapper action)
           
 void undo()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenameElementCommand

public RenameElementCommand()
Method Detail

execute

public void execute()
Overrides:
execute in class org.eclipse.gef.commands.Command

setName

public void setName(String string)

setOldName

public void setOldName(String string)

setSource

public void setSource(ElementWrapper action)

undo

public void undo()
Overrides:
undo in class org.eclipse.gef.commands.Command


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.