Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.Plugin


    File rssowlExe = getRSSOwlExecutable();
    if (rssowlExe == null)
      return;

    /* Locate Executables in Workspace or copy over if not existing */
    Plugin bundle = Activator.getDefault();
    if (bundle == null)
      return;

    File checkRegistryExe = getOrCreateFromStateLocation(CHECK_REGISTRY_EXE, bundle);
    File registerAppExe = getOrCreateFromStateLocation(REGISTER_RSSOWL_EXE, bundle);
View Full Code Here


                null);
        }
        File libDir = new File(libURL.toString());
        IClasspathEntry[] jettyJarPaths = getJarPaths(libDir);
        IClasspathEntry[] apacheJarPaths = new IClasspathEntry[0];
        Plugin tomcatPlugin = Platform.getPlugin("org.eclipse.tomcat");
        if (tomcatPlugin != null)
        {
            IPluginDescriptor descriptor = tomcatPlugin.getDescriptor();
            apacheJarPaths = getLibrariesPaths(descriptor, "org.apache.jasper");
        }
        return LibraryHelper.concatenateEntries(jettyJarPaths, apacheJarPaths);
    }
View Full Code Here

    }
    return initializer;
  }

  private static ClasspathContainerInitializer computeClasspathContainerInitializer(String containerID) {
    Plugin jdtCorePlugin = JavaCore.getPlugin();
    if (jdtCorePlugin == null) return null;

    IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaCore.PLUGIN_ID, JavaModelManager.CPCONTAINER_INITIALIZER_EXTPOINT_ID);
    if (extension != null) {
      IExtension[] extensions =  extension.getExtensions();
View Full Code Here

    if (variablePath != null && variablePath != JavaModelManager.VARIABLE_INITIALIZATION_IN_PROGRESS) {
      return null;
    }

    // Search for extension point to get the possible deprecation message
    Plugin jdtCorePlugin = JavaCore.getPlugin();
    if (jdtCorePlugin == null) return null;

    IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaCore.PLUGIN_ID, JavaModelManager.CPVARIABLE_INITIALIZER_EXTPOINT_ID);
    if (extension != null) {
      IExtension[] extensions =  extension.getExtensions();
View Full Code Here

   * none was found.
   * @since 2.1
    */
  public static ClasspathVariableInitializer getClasspathVariableInitializer(String variable){

    Plugin jdtCorePlugin = JavaCore.getPlugin();
    if (jdtCorePlugin == null) return null;

    IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaCore.PLUGIN_ID, JavaModelManager.CPVARIABLE_INITIALIZER_EXTPOINT_ID);
    if (extension != null) {
      IExtension[] extensions =  extension.getExtensions();
View Full Code Here

   *
   * @param target the target preference store
   * @param targetKey the key to be used in the target preference store
   */
  public static void startPropagate(IPreferenceStore target, String targetKey) {
    Plugin plugin= Platform.getPlugin("org.eclipse.ui.workbench"); //$NON-NLS-1$
    if (plugin instanceof AbstractUIPlugin) {
      AbstractUIPlugin uiPlugin= (AbstractUIPlugin) plugin;
      IPreferenceStore store= uiPlugin.getPreferenceStore();
      if (store != null)
        PropagatingFontFieldEditor.startPropagate(store, JFaceResources.TEXT_FONT, target, targetKey);
View Full Code Here

    }
    return initializer;
  }

  private static ClasspathContainerInitializer computeClasspathContainerInitializer(String containerID) {
    Plugin jdtCorePlugin = JavaCore.getPlugin();
    if (jdtCorePlugin == null) return null;

    IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaCore.PLUGIN_ID, JavaModelManager.CPCONTAINER_INITIALIZER_EXTPOINT_ID);
    if (extension != null) {
      IExtension[] extensions =  extension.getExtensions();
View Full Code Here

    if (variablePath != null && variablePath != JavaModelManager.VARIABLE_INITIALIZATION_IN_PROGRESS) {
      return null;
    }

    // Search for extension point to get the possible deprecation message
    Plugin jdtCorePlugin = JavaCore.getPlugin();
    if (jdtCorePlugin == null) return null;

    IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaCore.PLUGIN_ID, JavaModelManager.CPVARIABLE_INITIALIZER_EXTPOINT_ID);
    if (extension != null) {
      IExtension[] extensions =  extension.getExtensions();
View Full Code Here

   * none was found.
   * @since 2.1
    */
  public static ClasspathVariableInitializer getClasspathVariableInitializer(String variable){

    Plugin jdtCorePlugin = JavaCore.getPlugin();
    if (jdtCorePlugin == null) return null;

    IExtensionPoint extension = Platform.getExtensionRegistry().getExtensionPoint(JavaCore.PLUGIN_ID, JavaModelManager.CPVARIABLE_INITIALIZER_EXTPOINT_ID);
    if (extension != null) {
      IExtension[] extensions =  extension.getExtensions();
View Full Code Here

TOP

Related Classes of org.eclipse.core.runtime.Plugin

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.