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()); }
static void log(String methodname, Exception e) { ViewersToolingPlugin.getDefault() .getLog() .log(new Status(IStatus.ERROR, ViewersToolingPlugin.PLUGIN_ID, e.getLocalizedMessage(), e)); }
static void log(String message) { ViewersToolingPlugin.getDefault() .getLog() .log(new Status(IStatus.INFO, ViewersToolingPlugin.PLUGIN_ID, message)); }
{ setImageDescriptor( ViewersToolingPlugin.imageDescriptorFromPlugin( ViewersToolingPlugin.PLUGIN_ID, "icons/expand.gif")); // setImageDescriptor(ViewersToolingPlugin.imageDescriptorFromPlugin(ViewersToolingPlugin.PLUGIN_ID,"icons/layout-split-vertical_16x16.png")); }