diff options
Diffstat (limited to 'org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java')
-rw-r--r-- | org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java b/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java deleted file mode 100644 index 6bd2824e2..000000000 --- a/org.eclipse.debug.core/core/org/eclipse/debug/internal/core/BreakpointImportParticipantDelegate.java +++ /dev/null @@ -1,76 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.debug.internal.core; - -import org.eclipse.core.runtime.CoreException; -import org.eclipse.core.runtime.IConfigurationElement; -import org.eclipse.debug.core.model.IBreakpointImportParticipant; - -/** - * Proxy to a breakpointImportParticipant extension. - * Client can contribute participant through the <code>breakpointImportParticipant</code> extension point - * - * Example contribution: - * <pre> - * <extension - point="org.eclipse.debug.core.breakpointImportParticipant"> - <ImportParticipant - participant="x.y.z.BreakpointImportParticipant" - type="org.eclipse.jdt.debug.javaLineBreakpointMarker"> - </ImportParticipant> - </extension> - * </pre> - * - * @noextend This class is not intended to be subclassed by clients. - * @noinstantiate This class is not intended to be instantiated by clients. - * - * @since 3.5 - */ -public class BreakpointImportParticipantDelegate { - - /** - * The configuration element for this delegate - */ - private IConfigurationElement fElement = null; - private IBreakpointImportParticipant fParticipant = null; - - /** - * Constructor - * @param element the element this proxy is created on - */ - public BreakpointImportParticipantDelegate(IConfigurationElement element) { - fElement = element; - } - - /** - * Returns the {@link IBreakpointImportParticipant} delegate or <code>null</code> of there was - * a problem loading the delegate - * - * @return the {@link IBreakpointImportParticipant} or <code>null</code> - * @throws CoreException - */ - public IBreakpointImportParticipant getDelegate() throws CoreException { - if(fParticipant == null) { - fParticipant = (IBreakpointImportParticipant) fElement.createExecutableExtension(IConfigurationElementConstants.PARTICIPANT); - } - return fParticipant; - } - - /** - * Returns the marker type this participant is registered for. - * - * @return the marker type this participant is registered for - * @throws CoreException - */ - public String getType() throws CoreException { - return fElement.getAttribute(IConfigurationElementConstants.TYPE); - } -} |