summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.gui/plugin.xml
diff options
context:
space:
mode:
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"