Package com.intellij.openapi.options

Examples of com.intellij.openapi.options.Configurable


        if (exception.getConfigLocation() == IvySettingsNotFoundException.ConfigLocation.Project) {
            linkBehavior = new LinkBehavior(
                    "Open " + exception.getConfigLocation() + " settings for " + exception.getConfigName() + "...",
                    new LinkListener() {
                        public void linkSelected(LinkLabel linkLabel, Object o) {
                            Configurable component = project.getComponent(IvyIdeaProjectSettingsComponent.class);
                            ShowSettingsUtil.getInstance().editConfigurable(project, component);
                        }
                    }, null);
        }
        IvyIdeaExceptionDialog.showModalDialog("Ivy Settings Error", exception, myProject, linkBehavior);
View Full Code Here


    while (enumeration.hasMoreElements()) {
      final MyNode node = (MyNode)enumeration.nextElement();
      if (node instanceof MyRootNode) continue;
      final Object userObject = node.getUserObject();
      if (userObject instanceof Configurable) {
        final Configurable configurable = (Configurable)userObject;
        final String displayName = configurable.getDisplayName();
        myState.order.add(displayName);
        if (!selected && Comparing.strEqual(displayName, myState.lastEditedConfigurable)) {
          TreeUtil.selectInTree(node, true, myTree);
          selected = true;
        }
View Full Code Here

        openConfigurationButton.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                DataContext toolContext = DataManager.getInstance().getDataContextFromFocus().getResult();
                Project project = DataKeys.PROJECT.getData(toolContext);
                if (project != null) {
                    Configurable component = ApplicationManager.getApplication().getComponent(JsLintValidatorComponent.class);
                    ShowSettingsUtil.getInstance().editConfigurable(project, component);
                }
            }
        });
    }
View Full Code Here

TOP

Related Classes of com.intellij.openapi.options.Configurable

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.