Class AppletParametersTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
-
- org.eclipse.jdt.debug.ui.launchConfigurations.AppletParametersTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider,ILaunchConfigurationTab,ILaunchConfigurationTab2
public class AppletParametersTab extends JavaLaunchTab
This tab appears for java applet launch configurations and allows the user to edit applet-specific attributes such as width, height, name & applet parameters.This class may be instantiated.
- Since:
- 2.1
- Restriction:
- This class is not intended to be sub-classed by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_APPLET_HEIGHTThe default value for the 'height' attribute.static intDEFAULT_APPLET_WIDTHThe default value for the 'width' attribute.
-
Constructor Summary
Constructors Constructor Description AppletParametersTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated(ILaunchConfigurationWorkingCopy workingCopy)voidcreateControl(Composite parent)voiddeactivated(ILaunchConfigurationWorkingCopy workingCopy)StringgetId()ImagegetImage()StringgetName()voidinitializeFrom(ILaunchConfiguration config)booleanisValid(ILaunchConfiguration launchConfig)voidperformApply(ILaunchConfigurationWorkingCopy configuration)voidsetDefaults(ILaunchConfigurationWorkingCopy configuration)-
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
getContext, getCurrentLaunchConfiguration, initializeAttributes, initializeJavaProject
-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, dispose, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, isDirty, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
-
-
-
Field Detail
-
DEFAULT_APPLET_WIDTH
public static final int DEFAULT_APPLET_WIDTH
The default value for the 'width' attribute.- See Also:
- Constant Field Values
-
DEFAULT_APPLET_HEIGHT
public static final int DEFAULT_APPLET_HEIGHT
The default value for the 'height' attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
-
isValid
public boolean isValid(ILaunchConfiguration launchConfig)
- Specified by:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classAbstractLaunchConfigurationTab- See Also:
ILaunchConfigurationTab.isValid(ILaunchConfiguration)
-
performApply
public void performApply(ILaunchConfigurationWorkingCopy configuration)
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy configuration)
-
initializeFrom
public void initializeFrom(ILaunchConfiguration config)
- Specified by:
initializeFromin interfaceILaunchConfigurationTab- Overrides:
initializeFromin classJavaLaunchTab- See Also:
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)
-
getName
public String getName()
- See Also:
ILaunchConfigurationTab.getName()
-
getId
public String getId()
- Overrides:
getIdin classAbstractLaunchConfigurationTab- Since:
- 3.3
- See Also:
AbstractLaunchConfigurationTab.getId()
-
getImage
public Image getImage()
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classAbstractLaunchConfigurationTab- See Also:
ILaunchConfigurationTab.getImage()
-
activated
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classAbstractLaunchConfigurationTab
-
deactivated
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
deactivatedin interfaceILaunchConfigurationTab- Overrides:
deactivatedin classAbstractLaunchConfigurationTab
-
-