Package jmt.gui.jmodel.panels

Examples of jmt.gui.jmodel.panels.StationNamePanel


    if ((cell != null) && (cell instanceof JmtCell)) {
      JmtCell jcell = (JmtCell) cell;
      StationParameterPanel stationPanel = new jmt.gui.common.panels.StationParameterPanel(model, model,
          ((CellComponent) jcell.getUserObject()).getKey());
      // Adds on the top a panel to change station name
      stationPanel.add(new StationNamePanel(model, ((CellComponent) jcell.getUserObject()).getKey()), BorderLayout.NORTH);
      dialogFactory.getDialog(stationPanel, "Editing " + jcell.getUserObject().toString() + " Properties...");

      // Updates cell dimensions if name was changed too much...
      Hashtable<Object, Map> nest = new Hashtable<Object, Map>();
      Dimension cellDimension = jcell.getSize(graph);
View Full Code Here

TOP

Related Classes of jmt.gui.jmodel.panels.StationNamePanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.