public void dispose() {
   removeIcons();
   _route.removePropertyChangeListener(this);
   if (_rl != null) {
     _rl.removePropertyChangeListener(this);
   }
   super.dispose();
 }
示例#2
0
 public void dispose() {
   carsTableModel.removeTableModelListener(this);
   carsTableModel.dispose();
   if (f != null) {
     f.dispose();
   }
   super.dispose();
 }
 public void dispose() {
   Setup.removePropertyChangeListener(this);
   trainManager.removePropertyChangeListener(this);
   trainScheduleManager.removePropertyChangeListener(this);
   removePropertyChangeTrainSchedules();
   removePropertyChangeLocations();
   trainsScheduleModel.dispose();
   super.dispose();
 }
示例#4
0
 public void dispose() {
   if (_track != null) {
     _track.removePropertyChangeListener(this);
   }
   _location.removePropertyChangeListener(this);
   CarLoads.instance().removePropertyChangeListener(this);
   CarTypes.instance().removePropertyChangeListener(this);
   super.dispose();
 }
示例#5
0
  @Override
  public void initComponents() {
    super.initComponents();

    // build menu
    addHelpMenu(
        "package.jmri.jmrit.operations.Operations_ManifestPrintOptionsTools", true); // NOI18N

    initMinimumSize(new Dimension(Control.panelWidth300, Control.panelHeight400));
  }
示例#6
0
 public void dispose() {
   /*
    * all JMRI window position and size are now saved in user preference file
    * trainManager.setTrainsFrameTableColumnWidths(getCurrentTableColumnWidths()); // save column widths
    * trainManager.setTrainsFrame(null);
    */
   trainsModel.dispose();
   trainManager.runShutDownScripts();
   trainManager.removePropertyChangeListener(this);
   Setup.removePropertyChangeListener(this);
   removePropertyChangeLocations();
   super.dispose();
 }
示例#7
0
 protected void storeValues() {
   super.storeValues();
   saveTableDetails(trainsTable);
 }
示例#8
0
 public void dispose() {
   removePropertyChangeListeners();
   super.dispose();
 }
示例#9
0
 @Override
 public void dispose() {
   locationManager.removePropertyChangeListener(this);
   super.dispose();
 }