String LANGUAGE = "ENG";
float panelX = 200;
this.clear();
this.setContentPosition(250, 25);// = 200;
buttonAddPlane = new GUIButton(panelX, 15,
"gui/GUI_LAYER_NEWLAYER_BUTTON.png", this.controller);
buttonAddPlane.addActionListener(GLOBAL.uiTools, "addPlane",
UITools.LEG_TOOL);
buttonAddPlane.setLabel("new");
buttonAddPlane.label.align = GUILabel.CENTRE;
buttonAddPlane.label.layout = GUILabel.UNDER_COMPONENT;
placeComponent(buttonAddPlane);
buttonAddPlane.setParentPanel(this);
buttonDeletePlane = new GUIButton(panelX, 15,
"gui/GUI_LAYER_DELETE_BUTTON.png", this.controller);
buttonDeletePlane.addActionListener(GLOBAL.uiTools,
"removeSelectedPlanes", UITools.LEG_TOOL);
buttonDeletePlane.setLabel("delete");
buttonDeletePlane.label.align = GUILabel.CENTRE;
buttonDeletePlane.label.layout = GUILabel.UNDER_COMPONENT;
super.placeComponent(buttonDeletePlane);
buttonDeletePlane.setParentPanel(this);
this.mirrorPlaneToggle = new GUIToggle(200, 50,
"gui/GUI_LAYER_MIRROR_BUTTON.png", this.controller);
mirrorPlaneToggle.addActionListener(this, "mirrorPlanesToggle",
UITools.LEG_TOOL);
mirrorPlaneToggle.setLabel("mirror");
mirrorPlaneToggle.label.align = GUILabel.CENTRE;
mirrorPlaneToggle.label.layout = GUILabel.UNDER_COMPONENT;
//this.mirrorPlaneToggle.addToolTip(GLOBAL.applet,
// "GUI_SLICE_MIRROR_TOOLTIP", LANGUAGE);
super.placeComponent(this.mirrorPlaneToggle);
this.mirrorPlaneToggle.setParentPanel(this);
this.mirrorPlaneToggle.setState(true);
this.selectAllPlanes = new GUIButton(200, 70,
"gui/GUI_LAYER_SELECTALL_BUTTON.png", this.controller);
this.selectAllPlanes.addActionListener(this, "selectAllPlanes",
UITools.LEG_TOOL);
this.selectAllPlanes.setLabel("all");
this.selectAllPlanes.label.align = GUILabel.CENTRE;
this.selectAllPlanes.label.layout = GUILabel.UNDER_COMPONENT;
///this.selectAllPlanes.addToolTip(GLOBAL.applet,
// "proButtons/GUI_SLICE_SELECT_ALL_TOOLTIP", LANGUAGE);
super.placeComponent(this.selectAllPlanes);
this.selectAllPlanes.setParentPanel(this);
this.toggleGuide = new GUIButton(230, 15,
"gui/GUI_LAYER_GUIDELAYER_BUTTON.png", this.controller);
this.toggleGuide.addActionListener(this, "toggleGuide",
UITools.LEG_TOOL);
toggleGuide.setLabel("guide");
toggleGuide.label.align = GUILabel.CENTRE;