public abstract class JavaLaunchTab extends AbstractLaunchConfigurationTab
Clients may subclass this class.
Constructor and Description |
---|
JavaLaunchTab() |
Modifier and Type | Method and Description |
---|---|
protected IJavaElement |
getContext()
Returns the current Java element context in the active workbench page
or
null if none. |
protected ILaunchConfiguration |
getCurrentLaunchConfiguration()
Returns the launch configuration this tab was initialized from.
|
void |
initializeFrom(ILaunchConfiguration config) |
protected void |
initializeJavaProject(IJavaElement javaElement,
ILaunchConfigurationWorkingCopy config)
Sets the Java project attribute on the given working copy to the Java project
associated with the given Java element.
|
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getHelpContextId, getId, getImage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, isValid, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createControl, getName, performApply, setDefaults
protected IJavaElement getContext()
null
if none.null
protected ILaunchConfiguration getCurrentLaunchConfiguration()
protected void initializeJavaProject(IJavaElement javaElement, ILaunchConfigurationWorkingCopy config)
javaElement
- Java model element this tab is associated withconfig
- configuration on which to set the Java project attributepublic void initializeFrom(ILaunchConfiguration config)
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.