Eclipse JDT
Release 3.1

org.eclipse.jdt.debug.ui.launchConfigurations
Class AppletMainTab

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab
          extended by org.eclipse.jdt.debug.ui.launchConfigurations.AppletMainTab
All Implemented Interfaces:
ILaunchConfigurationTab, org.eclipse.jdt.internal.debug.ui.launcher.IEntriesChangedListener

public class AppletMainTab
extends org.eclipse.jdt.internal.debug.ui.launcher.JavaLaunchConfigurationTab

This tab appears for java applet launch configurations and allows the user to edit attributes such as the applet class to launch and its owning project, if any.

This class may be instantiated. This class is not intended to be subclassed.

Since:
2.1

Constructor Summary
AppletMainTab()
           
 
Method Summary
 void activated(ILaunchConfigurationWorkingCopy workingCopy)
           
 void createControl(Composite parent)
           
 void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
           
 void dispose()
           
 Image getImage()
           
 java.lang.String getName()
           
 void initializeFrom(ILaunchConfiguration config)
           
protected  boolean isDefaultAppletViewerClassName()
          Returns whether the default appletviewer is to be used
 boolean isValid(ILaunchConfiguration launchConfig)
           
 void performApply(ILaunchConfigurationWorkingCopy config)
           
protected  void setAppletViewerTextEnabledState()
          Set the appropriate enabled state for the appletviewqer text widget.
 void setDefaults(ILaunchConfigurationWorkingCopy 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
 

Constructor Detail

AppletMainTab

public AppletMainTab()
Method Detail

createControl

public void createControl(Composite parent)
See Also:
ILaunchConfigurationTab.createControl(Composite)

setAppletViewerTextEnabledState

protected void setAppletViewerTextEnabledState()
Set the appropriate enabled state for the appletviewqer text widget.


isDefaultAppletViewerClassName

protected boolean isDefaultAppletViewerClassName()
Returns whether the default appletviewer is to be used


initializeFrom

public void initializeFrom(ILaunchConfiguration config)
See Also:
ILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)

performApply

public void performApply(ILaunchConfigurationWorkingCopy config)
See Also:
ILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)

dispose

public void dispose()
Specified by:
dispose in interface ILaunchConfigurationTab
Overrides:
dispose in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.dispose()

isValid

public boolean isValid(ILaunchConfiguration launchConfig)
Specified by:
isValid in interface ILaunchConfigurationTab
Overrides:
isValid in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.isValid(ILaunchConfiguration)

setDefaults

public void setDefaults(ILaunchConfigurationWorkingCopy config)
See Also:
ILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)

getName

public java.lang.String getName()
See Also:
ILaunchConfigurationTab.getName()

getImage

public Image getImage()
Specified by:
getImage in interface ILaunchConfigurationTab
Overrides:
getImage in class AbstractLaunchConfigurationTab
See Also:
ILaunchConfigurationTab.getImage()

activated

public void activated(ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
activated in interface ILaunchConfigurationTab
Overrides:
activated in class AbstractLaunchConfigurationTab

deactivated

public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
Specified by:
deactivated in interface ILaunchConfigurationTab
Overrides:
deactivated in class AbstractLaunchConfigurationTab

Eclipse JDT
Release 3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.