org.topbraidcomposer.gef.graph.commands
Class DeleteResourceCommand

java.lang.Object
  extended by org.eclipse.gef.commands.Command
      extended by org.topbraidcomposer.gef.graph.commands.DeleteResourceCommand

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


Constructor Summary
DeleteResourceCommand(com.hp.hpl.jena.rdf.model.Resource resource)
           
 
Method Summary
 boolean canExecute()
           
 void execute()
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteResourceCommand

public DeleteResourceCommand(com.hp.hpl.jena.rdf.model.Resource resource)
Method Detail

canExecute

public boolean canExecute()
Overrides:
canExecute in class org.eclipse.gef.commands.Command

execute

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