edu.stanford.smi.protegex.owl.ui.actions.triple
Class DeleteTripleAction
java.lang.Object
edu.stanford.smi.protegex.owl.ui.actions.triple.AbstractTripleAction
edu.stanford.smi.protegex.owl.ui.actions.triple.DeleteTripleAction
- All Implemented Interfaces:
- IconOwner, TripleAction
- public class DeleteTripleAction
- extends AbstractTripleAction
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteTripleAction
public DeleteTripleAction()
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
isSuitable
public static boolean isSuitable(RDFResource subject,
RDFProperty predicate,
Object object)
getNamedClassValues
private static int getNamedClassValues(RDFResource subject,
RDFProperty property)
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