org.openoffice.ide.eclipse.core.launch.office
Class PackageConfigTab

java.lang.Object
  extended by org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by org.openoffice.ide.eclipse.core.launch.office.PackageConfigTab
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchConfigurationTab

public class PackageConfigTab
extends org.eclipse.debug.ui.AbstractLaunchConfigurationTab

Tab for selecting the content of the package to test.

Author:
Cédric Bosdonnat

Constructor Summary
PackageConfigTab()
           
 
Method Summary
 void createControl(org.eclipse.swt.widgets.Composite pParent)
          
 org.eclipse.swt.graphics.Image getImage()
          
 java.lang.String getName()
          
static java.util.List<org.eclipse.core.resources.IResource> getResources(org.eclipse.debug.core.ILaunchConfiguration pConfiguration)
          Get the selected resources stored in a launch configuration.
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration pConfiguration)
          
 void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy pConfiguration)
          
 void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy pConfiguration)
          
 
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, isValid, 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

PackageConfigTab

public PackageConfigTab()
Method Detail

getResources

public static java.util.List<org.eclipse.core.resources.IResource> getResources(org.eclipse.debug.core.ILaunchConfiguration pConfiguration)
                                                                         throws org.eclipse.core.runtime.CoreException
Get the selected resources stored in a launch configuration.

Parameters:
pConfiguration - the configuration to extract the infos from
Returns:
the list of resources extracted
Throws:
org.eclipse.core.runtime.CoreException - if any of the needed properties is missing in the launch configuration

createControl

public void createControl(org.eclipse.swt.widgets.Composite pParent)


getName

public java.lang.String getName()


getImage

public org.eclipse.swt.graphics.Image getImage()

Specified by:
getImage in interface org.eclipse.debug.ui.ILaunchConfigurationTab
Overrides:
getImage in class org.eclipse.debug.ui.AbstractLaunchConfigurationTab

initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration pConfiguration)


performApply

public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy pConfiguration)


setDefaults

public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy pConfiguration)