Package ch.tatool.core.display.swing.status

Examples of ch.tatool.core.display.swing.status.StatusRegionImpl


    if (! event.getPhase().equals(phase)) {
      return;
    }
   
    // fetch the status region
    StatusRegionImpl statusRegion = StatusRegionUtil.getInstance();
   
    // reset
    if (resetIds != null) {
      for (String id : resetIds) {
        StatusPanel panel = statusRegion.getStatusPanel(id);
        if (panel != null) {
          panel.reset();
        }
      }
    }
   
    // disable
    if (disableIds != null) {
      for (String id : disableIds) {
        StatusPanel panel = statusRegion.getStatusPanel(id);
        if (panel != null) {
          panel.setEnabled(false);
        }
      }
    }
   
    // enable
    if (enableIds != null) {
      for (String id : enableIds) {
        StatusPanel panel = statusRegion.getStatusPanel(id);
        if (panel != null) {
          panel.setEnabled(true);
        }
      }
    }
View Full Code Here

TOP

Related Classes of ch.tatool.core.display.swing.status.StatusRegionImpl

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.