|
Eclipse JDT Release 3.6 |
||||||||||
| 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 org.eclipse.debug.ui.ILaunchConfigurationTab |
fDynamicTab
|
protected org.eclipse.swt.widgets.Composite |
fDynamicTabHolder
|
protected boolean |
fIsInitializing
|
protected org.eclipse.jdt.internal.debug.ui.jres.JREsComboBlock |
fJREBlock
|
protected org.eclipse.debug.core.ILaunchConfiguration |
fLaunchConfiguration
|
protected boolean |
fUseDynamicArea
|
protected org.eclipse.debug.core.ILaunchConfigurationWorkingCopy |
fWorkingCopy
|
| Constructor Summary | |
|---|---|
JavaJRETab()
|
|
| Method Summary | |
|---|---|
void |
activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
void |
deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
|
void |
dispose()
|
protected org.eclipse.jdt.internal.debug.ui.jres.JREDescriptor |
getDefaultJREDescriptor()
|
protected org.eclipse.debug.ui.ILaunchConfigurationTab |
getDynamicTab()
|
protected org.eclipse.swt.widgets.Composite |
getDynamicTabHolder()
|
String |
getErrorMessage()
Overridden here so that any error message in the dynamic UI gets returned. |
String |
getId()
|
org.eclipse.swt.graphics.Image |
getImage()
|
protected IJavaProject |
getJavaProject()
Returns the Java project associated with the current config being edited, or null if none. |
protected org.eclipse.debug.core.ILaunchConfiguration |
getLaunchConfiguration()
|
protected org.eclipse.debug.core.ILaunchConfigurationWorkingCopy |
getLaunchConfigurationWorkingCopy()
|
String |
getName()
|
protected org.eclipse.jdt.internal.debug.ui.jres.JREDescriptor |
getSpecificJREDescriptor()
|
protected org.eclipse.debug.ui.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(org.eclipse.debug.core.ILaunchConfiguration configuration)
|
protected boolean |
isUseDynamicJREArea()
|
boolean |
isValid(org.eclipse.debug.core.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(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
|
protected void |
selectJRE(String typeID,
String vmName)
|
void |
setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
|
protected void |
setDynamicTab(org.eclipse.debug.ui.ILaunchConfigurationTab tab)
|
protected void |
setDynamicTabHolder(org.eclipse.swt.widgets.Composite tabHolder)
|
protected void |
setLaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration launchConfiguration)
|
protected void |
setLaunchConfigurationWorkingCopy(org.eclipse.debug.core.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(org.eclipse.debug.core.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 org.eclipse.debug.ui.AbstractLaunchConfigurationTab |
|---|
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, getControl, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog |
| 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 org.eclipse.debug.ui.ILaunchConfigurationTab fDynamicTab
protected org.eclipse.swt.widgets.Composite fDynamicTabHolder
protected boolean fUseDynamicArea
protected org.eclipse.debug.core.ILaunchConfigurationWorkingCopy fWorkingCopy
protected org.eclipse.debug.core.ILaunchConfiguration fLaunchConfiguration
protected boolean fIsInitializing
protected static final String EMPTY_STRING
| Constructor Detail |
|---|
public JavaJRETab()
| Method Detail |
|---|
public void dispose()
dispose in interface org.eclipse.debug.ui.ILaunchConfigurationTabdispose in class org.eclipse.debug.ui.AbstractLaunchConfigurationTabpublic void createControl(org.eclipse.swt.widgets.Composite parent)
ILaunchConfigurationTab.createControl(Composite)protected void setDynamicTabHolder(org.eclipse.swt.widgets.Composite tabHolder)
protected org.eclipse.swt.widgets.Composite getDynamicTabHolder()
protected void setDynamicTab(org.eclipse.debug.ui.ILaunchConfigurationTab tab)
protected org.eclipse.debug.ui.ILaunchConfigurationTab getDynamicTab()
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy config)
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
initializeFrom in interface org.eclipse.debug.ui.ILaunchConfigurationTabinitializeFrom in class JavaLaunchTabILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration config)
isValid in interface org.eclipse.debug.ui.ILaunchConfigurationTabisValid in class org.eclipse.debug.ui.AbstractLaunchConfigurationTabILaunchConfigurationTab.isValid(ILaunchConfiguration)public String getName()
ILaunchConfigurationTab.getName()public org.eclipse.swt.graphics.Image getImage()
getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTabgetImage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTabILaunchConfigurationTab.getImage()public String getId()
getId in class org.eclipse.debug.ui.AbstractLaunchConfigurationTabAbstractLaunchConfigurationTab.getId()protected void updateJREFromConfig(org.eclipse.debug.core.ILaunchConfiguration config)
ILaunchConfiguration
config - the config to update fromprotected void handleSelectedJREChanged()
protected void selectJRE(String typeID,
String vmName)
protected org.eclipse.debug.ui.ILaunchConfigurationTab getTabForCurrentJRE()
ILaunchConfigurationTab
that is registered against the install type of the currently selected VM.
protected void loadDynamicJREArea()
protected org.eclipse.debug.core.ILaunchConfigurationWorkingCopy getLaunchConfigurationWorkingCopy()
public String getErrorMessage()
getErrorMessage in interface org.eclipse.debug.ui.ILaunchConfigurationTabgetErrorMessage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTabILaunchConfigurationTab.getErrorMessage()protected void setLaunchConfigurationWorkingCopy(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
protected org.eclipse.debug.core.ILaunchConfiguration getLaunchConfiguration()
protected void setLaunchConfiguration(org.eclipse.debug.core.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(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
activated in interface org.eclipse.debug.ui.ILaunchConfigurationTabactivated in class org.eclipse.debug.ui.AbstractLaunchConfigurationTabpublic void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
deactivated in interface org.eclipse.debug.ui.ILaunchConfigurationTabdeactivated in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
|
Eclipse JDT Release 3.6 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.