diff options
| author | Shireesh Anjal <shireesh@gluster.com> | 2011-02-02 16:03:53 +0530 |
|---|---|---|
| committer | Shireesh Anjal <shireesh@gluster.com> | 2011-02-02 16:03:53 +0530 |
| commit | 35a759331e88d926330b9f4a072b13a2fbd186a7 (patch) | |
| tree | d325fbe392418e9106902a74b3c808cacfd929af /com.gluster.storage.management.gui/plugin.xml | |
| parent | dfd14c05bc117df8de627c48d4615fc9d995bbe0 (diff) | |
introduced context menu on volumes and servers in navigation tree
Diffstat (limited to 'com.gluster.storage.management.gui/plugin.xml')
| -rw-r--r-- | com.gluster.storage.management.gui/plugin.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/com.gluster.storage.management.gui/plugin.xml b/com.gluster.storage.management.gui/plugin.xml index 8097f4ef..6c956981 100644 --- a/com.gluster.storage.management.gui/plugin.xml +++ b/com.gluster.storage.management.gui/plugin.xml @@ -350,6 +350,11 @@ style="push" toolbarPath="Normal" tooltip="Migrate Disk"> + <enablement> + <objectClass + name="com.gluster.storage.management.core.model.Disk"> + </objectClass> + </enablement> </action> <action allowLabelUpdate="false" @@ -819,6 +824,42 @@ </not> </visibility> </objectContribution> + <objectContribution + id="gluster.context.menu.entityGroup" + objectClass="com.gluster.storage.management.core.model.EntityGroup"> + <action + allowLabelUpdate="false" + class="com.gluster.storage.management.gui.actions.CreateVolumeAction" + definitionId="com.gluster.storage.management.gui.commands.CreateVolume" + icon="icons/volume-create.png" + id="com.gluster.storage.management.gui.actions.CreateVolumeAction" + label="&Create Volume" + menubarPath="additions" + mode="FORCE_TEXT" + pulldown="false" + retarget="false" + state="false" + style="push" + toolbarPath="Normal" + tooltip="Create a new Volume"> + </action> + <action + allowLabelUpdate="false" + class="com.gluster.storage.management.gui.actions.AddServerAction" + definitionId="com.gluster.storage.management.gui.commands.AddServer" + icon="icons/server-add.png" + id="com.gluster.storage.management.gui.actions.AddServerAction" + label="&Add Server(s)" + menubarPath="additions" + mode="FORCE_TEXT" + pulldown="false" + retarget="false" + state="false" + style="push" + toolbarPath="Normal" + tooltip="Add Server(s) to Cluster"> + </action> + </objectContribution> </extension> </plugin> |
