Package com.intellij.openapi.actionSystem

Examples of com.intellij.openapi.actionSystem.Constraints


public class SelectConnectionActionGroup extends DefaultActionGroup {
    private static SelectConnectionAction NO_CONNECTION = new SelectConnectionAction(null);

    public SelectConnectionActionGroup(Project project) {
        add(new OpenSettingsDialogAction(), new Constraints(Anchor.FIRST, null));
        addSeparator();
        add(NO_CONNECTION);

        ProjectConnectionBundle projectConnectionBundle = ProjectConnectionBundle.getInstance(project);
        for (ConnectionHandler virtualConnectionHandler : projectConnectionBundle.getVirtualConnections()) {
View Full Code Here


  private static void registerToolbarActions() {
    final DefaultActionGroup mainToolbar = (DefaultActionGroup) ActionManager.getInstance().getAction("MainToolBar");
    for (final AnAction anAction : _mainToolbarActions) {
      if (!isActionRegistered(anAction)) {
        _registeredMainToolbarActions.add(anAction);
        mainToolbar.add(anAction, new Constraints(Anchor.BEFORE, "RunConfiguration"));
      }
    }
  }
View Full Code Here

      statusToolbar.addToolbarCommand(JabberConnectionCommand.class);
    }
    if (!ourInitialized && ApplicationManager.getApplication() != null && !Pico.isUnitTest()) {
      DefaultActionGroup group = ((DefaultActionGroup) ActionManager.getInstance().getAction("IDEtalk.OptionsGroup"));
      if (group != null) {
        group.add(new EditJabberSettingsAction(), new Constraints(Anchor.FIRST, ""));
      }
      ourInitialized = true;
    }
  }
View Full Code Here

TOP

Related Classes of com.intellij.openapi.actionSystem.Constraints

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.