Package com.intellij.ide.plugins

Examples of com.intellij.ide.plugins.IdeaPluginDescriptor


            }
        });
    }

    private InputStream getAnswersFile(int number) throws FileNotFoundException {
        IdeaPluginDescriptor descriptor = PluginManager.getPlugin(PluginId.getId("com.jetbrains.puzzlers"));
        String path = descriptor.getPath().getAbsolutePath() + File.separator;
        return JavaPuzzlersGame.class.getClassLoader().getResourceAsStream("Questions" + File.separator + number + File.separator + "Answers.in");
        //return new FileInputStream(new File(path + "classes" + File.separator + "Questions" + File.separator + number + File.separator + "Answers.in"));
    }
View Full Code Here


        return JavaPuzzlersGame.class.getClassLoader().getResourceAsStream("Questions" + File.separator + number + File.separator + "Answers.in");
        //return new FileInputStream(new File(path + "classes" + File.separator + "Questions" + File.separator + number + File.separator + "Answers.in"));
    }

    private InputStream getPuzzleFile(int number) throws FileNotFoundException {
        IdeaPluginDescriptor descriptor = PluginManager.getPlugin(PluginId.getId("com.jetbrains.puzzlers"));
        String path = descriptor.getPath().getAbsolutePath() + File.separator;
        return JavaPuzzlersGame.class.getClassLoader().getResourceAsStream("Questions" + File.separator + number + File.separator + "Puzzler.in");
        //return new FileInputStream(new File(path + "classes" + File.separator + "Questions" + File.separator + number + File.separator + "Puzzler.in"));
    }
View Full Code Here

        return JavaPuzzlersGame.class.getClassLoader().getResourceAsStream("Questions" + File.separator + number + File.separator + "Puzzler.in");
        //return new FileInputStream(new File(path + "classes" + File.separator + "Questions" + File.separator + number + File.separator + "Puzzler.in"));
    }

    private InputStream getQuestionFile(int number) throws FileNotFoundException {
        IdeaPluginDescriptor descriptor = PluginManager.getPlugin(PluginId.getId("com.jetbrains.puzzlers"));
        String path = descriptor.getPath().getAbsolutePath() + File.separator;
        return JavaPuzzlersGame.class.getClassLoader().getResourceAsStream("Questions" + File.separator + number + File.separator + "Question.in");
        //return new FileInputStream(new File(path + "classes" + File.separator + "Questions" + File.separator + number + File.separator + "Question.in"));
    }
View Full Code Here

public class CopyrightExtensionDeferredLoader implements ApplicationComponent {
  private static final String COPYRIGHTS_PROVIDER_CLASS_NAME = "org.intellij.erlang.copyright.UpdateErlangCopyrightsProvider";

  @Override
  public void initComponent() {
    IdeaPluginDescriptor plugin = PluginManager.getPlugin(PluginId.getId("com.intellij.copyright"));
    if (plugin != null && plugin.isEnabled() && addThisPluginsJarPathTo(plugin)) {
      FileTypeExtensionPoint fileTypeEp = new FileTypeExtensionPoint();
      fileTypeEp.filetype = "Erlang";
      fileTypeEp.implementationClass = COPYRIGHTS_PROVIDER_CLASS_NAME;
      fileTypeEp.setPluginDescriptor(plugin);
      ExtensionPoint<Object> copyrightEP = Extensions.getRootArea().getExtensionPoint("com.intellij.copyright.updater");
View Full Code Here

TOP

Related Classes of com.intellij.ide.plugins.IdeaPluginDescriptor

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.