use of org.eclipse.ecf.internal.core.identity.Activator in project ecf by eclipse.
the class Trace method shouldTrace0.
protected static boolean shouldTrace0(String option) {
if (option == null)
return false;
Activator activator = Activator.getDefault();
if (activator == null)
return false;
DebugOptions debugOptions = activator.getDebugOptions();
if (debugOptions == null)
return false;
String result = debugOptions.getOption(option);
// $NON-NLS-1$
return (result == null) ? false : result.equalsIgnoreCase("true");
}
use of org.eclipse.ecf.internal.core.identity.Activator in project ecf by eclipse.
the class IDFactory method initialize.
private static synchronized void initialize() {
if (!initialized) {
Activator a = Activator.getDefault();
if (a != null)
a.setupNamespaceExtensionPoint();
initialized = true;
}
}
Aggregations