コード例 #1
0
 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"));
   }
 }
コード例 #2
0
 {
   setImageDescriptor(
       ViewersToolingPlugin.imageDescriptorFromPlugin(
           ViewersToolingPlugin.PLUGIN_ID, "icons/collapse.gif"));
   // setImageDescriptor(ViewersToolingPlugin.imageDescriptorFromPlugin(ViewersToolingPlugin.PLUGIN_ID,"icons/layout-join-vertical_16x16.png"));
   //    		setEnabled(isEnabled());
 }
コード例 #3
0
 {
   setImageDescriptor(
       ViewersToolingPlugin.imageDescriptorFromPlugin(
           ViewersToolingPlugin.PLUGIN_ID, "icons/expand.gif"));
   // setImageDescriptor(ViewersToolingPlugin.imageDescriptorFromPlugin(ViewersToolingPlugin.PLUGIN_ID,"icons/layout-split-vertical_16x16.png"));
 }