SegmentationView.Action.Background.text=Markup Background
SegmentationView.Action.Background.tooltip=Markup Background Pixels
SegmentationView.Action.Background.image=file:resources/icons/background.png
+SegmentationView.Action.OperatingMode.text=Toggle between Segmentation and Labelling
+SegmentationView.Action.OperatingMode.tooltip=Toggle between Segmentation and Labelling
+SegmentationView.Action.OperatingMode.image=file:resources/icons/copy.png
SegmentationView.Action.ZoomIn.text=Zoom In
SegmentationView.Action.ZoomIn.tooltip=Zoom In
SegmentationView.Action.ZoomIn.image=file:resources/icons/zoom-in.png
public enum Tool {
Foreground,
Background,
+ OperatingMode,
ZoomIn,
ZoomOut,
ZoomOriginal,
ToolBarManager m = new ToolBarManager(bar1);
m.add(getAction(Tool.Foreground));
m.add(getAction(Tool.Background));
+ m.add(getAction(Tool.OperatingMode));
m.add(new Separator());
m.add(getAction(Tool.ZoomIn));
m.add(getAction(Tool.ZoomOut));