summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.gui/plugin.xml
diff options
context:
space:
mode:
authorSelvam <selvam@gluster.com>2011-04-20 10:55:26 +0530
committerSelvam <selvam@gluster.com>2011-04-29 14:54:40 +0530
commit3cc0768e0baf35ea140262e4f646cbdb9a3b8b84 (patch)
tree3e23f01b7270667028592b3ce054374ce8bafdcf /src/com.gluster.storage.management.gui/plugin.xml
parentc11192c4cf06f14ad90d72819ebeee2ad527f16d (diff)
Story #18 Add disk, UI, REST client and REST Resource
Diffstat (limited to 'src/com.gluster.storage.management.gui/plugin.xml')
-rw-r--r--src/com.gluster.storage.management.gui/plugin.xml32
1 files changed, 27 insertions, 5 deletions
diff --git a/src/com.gluster.storage.management.gui/plugin.xml b/src/com.gluster.storage.management.gui/plugin.xml
index 97a60ad1..21dbbf50 100644
--- a/src/com.gluster.storage.management.gui/plugin.xml
+++ b/src/com.gluster.storage.management.gui/plugin.xml
@@ -251,6 +251,12 @@
id="com.gluster.storage.management.gui.commands.MigrateDisk"
name="Migrate Disk">
</command>
+ <command
+ categoryId="com.gluster.storage.management.gui.category"
+ description="Add Disk"
+ id="com.gluster.storage.management.gui.commands.AddDisk"
+ name="Add Disk">
+ </command>
</extension>
<extension
point="org.eclipse.ui.bindings">
@@ -491,11 +497,11 @@
style="push"
toolbarPath="Normal"
tooltip="Migrate Disk">
- <enablement>
- <objectClass
- name="com.gluster.storage.management.core.model.Disk">
- </objectClass>
- </enablement>
+ <enablement>
+ <objectClass
+ name="com.gluster.storage.management.core.model.Disk">
+ </objectClass>
+ </enablement>
</action>
<action
allowLabelUpdate="false"
@@ -577,6 +583,22 @@
toolbarPath="Normal"
tooltip="Start Volume">
</action>
+ <action
+ allowLabelUpdate="false"
+ class="com.gluster.storage.management.gui.actions.AddDiskAction"
+ definitionId="com.gluster.storage.management.gui.commands.AddDisk"
+ icon="icons/disk.png"
+ id="com.gluster.storage.management.gui.actions.AddDiskAction"
+ label="&amp;Add Disk"
+ menubarPath="com.gluster.storage.management.gui.menu.volume/volume"
+ mode="FORCE_TEXT"
+ pulldown="false"
+ retarget="false"
+ state="false"
+ style="push"
+ toolbarPath="Normal"
+ tooltip="Add disk to the volume">
+ </action>
<menu
id="com.gluster.storage.management.gui.menu.volume"
label="&amp;Gluster"