CARMA Browser action state
Identifier: com.ibm.carma.ui.ramBrowserActions
Since: 7.0.1
Description: Determines how the default CARMA actions should appear in CARMA repositories view(s). The actions can be enabled, disabled, or hidden via the extension point for a given RAM.
Enabled actions take the default behavior as specified by the view. Disabled actions will be grayed out, but still displayed, when resources from the RAM are selected. Hidden actions will be removed from the context menu and toolbar when the selection contains resources from the specified RAM.
This extension is useful if you would like to over-ride or disable the default CARMA view behavior. For example, the CARMA "open" action opens a CARMA member in read-write mode. If you would like to provide your own "Browse" action in the CARMA view, simply disable (or make hidden) the com.ibm.carma.action.open action id and supply your own browse action in its place.
Configuration Markup:
<!ELEMENT extension (ram)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT ram (action)>
<!ATTLIST ram
ramId CDATA #REQUIRED>
- ramId - Identifier of the Repository Manager to which the action state should apply
<!ELEMENT action EMPTY>
<!ATTLIST action
actionId (com.ibm.carma.action.open|com.ibm.carma.action.openWith|com.ibm.carma.action.remove|com.ibm.carma.action.refresh)
state (hidden|enabled|disabled) "enabled">
- actionId - The action identifier of the action to determine state for
- state - the state that the action should adhere to in the CARMA browser for the RAM. Enabled indicates that the browser should enabled the default action. Disabled indicates that the default action should be diabled for all users of the RAM. Hidden indicates that the action should not be shown for the users of the RAM
Examples: Providing a variety of states for the actions on RAM(ID=01).
<extension point=
"com.ibm.carma.ui.ramBrowserActions>
<ram ramId=
"01"
>
<action
actionId=
"com.ibm.carma.action.open"
state=
"enabled"
/>
<action
actionId=
"com.ibm.carma.action.remove"
state=
"disabled"
/>
<action
actionId=
"com.ibm.carma.action.refresh"
state=
"hidden"
/>
</ram>
</extension>
Supplied Implementation: Plugins may use this extension point to selectively enable, disable, or hide the default actions made available on the supplied CARMA views.
|
This information center is powered by Eclipse technology. (http://www.eclipse.org)