edu.stanford.smi.protegex.owl.ui.actions
Class ResourceActionManager
java.lang.Object
edu.stanford.smi.protegex.owl.ui.actions.ResourceActionManager
- public class ResourceActionManager
- extends Object
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
private static Map map
userDefinedClasses
private static Set userDefinedClasses
ResourceActionManager
public ResourceActionManager()
addResourceActionClass
public static void addResourceActionClass(Class clazz)
- A work-around method for ResourceActions from outside the OWL Plugin.
Since due to a bug in the Java virtual machine these ResourceActions
can not be found through their manifest, they need to be added
manually, preferably through a ProjectPlugin.
- Parameters:
clazz
- the Class of a ResourceAction to add
addResourceActions
public static void addResourceActions(JPopupMenu menu,
Component parent,
RDFResource resource)
addResourceActions
public static void addResourceActions(JToolBar toolBar,
Component parent,
RDFResource resource)
getResourceActions
private static List getResourceActions(Component parent,
RDFResource resource)
createClone
public static ResourceAction createClone(ResourceAction resourceAction)
getResourceAction
public static ResourceAction getResourceAction(Class clazz)
getResourceActionClasses
public static Class[] getResourceActionClasses()