|
Eclipse JDT 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.debug.ui.AbstractLaunchConfigurationTab | +--org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab | +--org.eclipse.jdt.debug.ui.launchConfigurations.JavaConnectTab
A launch configuration tab that displays and edits the project associated with a remote connection and the connector used to connect to a remote VM.
This class may be instantiated. This class is not intended to be subclassed.
Field Summary | |
protected static String |
EMPTY_STRING
|
protected Button |
fAllowTerminateButton
|
protected Composite |
fArgumentComposite
|
protected Map |
fArgumentMap
|
protected IVMConnector |
fConnector
|
protected Combo |
fConnectorCombo
|
protected IVMConnector[] |
fConnectors
|
protected Map |
fFieldEditorMap
|
protected Button |
fProjButton
|
protected Label |
fProjLabel
|
protected Text |
fProjText
|
Constructor Summary | |
JavaConnectTab()
|
Method Summary | |
protected IJavaProject |
chooseJavaProject()
Realize a Java Project selection dialog and return the first selected project, or null if there was none. |
void |
createControl(Composite parent)
|
void |
dispose()
|
Image |
getImage()
|
protected IJavaProject |
getJavaProject()
Return the IJavaProject corresponding to the project name in the project name text field, or null if the text does not match a project name. |
protected String |
getLabel(String label)
Adds a colon to the label if required |
String |
getName()
|
protected IVMConnector |
getSelectedConnector()
Returns the selected connector |
protected void |
handleConnectorComboModified()
Update the argument area to show the selected connector's arguments |
protected void |
handleProjectButtonSelected()
Show a dialog that lets the user select a project. |
protected void |
initializeDefaults(IJavaElement javaElement,
ILaunchConfigurationWorkingCopy config)
Initialize default settings for the given Java element |
void |
initializeFrom(ILaunchConfiguration config)
|
protected void |
initializeHardCodedDefaults(ILaunchConfigurationWorkingCopy config)
Initialize those attributes whose default values are independent of any context. |
protected void |
initializeName(IJavaElement javaElement,
ILaunchConfigurationWorkingCopy config)
Find the first instance of a type, compilation unit, class file or project in the specified element's parental hierarchy, and use this as the default name. |
boolean |
isValid(ILaunchConfiguration config)
|
void |
performApply(ILaunchConfigurationWorkingCopy config)
|
void |
propertyChange(PropertyChangeEvent event)
|
void |
setDefaults(ILaunchConfigurationWorkingCopy config)
|
protected void |
updateAllowTerminateFromConfig(ILaunchConfiguration config)
|
protected void |
updateConnectionFromConfig(ILaunchConfiguration config)
|
protected void |
updateProjectFromConfig(ILaunchConfiguration config)
|
Methods inherited from class org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab |
entriesChanged, getContext, initializeJavaProject |
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab |
canSave, createPushButton, createRadioButton, createVerticalSpacer, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, 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 Label fProjLabel
protected Text fProjText
protected Button fProjButton
protected Button fAllowTerminateButton
protected Map fArgumentMap
protected Map fFieldEditorMap
protected Composite fArgumentComposite
protected IVMConnector fConnector
protected Combo fConnectorCombo
protected IVMConnector[] fConnectors
protected static final String EMPTY_STRING
Constructor Detail |
public JavaConnectTab()
Method Detail |
public void createControl(Composite parent)
createControl
in interface ILaunchConfigurationTab
createControl
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.createControl(Composite)
protected void handleConnectorComboModified()
protected String getLabel(String label)
public void initializeFrom(ILaunchConfiguration config)
initializeFrom
in interface ILaunchConfigurationTab
initializeFrom
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)
protected void updateProjectFromConfig(ILaunchConfiguration config)
protected void updateAllowTerminateFromConfig(ILaunchConfiguration config)
protected void updateConnectionFromConfig(ILaunchConfiguration config)
public void dispose()
dispose
in interface ILaunchConfigurationTab
dispose
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.dispose()
public void performApply(ILaunchConfigurationWorkingCopy config)
performApply
in interface ILaunchConfigurationTab
performApply
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)
protected void handleProjectButtonSelected()
protected IJavaProject chooseJavaProject()
protected IJavaProject getJavaProject()
protected void initializeDefaults(IJavaElement javaElement, ILaunchConfigurationWorkingCopy config)
public void setDefaults(ILaunchConfigurationWorkingCopy config)
setDefaults
in interface ILaunchConfigurationTab
setDefaults
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)
protected void initializeName(IJavaElement javaElement, ILaunchConfigurationWorkingCopy config)
protected void initializeHardCodedDefaults(ILaunchConfigurationWorkingCopy config)
public boolean isValid(ILaunchConfiguration config)
isValid
in interface ILaunchConfigurationTab
isValid
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.isValid(ILaunchConfiguration)
public String getName()
getName
in interface ILaunchConfigurationTab
getName
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.getName()
public Image getImage()
getImage
in interface ILaunchConfigurationTab
getImage
in class AbstractLaunchConfigurationTab
ILaunchConfigurationTab.getImage()
protected IVMConnector getSelectedConnector()
public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface IPropertyChangeListener
IPropertyChangeListener.propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
|
Eclipse JDT 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |