void setState() { setChecked(isVerticalSashing); if (isVerticalSashing) { setImageDescriptor( ViewersToolingPlugin.imageDescriptorFromPlugin( ViewersToolingPlugin.PLUGIN_ID, "icons/vertical.gif")); } else { setImageDescriptor( ViewersToolingPlugin.imageDescriptorFromPlugin( ViewersToolingPlugin.PLUGIN_ID, "icons/horizontal.gif")); } }
{ setImageDescriptor( ViewersToolingPlugin.imageDescriptorFromPlugin( ViewersToolingPlugin.PLUGIN_ID, "icons/collapse.gif")); // setImageDescriptor(ViewersToolingPlugin.imageDescriptorFromPlugin(ViewersToolingPlugin.PLUGIN_ID,"icons/layout-join-vertical_16x16.png")); // setEnabled(isEnabled()); }
{ setImageDescriptor( ViewersToolingPlugin.imageDescriptorFromPlugin( ViewersToolingPlugin.PLUGIN_ID, "icons/expand.gif")); // setImageDescriptor(ViewersToolingPlugin.imageDescriptorFromPlugin(ViewersToolingPlugin.PLUGIN_ID,"icons/layout-split-vertical_16x16.png")); }