Package gov.nasa.jsc.mct.executable.buttons

Examples of gov.nasa.jsc.mct.executable.buttons.ExecutableButtonModel


   
    if ( (manifestation == null) && currentContext.getSelectedManifestations().iterator().hasNext()) {
      manifestation = currentContext.getSelectedManifestations().iterator().next();
    }
   
    ExecutableButtonModel execButtonModel = ExecutableButtonComponent.class.cast(manifestation.getManifestedComponent()).getModel();
   
    execCmd = execButtonModel.getData().getExecCmd();

    if (execCmd == null) {
      String msg = "Button execute command is null.";
      ADVISORY_LOGGER.error(msg);
    }
View Full Code Here


  @Override
  public void actionPerformed(ActionEvent e) {
   
    manifestation = currentContext.getWindowManifestation();
   
    ExecutableButtonModel execButtonModel = ExecutableButtonComponent.class.cast(manifestation.getManifestedComponent()).getModel();
   
    execCmd = execButtonModel.getData().getExecCmd();

    if (execCmd == null) {
      String msg = "Button execute command is null.";
      ADVISORY_LOGGER.error(msg);
    }
View Full Code Here

TOP

Related Classes of gov.nasa.jsc.mct.executable.buttons.ExecutableButtonModel

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.