Esempio n. 1
0
 private void _viewOutTxtActionPerformed(ActionEvent e) {
   if (!_ctl.getView().contains(_ctl.getViewFactory().getConsolePane())) {
     _ctl.getView()
         .addComponent(
             _ctl.getViewFactory().getConsolePane(), "Console", ViewInterface.MAIN_PANEL);
   }
 }
Esempio n. 2
0
 /**
  * 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();
 }
Esempio n. 3
0
 private void _legendDefaultColoringActionPerformed(ActionEvent e) {
   if (_oldColorLegendUI != null) {
     _ctl.getView().removeComponent(_oldColorLegendUI);
   }
   _oldColorLegendUI = null;
   _renderbox.useDefaultColoring();
 }
Esempio n. 4
0
 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);
   }
 }
Esempio n. 5
0
 private void _viewRenderBoxActionPerformed(ActionEvent e) {
   if (!_ctl.getView().contains(_ctl.getRenderBox())) {
     _ctl.getView().addComponent(_ctl.getRenderBox(), "Main", ViewInterface.MAIN_PANEL);
   }
 }
Esempio n. 6
0
 private void _viewErrTxtActionPerformed(ActionEvent e) {
   if (!_ctl.getView().contains(_ctl.getViewFactory().getErrorPane())) {
     _ctl.getView()
         .addComponent(_ctl.getViewFactory().getErrorPane(), "Errors", ViewInterface.MAIN_PANEL);
   }
 }
Esempio n. 7
0
 private void _viewBottomPanelActionPerformed(ActionEvent e) {
   _ctl.getView().toggleBottomPane(!_ctl.getView().bottomPaneState());
 }
Esempio n. 8
0
 private void _viewSidePanelActionPerformed(ActionEvent e) {
   _ctl.getView().toggleSidePane(!_ctl.getView().sidePaneState());
 }