org.topbraidcomposer.gef.graph.commands
Class CreateConnectionCommand

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

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


Constructor Summary
CreateConnectionCommand(ResourceEditPart source)
           
 
Method Summary
 void execute()
           
static java.util.Collection<com.hp.hpl.jena.rdf.model.Property> getPotentialPredicates(com.hp.hpl.jena.rdf.model.Resource subject, com.hp.hpl.jena.rdf.model.Resource object)
           
 ResourceEditPart getSource()
           
 void redo()
           
 void setTarget(ResourceEditPart value)
           
 
Methods inherited from class org.eclipse.gef.commands.Command
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel, undo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateConnectionCommand

public CreateConnectionCommand(ResourceEditPart source)
Method Detail

execute

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

getSource

public ResourceEditPart getSource()

redo

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

getPotentialPredicates

public static java.util.Collection<com.hp.hpl.jena.rdf.model.Property> getPotentialPredicates(com.hp.hpl.jena.rdf.model.Resource subject,
                                                                                              com.hp.hpl.jena.rdf.model.Resource object)

setTarget

public void setTarget(ResourceEditPart value)