public class JavaJRETab extends JavaLaunchTab
This class may be instantiated. This class is not intended to be subclassed.
| Modifier and Type | Field and Description |
|---|---|
protected static String |
EMPTY_STRING |
protected ILaunchConfigurationTab |
fDynamicTab |
protected Composite |
fDynamicTabHolder |
protected boolean |
fIsInitializing |
protected org.eclipse.jdt.internal.debug.ui.jres.JREsComboBlock |
fJREBlock |
protected ILaunchConfiguration |
fLaunchConfiguration |
protected boolean |
fUseDynamicArea |
protected ILaunchConfigurationWorkingCopy |
fWorkingCopy |
| Constructor and Description |
|---|
JavaJRETab() |
| Modifier and Type | Method and Description |
|---|---|
void |
activated(ILaunchConfigurationWorkingCopy workingCopy) |
void |
createControl(Composite parent) |
void |
deactivated(ILaunchConfigurationWorkingCopy workingCopy) |
void |
dispose() |
protected org.eclipse.jdt.internal.debug.ui.jres.JREDescriptor |
getDefaultJREDescriptor() |
protected ILaunchConfigurationTab |
getDynamicTab() |
protected Composite |
getDynamicTabHolder() |
String |
getErrorMessage()
Overridden here so that any error message in the dynamic UI gets returned.
|
Image |
getImage() |
protected IJavaProject |
getJavaProject()
Returns the Java project associated with the current config being edited,
or
null if none. |
protected ILaunchConfiguration |
getLaunchConfiguration() |
protected ILaunchConfigurationWorkingCopy |
getLaunchConfigurationWorkingCopy() |
String |
getName() |
protected org.eclipse.jdt.internal.debug.ui.jres.JREDescriptor |
getSpecificJREDescriptor() |
protected ILaunchConfigurationTab |
getTabForCurrentJRE()
Return the class that implements
ILaunchConfigurationTab
that is registered against the install type of the currently selected VM. |
protected void |
handleSelectedJREChanged()
Notification that the user changed the selection in the JRE combination box.
|
void |
initializeFrom(ILaunchConfiguration configuration) |
protected boolean |
isUseDynamicJREArea() |
boolean |
isValid(ILaunchConfiguration config) |
protected void |
loadDynamicJREArea()
Show the contributed piece of UI that was registered for the install type
of the currently selected VM.
|
void |
performApply(ILaunchConfigurationWorkingCopy configuration) |
protected void |
selectJRE(String typeID,
String vmName) |
void |
setDefaults(ILaunchConfigurationWorkingCopy config) |
protected void |
setDynamicTab(ILaunchConfigurationTab tab) |
protected void |
setDynamicTabHolder(Composite tabHolder) |
protected void |
setLaunchConfiguration(ILaunchConfiguration launchConfiguration) |
protected void |
setLaunchConfigurationWorkingCopy(ILaunchConfigurationWorkingCopy workingCopy) |
void |
setVMSpecificArgumentsVisible(boolean visible)
Sets whether this tab will display the VM specific arguments area
if a JRE supports VM specific arguments.
|
protected void |
updateJREFromConfig(ILaunchConfiguration config) |
getContext, getCurrentLaunchConfiguration, initializeJavaProjectcanSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, getControl, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialogprotected org.eclipse.jdt.internal.debug.ui.jres.JREsComboBlock fJREBlock
protected ILaunchConfigurationTab fDynamicTab
protected Composite fDynamicTabHolder
protected boolean fUseDynamicArea
protected ILaunchConfigurationWorkingCopy fWorkingCopy
protected ILaunchConfiguration fLaunchConfiguration
protected boolean fIsInitializing
protected static final String EMPTY_STRING
public void dispose()
dispose in interface ILaunchConfigurationTabdispose in class AbstractLaunchConfigurationTabpublic void createControl(Composite parent)
protected void setDynamicTabHolder(Composite tabHolder)
protected Composite getDynamicTabHolder()
protected void setDynamicTab(ILaunchConfigurationTab tab)
protected ILaunchConfigurationTab getDynamicTab()
public void setDefaults(ILaunchConfigurationWorkingCopy config)
public void initializeFrom(ILaunchConfiguration configuration)
initializeFrom in interface ILaunchConfigurationTabinitializeFrom in class JavaLaunchTabILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)public void performApply(ILaunchConfigurationWorkingCopy configuration)
public boolean isValid(ILaunchConfiguration config)
isValid in interface ILaunchConfigurationTabisValid in class AbstractLaunchConfigurationTabILaunchConfigurationTab.isValid(ILaunchConfiguration)public String getName()
ILaunchConfigurationTab.getName()public Image getImage()
getImage in interface ILaunchConfigurationTabgetImage in class AbstractLaunchConfigurationTabILaunchConfigurationTab.getImage()protected void updateJREFromConfig(ILaunchConfiguration config)
protected void handleSelectedJREChanged()
protected ILaunchConfigurationTab getTabForCurrentJRE()
ILaunchConfigurationTab
that is registered against the install type of the currently selected VM.protected void loadDynamicJREArea()
protected ILaunchConfigurationWorkingCopy getLaunchConfigurationWorkingCopy()
public String getErrorMessage()
getErrorMessage in interface ILaunchConfigurationTabgetErrorMessage in class AbstractLaunchConfigurationTabILaunchConfigurationTab.getErrorMessage()protected void setLaunchConfigurationWorkingCopy(ILaunchConfigurationWorkingCopy workingCopy)
protected ILaunchConfiguration getLaunchConfiguration()
protected void setLaunchConfiguration(ILaunchConfiguration launchConfiguration)
public void setVMSpecificArgumentsVisible(boolean visible)
visible - whether this tab will display the VM specific arguments area
if a JRE supports VM specific argumentsprotected boolean isUseDynamicJREArea()
protected org.eclipse.jdt.internal.debug.ui.jres.JREDescriptor getDefaultJREDescriptor()
protected org.eclipse.jdt.internal.debug.ui.jres.JREDescriptor getSpecificJREDescriptor()
protected IJavaProject getJavaProject()
null if none.nullpublic void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated in interface ILaunchConfigurationTabactivated in class AbstractLaunchConfigurationTabpublic void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
deactivated in interface ILaunchConfigurationTabdeactivated in class AbstractLaunchConfigurationTabCopyright (c) IBM Corp. and others 2000, 2006. All Rights Reserved.