Search in sources :

Example 6 with Plugin

use of org.eclipse.core.runtime.Plugin in project webtools.sourceediting by eclipse.

the class VerifyEditorPlugin method testPluginExists.

public void testPluginExists() {
    Plugin plugin = null;
    try {
        plugin = SSEUIPlugin.getDefault();
    } catch (Exception e) {
        plugin = null;
    }
    assertNotNull("sse editor plugin could not be instantiated", plugin);
}
Also used : SSEUIPlugin(org.eclipse.wst.sse.ui.internal.SSEUIPlugin) Plugin(org.eclipse.core.runtime.Plugin)

Example 7 with Plugin

use of org.eclipse.core.runtime.Plugin in project ch.hsr.ifs.cdttesting by IFS-HSR.

the class CheckNoUnresolvedInclusionsTest method setUp.

@Override
public void setUp() throws Exception {
    Plugin plugin = CCorePlugin.getDefault();
    if (plugin != null) {
        plugin.getLog().addLogListener(this);
    }
    super.setUp();
}
Also used : Plugin(org.eclipse.core.runtime.Plugin) CCorePlugin(org.eclipse.cdt.core.CCorePlugin)

Example 8 with Plugin

use of org.eclipse.core.runtime.Plugin in project webtools.sourceediting by eclipse.

the class VerifyEditorPlugin method testPluginExists.

public void testPluginExists() {
    // TODO: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81527
    assertTrue(true);
    Plugin plugin = null;
    try {
        plugin = HTMLUIPlugin.getInstance();
    } catch (Exception e) {
        plugin = null;
    }
    assertNotNull("editor plugin could not be instantiated", plugin);
}
Also used : HTMLUIPlugin(org.eclipse.wst.html.ui.internal.HTMLUIPlugin) Plugin(org.eclipse.core.runtime.Plugin)

Example 9 with Plugin

use of org.eclipse.core.runtime.Plugin in project webtools.sourceediting by eclipse.

the class VerifyEditorPlugin method testPluginExists.

public void testPluginExists() {
    // TODO: see https://bugs.eclipse.org/bugs/show_bug.cgi?id=81527
    assertTrue(true);
    Plugin plugin = null;
    try {
        plugin = XMLUIPlugin.getInstance();
    } catch (Exception e) {
        plugin = null;
    }
    assertNotNull("xml editor plugin could not be instantiated", plugin);
}
Also used : XMLUIPlugin(org.eclipse.wst.xml.ui.internal.XMLUIPlugin) Plugin(org.eclipse.core.runtime.Plugin)

Example 10 with Plugin

use of org.eclipse.core.runtime.Plugin in project webtools.sourceediting by eclipse.

the class ExistenceTest method testExists.

/**
 * tests if CSSUIPlugin can be loaded
 */
public void testExists() {
    Plugin p = CSSUIPlugin.getDefault();
    assertNotNull("couldn't load CSS UI plugin", p);
}
Also used : CSSUIPlugin(org.eclipse.wst.css.ui.internal.CSSUIPlugin) Plugin(org.eclipse.core.runtime.Plugin)

Aggregations

Plugin (org.eclipse.core.runtime.Plugin)14 IPath (org.eclipse.core.runtime.IPath)5 CCorePlugin (org.eclipse.cdt.core.CCorePlugin)2 ResourcesPlugin (org.eclipse.core.resources.ResourcesPlugin)2 Folder (org.talend.core.model.repository.Folder)2 File (java.io.File)1 IOException (java.io.IOException)1 InvocationTargetException (java.lang.reflect.InvocationTargetException)1 HashMap (java.util.HashMap)1 ExecutionException (org.eclipse.core.commands.ExecutionException)1 IFile (org.eclipse.core.resources.IFile)1 IFolder (org.eclipse.core.resources.IFolder)1 IProject (org.eclipse.core.resources.IProject)1 CoreException (org.eclipse.core.runtime.CoreException)1 CSSUIPlugin (org.eclipse.wst.css.ui.internal.CSSUIPlugin)1 DTDUIPlugin (org.eclipse.wst.dtd.ui.internal.DTDUIPlugin)1 HTMLUIPlugin (org.eclipse.wst.html.ui.internal.HTMLUIPlugin)1 JsCorePlugin (org.eclipse.wst.jsdt.web.core.internal.JsCorePlugin)1 SSEUIPlugin (org.eclipse.wst.sse.ui.internal.SSEUIPlugin)1 XMLUIPlugin (org.eclipse.wst.xml.ui.internal.XMLUIPlugin)1