use of org.eclipse.core.runtime.Plugin in project jbosstools-openshift by jbosstools.
the class CDKOpenshiftUtilityTest method getDotCDKFile.
private String getDotCDKFile() {
IPath stateLoc = ((Plugin) CDKCoreActivator.getDefault()).getStateLocation();
IPath folder = stateLoc.append("testFolder").append(".cdk");
return folder.toOSString();
}
use of org.eclipse.core.runtime.Plugin in project jbosstools-openshift by jbosstools.
the class CDKOpenshiftUtilityTest method getDotCDKFolder.
private String getDotCDKFolder() {
IPath stateLoc = ((Plugin) CDKCoreActivator.getDefault()).getStateLocation();
IPath folder = stateLoc.append("testFolder");
return folder.toOSString();
}
use of org.eclipse.core.runtime.Plugin in project jbosstools-openshift by jbosstools.
the class CDKRegistryTest method getDotCDKFolder.
private String getDotCDKFolder() {
IPath stateLoc = ((Plugin) CDKCoreActivator.getDefault()).getStateLocation();
IPath folder = stateLoc.append("testFolder");
return folder.toOSString();
}
use of org.eclipse.core.runtime.Plugin in project ch.hsr.ifs.cdttesting by IFS-HSR.
the class CheckNoUnresolvedInclusionsTest method tearDown.
@Override
@After
public void tearDown() throws Exception {
Plugin plugin = CCorePlugin.getDefault();
if (plugin != null) {
plugin.getLog().removeLogListener(this);
}
super.tearDown();
}
use of org.eclipse.core.runtime.Plugin in project webtools.sourceediting by eclipse.
the class JsIndexManager method setIndexState.
synchronized void setIndexState(int state) {
if (DEBUG) {
// $NON-NLS-1$
System.out.println("JSIndexManager setting index state to: " + state2String(state));
}
Plugin jspModelPlugin = JsCorePlugin.getDefault();
jspModelPlugin.getPluginPreferences().setValue(PKEY_INDEX_STATE, state);
jspModelPlugin.savePluginPreferences();
}
Aggregations