org.topbraidcomposer.ui.views
Class AbstractSelectionViewAction
java.lang.Object
org.topbraidcomposer.ui.views.AbstractViewAction
org.topbraidcomposer.ui.views.AbstractSelectionViewAction
- All Implemented Interfaces:
- org.eclipse.ui.IActionDelegate, org.eclipse.ui.IViewActionDelegate
- Direct Known Subclasses:
- AbstractChangeViewAction, AddChildAction, AddPropertyAction, ChangeMetaClassAction, CreateChildAction, CreateInstanceAction, CreateInstanceAction, CreateInversePropertyAction, CreatePropertyAction, CreatePropertyOfTypeAction, CreateSiblingClassAction, CreateSubClassAction, CreateSubPropertyAction, DownloadModelAction, ImportFileAction, ImportURLAction, RemoveImportAction, RenameAction, SetPropertyAction, ShowArbiTreeAction
public abstract class AbstractSelectionViewAction
- extends AbstractViewAction
A generic action to delete the resources in a tree consisting of ResourceTreeNodes.
- Author:
- Holger Knublauch
|
Method Summary |
protected com.hp.hpl.jena.rdf.model.Resource |
getFirstSelectedResource()
|
protected java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
getSelectedResources()
|
protected java.util.Iterator<com.hp.hpl.jena.rdf.model.Resource> |
listSelectedResources()
|
void |
run()
|
protected abstract void |
run(java.util.Set<com.hp.hpl.jena.rdf.model.Resource> resources)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSelectionViewAction
public AbstractSelectionViewAction()
getFirstSelectedResource
protected com.hp.hpl.jena.rdf.model.Resource getFirstSelectedResource()
getSelectedResources
protected java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getSelectedResources()
listSelectedResources
protected java.util.Iterator<com.hp.hpl.jena.rdf.model.Resource> listSelectedResources()
run
public void run()
- Specified by:
run in class AbstractViewAction
run
protected abstract void run(java.util.Set<com.hp.hpl.jena.rdf.model.Resource> resources)