mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-30 04:15:35 +02:00
Remove org.eclipse.terminal.view.core.utils
Currently `Activator` exposes `TraceHandler` for public usage that looks more like a copy-paste from other similar bundles, where it was already removed. Major bump is a great opportunity to remove this public method.
This commit is contained in:
parent
77ec98c7ab
commit
e269399ef1
2 changed files with 0 additions and 16 deletions
|
@ -22,5 +22,4 @@ Automatic-Module-Name: org.eclipse.tm.terminal.connector.cdtserial
|
||||||
Import-Package: org.eclipse.terminal.connector;version="[1.0.0,2.0.0)",
|
Import-Package: org.eclipse.terminal.connector;version="[1.0.0,2.0.0)",
|
||||||
org.eclipse.terminal.connector.provider;version="[1.0.0,2.0.0)",
|
org.eclipse.terminal.connector.provider;version="[1.0.0,2.0.0)",
|
||||||
org.eclipse.terminal.view.core;version="[1.0.0,2.0.0)",
|
org.eclipse.terminal.view.core;version="[1.0.0,2.0.0)",
|
||||||
org.eclipse.terminal.view.core.utils;version="[1.0.0,2.0.0)",
|
|
||||||
org.eclipse.terminal.view.ui.launcher;version="[1.0.0,2.0.0)"
|
org.eclipse.terminal.view.ui.launcher;version="[1.0.0,2.0.0)"
|
||||||
|
|
|
@ -18,7 +18,6 @@ import org.eclipse.core.runtime.Status;
|
||||||
import org.eclipse.jface.resource.ImageDescriptor;
|
import org.eclipse.jface.resource.ImageDescriptor;
|
||||||
import org.eclipse.jface.resource.ImageRegistry;
|
import org.eclipse.jface.resource.ImageRegistry;
|
||||||
import org.eclipse.swt.graphics.Image;
|
import org.eclipse.swt.graphics.Image;
|
||||||
import org.eclipse.terminal.view.core.utils.TraceHandler;
|
|
||||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||||
import org.osgi.framework.BundleContext;
|
import org.osgi.framework.BundleContext;
|
||||||
|
|
||||||
|
@ -28,8 +27,6 @@ import org.osgi.framework.BundleContext;
|
||||||
public class Activator extends AbstractUIPlugin {
|
public class Activator extends AbstractUIPlugin {
|
||||||
// The shared instance
|
// The shared instance
|
||||||
private static Activator plugin;
|
private static Activator plugin;
|
||||||
// The trace handler instance
|
|
||||||
private static volatile TraceHandler traceHandler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The constructor
|
* The constructor
|
||||||
|
@ -56,18 +53,6 @@ public class Activator extends AbstractUIPlugin {
|
||||||
return "org.eclipse.tm.terminal.connector.serial"; //$NON-NLS-1$
|
return "org.eclipse.tm.terminal.connector.serial"; //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the bundles trace handler.
|
|
||||||
*
|
|
||||||
* @return The bundles trace handler.
|
|
||||||
*/
|
|
||||||
public static TraceHandler getTraceHandler() {
|
|
||||||
if (traceHandler == null) {
|
|
||||||
traceHandler = new TraceHandler(getUniqueIdentifier());
|
|
||||||
}
|
|
||||||
return traceHandler;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void start(BundleContext context) throws Exception {
|
public void start(BundleContext context) throws Exception {
|
||||||
super.start(context);
|
super.start(context);
|
||||||
|
|
Loading…
Add table
Reference in a new issue