uk.ac.kcl.cch.jb.pliny.commands
Class DeleteObjectTypeCommand

java.lang.Object
  extended byorg.eclipse.gef.commands.Command
      extended byuk.ac.kcl.cch.jb.pliny.commands.DeleteObjectTypeCommand

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

deletes a ObjectType item. It checks to be sure that there are no resources linked to it before deletion, and will not do a delete if there are.

Author:
John Bradley

Constructor Summary
DeleteObjectTypeCommand(ObjectType objectType)
           
 
Method Summary
 void execute()
           
 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

DeleteObjectTypeCommand

public DeleteObjectTypeCommand(ObjectType objectType)
Method Detail

execute

public void execute()

undo

public void undo()