|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.ui.AbstractLaunchConfigurationTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaJRETab
public class JavaJRETab
A launch configuration tab that displays and edits the VM install launch configuration attributes.
This class may be instantiated.
Field Summary | |
---|---|
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 Summary | |
---|---|
JavaJRETab()
|
Method Summary | |
---|---|
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. |
String |
getId()
|
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)
This method updates the jre selection from the ILaunchConfiguration |
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab |
---|
getContext, getCurrentLaunchConfiguration, initializeJavaProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected 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
Constructor Detail |
---|
public JavaJRETab()
Method Detail |
---|
public void dispose()
dispose
in interface ILaunchConfigurationTab
dispose
in class AbstractLaunchConfigurationTab
public void createControl(Composite parent)
ILaunchConfigurationTab.createControl(Composite)
protected void setDynamicTabHolder(Composite tabHolder)
protected Composite getDynamicTabHolder()
protected void setDynamicTab(ILaunchConfigurationTab tab)
protected ILaunchConfigurationTab getDynamicTab()
public void setDefaults(ILaunchConfigurationWorkingCopy config)
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)
public void initializeFrom(ILaunchConfiguration configuration)
initializeFrom
in interface ILaunchConfigurationTab
initializeFrom
in class JavaLaunchTab
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)
public void performApply(ILaunchConfigurationWorkingCopy configuration)
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)
public boolean isValid(ILaunchConfiguration config)
isValid
in interface ILaunchConfigurationTab
isValid
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.isValid(ILaunchConfiguration)
public String getName()
ILaunchConfigurationTab.getName()
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.getImage()
public String getId()
getId
in class AbstractLaunchConfigurationTab
AbstractLaunchConfigurationTab.getId()
protected void updateJREFromConfig(ILaunchConfiguration config)
ILaunchConfiguration
config
- the config to update fromprotected void handleSelectedJREChanged()
protected void selectJRE(String typeID, String vmName)
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 ILaunchConfigurationTab
getErrorMessage
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.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.
null
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated
in interface ILaunchConfigurationTab
activated
in class AbstractLaunchConfigurationTab
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
deactivated
in interface ILaunchConfigurationTab
deactivated
in class AbstractLaunchConfigurationTab
|
Eclipse JDT Release 3.7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.