com.ibm.carma.ui.action.custom
Class CarmaCustomActionRegistry
java.lang.Object
com.ibm.carma.ui.action.custom.CarmaCustomActionRegistry
- All Implemented Interfaces:
- org.eclipse.emf.common.notify.Adapter
public class CarmaCustomActionRegistry
- extends java.lang.Object
- implements org.eclipse.emf.common.notify.Adapter
This Class is the registry for CARMA's custom actions.
This Class is not intended to be subclassed or instantiated, but may be accessed through its
singleton: CarmaCustomActionRegistry.getRegistry()
- See Also:
CarmaCustomAction
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter |
org.eclipse.emf.common.notify.Adapter.Internal |
|
Field Summary |
static java.lang.String |
COPYRIGHT
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
CarmaCustomActionRegistry
public CarmaCustomActionRegistry()
getCustomActions
public org.eclipse.jface.action.IAction[] getCustomActions(RepositoryManager repMan)
- Returns a series of CarmaCustomActions for repMan
- Parameters:
repMan - The RepositoryManager you'd like the Carma Custom IActions for.
- Returns:
- the list of customActions or new IAction[0] if the RepositoryManager needs to be
synchronized
getRegistry
public static CarmaCustomActionRegistry getRegistry()
- Returns:
- the Singleton CarmaCustomActionRegistry
notifyChanged
public void notifyChanged(org.eclipse.emf.common.notify.Notification notification)
- Specified by:
notifyChanged in interface org.eclipse.emf.common.notify.Adapter
getTarget
public org.eclipse.emf.common.notify.Notifier getTarget()
- Specified by:
getTarget in interface org.eclipse.emf.common.notify.Adapter
setTarget
public void setTarget(org.eclipse.emf.common.notify.Notifier newTarget)
- Specified by:
setTarget in interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
public boolean isAdapterForType(java.lang.Object type)
- Specified by:
isAdapterForType in interface org.eclipse.emf.common.notify.Adapter