|
Eclipse JDT Release 3.1 |
|||||||||
| 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.internal.debug.ui.launcher.JavaLaunchConfigurationTab
org.eclipse.jdt.debug.ui.launchConfigurations.JavaConnectTab
public class 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 java.lang.String |
EMPTY_STRING
|
protected Button |
fAllowTerminateButton
|
protected Composite |
fArgumentComposite
|
protected java.util.Map |
fArgumentMap
|
protected IVMConnector |
fConnector
|
protected Combo |
fConnectorCombo
|
protected IVMConnector[] |
fConnectors
|
protected java.util.Map |
fFieldEditorMap
|
protected Button |
fProjButton
|
protected Label |
fProjLabel
|
protected Text |
fProjText
|
| Constructor Summary | |
|---|---|
JavaConnectTab()
|
|
| Method Summary | |
|---|---|
void |
activated(ILaunchConfigurationWorkingCopy workingCopy)
|
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 |
deactivated(ILaunchConfigurationWorkingCopy workingCopy)
|
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 java.lang.String |
getLabel(java.lang.String label)
Adds a colon to the label if required |
java.lang.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, createCheckButton, createPushButton, createRadioButton, createSeparator, 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 java.util.Map fArgumentMap
protected java.util.Map fFieldEditorMap
protected Composite fArgumentComposite
protected IVMConnector fConnector
protected Combo fConnectorCombo
protected IVMConnector[] fConnectors
protected static final java.lang.String EMPTY_STRING
| Constructor Detail |
|---|
public JavaConnectTab()
| Method Detail |
|---|
public void createControl(Composite parent)
createControl in interface ILaunchConfigurationTabILaunchConfigurationTab.createControl(Composite)protected void handleConnectorComboModified()
protected java.lang.String getLabel(java.lang.String label)
public void initializeFrom(ILaunchConfiguration config)
initializeFrom in interface ILaunchConfigurationTabILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)protected void updateProjectFromConfig(ILaunchConfiguration config)
protected void updateAllowTerminateFromConfig(ILaunchConfiguration config)
protected void updateConnectionFromConfig(ILaunchConfiguration config)
public void dispose()
dispose in interface ILaunchConfigurationTabdispose in class AbstractLaunchConfigurationTabILaunchConfigurationTab.dispose()public void performApply(ILaunchConfigurationWorkingCopy config)
performApply in interface ILaunchConfigurationTabILaunchConfigurationTab.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 ILaunchConfigurationTabILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)
protected void initializeName(IJavaElement javaElement,
ILaunchConfigurationWorkingCopy config)
protected void initializeHardCodedDefaults(ILaunchConfigurationWorkingCopy config)
public boolean isValid(ILaunchConfiguration config)
isValid in interface ILaunchConfigurationTabisValid in class AbstractLaunchConfigurationTabILaunchConfigurationTab.isValid(ILaunchConfiguration)public java.lang.String getName()
getName in interface ILaunchConfigurationTabILaunchConfigurationTab.getName()public Image getImage()
getImage in interface ILaunchConfigurationTabgetImage in class AbstractLaunchConfigurationTabILaunchConfigurationTab.getImage()protected IVMConnector getSelectedConnector()
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface IPropertyChangeListenerIPropertyChangeListener.propertyChange(org.eclipse.jface.util.PropertyChangeEvent)public void activated(ILaunchConfigurationWorkingCopy workingCopy)
activated in interface ILaunchConfigurationTabactivated in class AbstractLaunchConfigurationTabpublic void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
deactivated in interface ILaunchConfigurationTabdeactivated in class AbstractLaunchConfigurationTab
|
Eclipse JDT Release 3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||