diff options
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java')
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java | 36 |
1 files changed, 2 insertions, 34 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java index 20e5f9e4a..9923a0fad 100644 --- a/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java +++ b/org.eclipse.debug.core/core/org/eclipse/debug/core/DebugPlugin.java @@ -42,11 +42,6 @@ public class DebugPlugin extends Plugin { private Launcher[] fLaunchers= new Launcher[0];
/**
- * The collection of breakpoint factory extensions.
- */
- private IBreakpointFactory[] fBreakpointFactories= new IBreakpointFactory[0];
-
- /**
* The singleton breakpoint manager.
*/
private BreakpointManager fBreakpointManager;
@@ -161,33 +156,7 @@ public class DebugPlugin extends Plugin { for (int i= 0; i < infos.length; i++) {
fLaunchers[i]= new Launcher(infos[i]);
}
- }
-
- /**
- * Returns a collection of breakpoint factory extensions. Breakpoint factory represent
- * and provide access to breakpoint factory extensions.
- *
- * @return an array of breakpoint factory
- * @see org.eclipse.debug.core.IBreakpointFactory
- */
- public IBreakpointFactory[] getBreakpointFactories() {
- return fBreakpointFactories;
- }
-
- /**
- * Loads all breakpoint factory extensions.
- *
- * @exception CoreException if creation of a breakpoint factory extension fails
- */
- protected void loadBreakpointFactories() throws CoreException {
- IPluginDescriptor descriptor= getDescriptor();
- IExtensionPoint extensionPoint= descriptor.getExtensionPoint(IDebugConstants.EXTENSION_POINT_BREAKPOINT_FACTORY);
- IConfigurationElement[] infos= extensionPoint.getConfigurationElements();
- fBreakpointFactories= new IBreakpointFactory[infos.length];
- for (int i= 0; i < infos.length; i++) {
- fBreakpointFactories[i]= new BreakpointFactory(infos[i]);
- }
- }
+ }
/**
* Removes the given listener from the collection of registered debug
@@ -234,8 +203,7 @@ public class DebugPlugin extends Plugin { public void startup() throws CoreException {
fLaunchManager= new LaunchManager();
fBreakpointManager= new BreakpointManager();
- loadLaunchers();
- loadBreakpointFactories();
+ loadLaunchers();
fBreakpointManager.startup();
}
|