private void _viewOutTxtActionPerformed(ActionEvent e) { if (!_ctl.getView().contains(_ctl.getViewFactory().getConsolePane())) { _ctl.getView() .addComponent( _ctl.getViewFactory().getConsolePane(), "Console", ViewInterface.MAIN_PANEL); } }
/** * Use the <code>_oldColorLegendUI</code> to make sure that only one legend panel is open at any * given time. */ private void _viewLegendMenuActionPerformed(ActionEvent e, ColorLegendUI clu) { if (_oldColorLegendUI != null) { _ctl.getView().removeComponentNoUpdate(_oldColorLegendUI); } _ctl.getView().addComponentNoUpdate(clu, "Legend", ViewInterface.SIDE_PANEL); _ctl.getView().setComponentVisible(clu); _oldColorLegendUI = clu; _renderbox.useLegendColoring(); }
private void _legendDefaultColoringActionPerformed(ActionEvent e) { if (_oldColorLegendUI != null) { _ctl.getView().removeComponent(_oldColorLegendUI); } _oldColorLegendUI = null; _renderbox.useDefaultColoring(); }
private void _viewFilterDegreeActionPerformed(ActionEvent e) { _ctl.setFilter(_degreeFilter); // dialog to get initialization arguments // TODO JDialog _degreeFilterDialog = DegreeFilterUI.getJDialog(_ctl); if (_degreeFilterDialog != null) { _degreeFilterDialog.pack(); _degreeFilterDialog.setVisible(true); } }
private void _viewRenderBoxActionPerformed(ActionEvent e) { if (!_ctl.getView().contains(_ctl.getRenderBox())) { _ctl.getView().addComponent(_ctl.getRenderBox(), "Main", ViewInterface.MAIN_PANEL); } }
private void _viewErrTxtActionPerformed(ActionEvent e) { if (!_ctl.getView().contains(_ctl.getViewFactory().getErrorPane())) { _ctl.getView() .addComponent(_ctl.getViewFactory().getErrorPane(), "Errors", ViewInterface.MAIN_PANEL); } }
private void _viewBottomPanelActionPerformed(ActionEvent e) { _ctl.getView().toggleBottomPane(!_ctl.getView().bottomPaneState()); }
private void _viewSidePanelActionPerformed(ActionEvent e) { _ctl.getView().toggleSidePane(!_ctl.getView().sidePaneState()); }