|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.SystemObjectContributorManager
com.ibm.etools.systems.core.SystemPopupMenuActionContributorManager
We modelled our com.ibm.etools.systems.core.popupMenus extension point after the org.eclipse.ui.popupMenus extension point, so it makes sense to model the code to support it after the Eclipse code to support theirs. To that end, we have to bastardize the manager class for the popupMenu tag (it doesn't support subclasssing) and change it to:
SystemPopupMenuActionContributor
,
SystemPopupMenuActionContributorReader
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.systems.core.SystemObjectContributorManager |
---|
adapterLookup, objectLookup |
Constructor Summary | |
---|---|
SystemPopupMenuActionContributorManager()
Constructor for SystemPopupMenuActionContributorManager |
Method Summary | |
---|---|
boolean |
contributeObjectActions(IWorkbenchPart part,
SystemMenuManager popupMenu,
ISelectionProvider selProv,
List actionIdOverrides)
Contributes submenus and/or actions applicable to the selection in the provided viewer into the provided popup menu. |
IExtensionPoint |
getExtensionPointFilter()
|
static SystemPopupMenuActionContributorManager |
getManager()
Returns the shared instance of this manager. |
boolean |
hasContributorsFor(Object object)
Returns true if contributors exist in the manager for this object. |
boolean |
isApplicableTo(IStructuredSelection selection,
IObjectContributor contributor)
|
void |
registerContributor(IObjectContributor contributor,
String targetType)
|
Methods inherited from class com.ibm.etools.systems.core.SystemObjectContributorManager |
---|
addContributorsFor, computeClassOrder, computeInterfaceOrder, flushLookup, getAdaptedResource, getContributors, getContributors, getContributors, getContributors, unregisterAllContributors, unregisterContributor, unregisterContributors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Copyright
Constructor Detail |
public SystemPopupMenuActionContributorManager()
Method Detail |
public static SystemPopupMenuActionContributorManager getManager()
public boolean contributeObjectActions(IWorkbenchPart part, SystemMenuManager popupMenu, ISelectionProvider selProv, List actionIdOverrides)
public boolean hasContributorsFor(Object object)
hasContributorsFor
in class SystemObjectContributorManager
public boolean isApplicableTo(IStructuredSelection selection, IObjectContributor contributor)
isApplicableTo
in class SystemObjectContributorManager
public void registerContributor(IObjectContributor contributor, String targetType)
registerContributor
in class SystemObjectContributorManager
ObjectContributorManager#registerContributor
public IExtensionPoint getExtensionPointFilter()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |