Examples of AppCommand


Examples of com.fornsys.jvixen.sys.AppCommand

        _applicationData = new JVixenApplicationData(_rootDataDirectory);

        stopping = false;
        InitializeComponent();
        labelVersion.setText( _GetVersionString() );
        setAppCommands( new AppCommand(this) );
        Execution.ExecutionStateChanged += executionStateChangedHandler;
        VixenSystem.Start(this, _openExecution, _disableControllers, _applicationData.DataFileDirectory);

        InitStats();
    }
View Full Code Here

Examples of org.rstudio.core.client.command.AppCommand

                                     int heightOffset,
                                     boolean separatorAfter)
   {

      Commands commands = RStudioGinjector.INSTANCE.getCommands();
      AppCommand presHome = commands.presentationHome();
      homeButton_ = new ToolbarButton(presHome.getImageResource(), null);
      homeButton_.setTitle(presHome.getTooltip());
      toolbar.addLeftWidget(homeButton_);
      homeSeparatorWidget_ = toolbar.addLeftSeparator();
     
      titleLabel_.addStyleName(ThemeResources.INSTANCE.themeStyles()
                                          .presentationNavigatorLabel());
      titleLabel_.getElement().getStyle().setProperty("maxWidth",
                                                      maxWidth + "px");
     
      menuWidget_ = toolbar.addLeftPopupMenu(titleLabel_, slidesMenu_);
      heightOffset_ = heightOffset;
    
      AppCommand presEdit = commands.presentationEdit();
      editSeparatorWidget_ = toolbar.addLeftSeparator();
      editButton_ = new ToolbarButton(presEdit.getImageResource(), null);
      toolbar.addLeftWidget(editButton_);   
     
      if (separatorAfter)
         separatorWidget_ = toolbar.addLeftSeparator();
     
View Full Code Here

Examples of org.rstudio.core.client.command.AppCommand

      commands_.getCommandById(cmdId).execute();
   }

   boolean isCommandVisible(String commandId)
   {
      AppCommand command = commands_.getCommandById(commandId);
      return command != null && command.isVisible();
   }
View Full Code Here

Examples of org.rstudio.core.client.command.AppCommand

      return command != null && command.isVisible();
   }

   boolean isCommandEnabled(String commandId)
   {
      AppCommand command = commands_.getCommandById(commandId);
      return command != null && command.isEnabled();
   }
View Full Code Here

Examples of org.rstudio.core.client.command.AppCommand

      return command != null && command.isEnabled();
   }
  
   boolean isCommandChecked(String commandId)
   {
      AppCommand command = commands_.getCommandById(commandId);
      return command != null && command.isChecked();
   }
View Full Code Here

Examples of org.rstudio.core.client.command.AppCommand

      return command != null && command.isChecked();
   }
  
   String getCommandLabel(String commandId)
   {
      AppCommand command = commands_.getCommandById(commandId);
      return command != null ? command.getMenuLabel(true) : "";
   }
View Full Code Here

Examples of org.tinyuml.util.AppCommand

  /**
   * {@inheritDoc}
   */
  public void actionPerformed(ActionEvent e) {
    AppCommand command = AppCommand.getCommand(e.getActionCommand());
    if (command != null) {
      for (AppCommandListener l : commandListeners) {
        l.handleCommand(command);
      }
    } else {
View Full Code Here

Examples of org.tinyuml.util.AppCommand

  /**
   * {@inheritDoc}
   */
  public void actionPerformed(ActionEvent e) {
    AppCommand command = AppCommand.getCommand(e.getActionCommand());
    if (command != null) {
      for (AppCommandListener l : listeners) {
        l.handleCommand(command);
      }
    } else {
View Full Code Here

Examples of org.tinyuml.util.AppCommand

  /**
   * {@inheritDoc}
   */
  public void actionPerformed(ActionEvent e) {
    AppCommand command = AppCommand.getCommand(e.getActionCommand());
    if (command != null) {
      for (AppCommandListener l : listeners) {
        l.handleCommand(command);
      }
    } else {
View Full Code Here

Examples of org.tinyuml.util.AppCommand

  /**
   * {@inheritDoc}
   */
  public void actionPerformed(ActionEvent e) {
    AppCommand command = AppCommand.getCommand(e.getActionCommand());
    if (command != null) {
      for (AppCommandListener l : listeners) {
        l.handleCommand(command);
      }
    } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.