public MeasureTool(ImageViewerEventManager<? extends ImageElement> eventManager) { super(BUTTON_NAME, BUTTON_NAME, PluginTool.Type.TOOL, 30); this.eventManager = eventManager; this.rootPane = new JScrollPane(); dockable.setTitleIcon(new ImageIcon(MeasureTool.class.getResource("/icon/16x16/measure.png"))); //$NON-NLS-1$ setDockableWidth(javax.swing.UIManager.getLookAndFeel() != null ? javax.swing.UIManager.getLookAndFeel().getClass().getName().startsWith("org.pushingpixels") ? 190 : 205 //$NON-NLS-1$ : 205); jbInit(); }
public MeasureAnnotationTool() { super(BUTTON_NAME, BUTTON_NAME, POSITION.EAST, ExtendedMode.NORMALIZED, PluginTool.Type.TOOL, 30); this.rootPane = new JScrollPane(); dockable.setTitleIcon(new ImageIcon(MeasureTool.class.getResource("/icon/16x16/measure.png"))); //$NON-NLS-1$ setDockableWidth(300); jbInit(); }
public ImageTool(String pluginName) { super(BUTTON_NAME, pluginName, PluginTool.Type.TOOL, 20); dockable.setTitleIcon(new ImageIcon(ImageTool.class.getResource("/icon/16x16/image.png"))); //$NON-NLS-1$ setDockableWidth(290); jbInit(); }
public ImageTool(String pluginName) { super(BUTTON_NAME, pluginName, PluginTool.Type.TOOL, 20); dockable.setTitleIcon(new ImageIcon(ImageTool.class.getResource("/icon/16x16/image.png"))); //$NON-NLS-1$ setDockableWidth(290); jbInit(); }
public EditionTool(Type type) { super(BUTTON_NAME, BUTTON_NAME, POSITION.EAST, ExtendedMode.NORMALIZED, type, 9); dockable.setTitleIcon(new ImageIcon(ImageTool.class.getResource("/icon/16x16/image.png"))); //$NON-NLS-1$ setDockableWidth(300); setLayout(new BorderLayout()); topPanel = new AcquireActionButtonsPanel(this); add(topPanel, BorderLayout.NORTH); }
public DisplayTool(String pluginName) { super(BUTTON_NAME, pluginName, PluginTool.Type.TOOL, 10); dockable.setTitleIcon(new ImageIcon(DisplayTool.class.getResource("/icon/16x16/display.png"))); //$NON-NLS-1$ setDockableWidth(210); tree = new CheckboxTree(); initPathSelection = false; setLayout(new BorderLayout(0, 0)); iniTree(); }
public DisplayTool(String pluginName) { super(BUTTON_NAME, pluginName, PluginTool.Type.TOOL, 10); dockable.setTitleIcon(new ImageIcon(ImageTool.class.getResource("/icon/16x16/display.png"))); //$NON-NLS-1$ setDockableWidth(210); tree = new CheckboxTree(); initPathSelection = false; setLayout(new BorderLayout(0, 0)); iniTree(); }
this.setLayout(new BorderLayout(0, 0)); this.rootPane = new JScrollPane(); this.dockable.setTitleIcon(new ImageIcon(RtDisplayTool.class.getResource("/icon/16x16/rtDose.png"))); //$NON-NLS-1$ this.setDockableWidth(350); this.btnLoad.setToolTipText("Populate RT objects from loaded DICOM study");
viewer.getDockable().setTitleIcon((Icon) val);
this.dockable.setTitleText(pluginName); this.dockable.setTitleToolTip(tooltips); this.dockable.setTitleIcon(icon); this.dockable.setFocusComponent(this); this.dockable.setStackable(true);