edu.stanford.smi.protegex.owl.ui.query
Class QueryTripleAction

java.lang.Object
  extended byedu.stanford.smi.protegex.owl.ui.actions.triple.AbstractTripleAction
      extended byedu.stanford.smi.protegex.owl.ui.query.QueryTripleAction
All Implemented Interfaces:
IconOwner, TripleAction

public class QueryTripleAction
extends AbstractTripleAction

Author:
Holger Knublauch

Field Summary
 
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.triple.AbstractTripleAction
 
Constructor Summary
QueryTripleAction()
           
 
Method Summary
 boolean isSuitable(Triple triple)
          Tests if this action can be applied to a given Triple.
 void run(Triple triple)
          Performs the action to a given Triple.
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.actions.triple.AbstractTripleAction
getGroup, getIconFileName, getIconResourceClass, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryTripleAction

public QueryTripleAction()
Method Detail

isSuitable

public boolean isSuitable(Triple triple)
Description copied from interface: TripleAction
Tests if this action can be applied to a given Triple.

Parameters:
triple - the Triple to apply this to
Returns:
true if this can be applied to triple

run

public void run(Triple triple)
Description copied from interface: TripleAction
Performs the action to a given Triple.

Parameters:
triple - the Triple to operate on