diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java index 74431b081..504c589e1 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/LaunchGroupExtension.java @@ -4,13 +4,13 @@ * 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.ui.launchConfigurations; - + import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.debug.internal.ui.DebugUIPlugin; import org.eclipse.debug.ui.ILaunchGroup; @@ -21,26 +21,26 @@ import org.eclipse.jface.resource.ImageDescriptor; * Proxy to a launch group extension */ public class LaunchGroupExtension implements ILaunchGroup { - + /** * The configuration element defining this launch group. */ private IConfigurationElement fConfig; - + /** * The image for this group */ private ImageDescriptor fImageDescriptor; - + /** * The banner image for this group */ private ImageDescriptor fBannerImageDescriptor; - + /** * Constructs a launch group extension based on the given configuration * element - * + * * @param element the configuration element defining the * attributes of this launch group extension * @return a new launch group extension @@ -48,31 +48,31 @@ public class LaunchGroupExtension implements ILaunchGroup { public LaunchGroupExtension(IConfigurationElement element) { setConfigurationElement(element); } - + /** * Sets the configuration element that defines the attributes * for this launch group extension. - * + * * @param element configuration element */ private void setConfigurationElement(IConfigurationElement element) { fConfig = element; } - + /** * Returns the configuration element that defines the attributes * for this launch group extension. - * + * * @param configuration element that defines the attributes * for this launch group extension */ protected IConfigurationElement getConfigurationElement() { return fConfig; } - + /** * Returns the image for this launch group, or <code>null</code> if none - * + * * @return the image for this launch group, or <code>null</code> if none */ @Override @@ -82,11 +82,11 @@ public class LaunchGroupExtension implements ILaunchGroup { } return fImageDescriptor; } - + /** * Returns the banner image for this launch group, or <code>null</code> if * none - * + * * @return the banner image for this launch group, or <code>null</code> if * none */ @@ -96,61 +96,61 @@ public class LaunchGroupExtension implements ILaunchGroup { fBannerImageDescriptor = createImageDescriptor("bannerImage"); //$NON-NLS-1$ } return fBannerImageDescriptor; - } - + } + /** * Returns the label for this launch group - * + * * @return the label for this launch group */ @Override public String getLabel() { return getConfigurationElement().getAttribute("label"); //$NON-NLS-1$ - } - + } + /** * Returns the id for this launch group - * + * * @return the id for this launch group */ @Override public String getIdentifier() { return getConfigurationElement().getAttribute("id"); //$NON-NLS-1$ - } - + } + /** * Returns the category for this launch group, possibly <code>null</code> - * + * * @return the category for this launch group, possibly <code>null</code> */ @Override public String getCategory() { return getConfigurationElement().getAttribute("category"); //$NON-NLS-1$ } - + /** * Returns the mode for this launch group - * + * * @return the mode for this launch group */ @Override public String getMode() { return getConfigurationElement().getAttribute("mode"); //$NON-NLS-1$ - } - + } + /** * Creates an image descriptor based on the given attribute name - * + * * @param attribute * @return ImageDescriptor */ protected ImageDescriptor createImageDescriptor(String attribute) { return DebugUIPlugin.getImageDescriptor(getConfigurationElement(), attribute); } - + /** * Returns whether this launch group is public - * + * * @return boolean */ @Override |