Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

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

java.lang.Object
  extended by 

org.eclipse.debug.ui.AbstractLaunchConfigurationTab
      extended by 
org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchTab
All Implemented Interfaces:
ILaunchConfigurationTab
Direct Known Subclasses:
org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaClasspathTab, org.eclipse.jdt.internal.debug.ui.launcher.AbstractJavaMainTab, AppletParametersTab, JavaArgumentsTab, JavaJRETab, JavaSourceLookupTab

public abstract class JavaLaunchTab
extends AbstractLaunchConfigurationTab

Common function for Java launch configuration tabs.

Clients may subclass this class.

Since:
3.2

Constructor Summary
JavaLaunchTab ()
           
 
Method Summary
protected   IJavaElement getContext ()
          Returns the current Java element context in the active workbench page or null if none.
protected   ILaunchConfiguration getCurrentLaunchConfiguration ()
          Returns the launch configuration this tab was initialized from.
 void initializeFrom ( ILaunchConfiguration config)
           
protected  void initializeJavaProject ( IJavaElement javaElement, ILaunchConfigurationWorkingCopy config)
          Sets the Java project attribute on the given working copy to the Java project associated with the given Java element.
 
Methods inherited from class org.eclipse.debug.ui. AbstractLaunchConfigurationTab
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, deactivated, dispose, getControl, getErrorMessage, getId, getImage, 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
 
Methods inherited from interface org.eclipse.debug.ui. ILaunchConfigurationTab
createControl, getName, performApply, setDefaults
 

Constructor Detail

JavaLaunchTab

public JavaLaunchTab()
Method Detail

getContext

protected 
IJavaElement getContext()
Returns the current Java element context in the active workbench page or null if none.

Returns:
current Java element in the active page or null

getCurrentLaunchConfiguration

protected 
ILaunchConfiguration getCurrentLaunchConfiguration()
Returns the launch configuration this tab was initialized from.

Returns:
launch configuration this tab was initialized from

initializeJavaProject

protected void initializeJavaProject(
IJavaElement javaElement,
                                     
ILaunchConfigurationWorkingCopy config)
Sets the Java project attribute on the given working copy to the Java project associated with the given Java element.

Parameters:
javaElement - Java model element this tab is associated with
config - configuration on which to set the Java project attribute

initializeFrom

public void initializeFrom(
ILaunchConfiguration config)

Eclipse JDT
Release 3.5

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

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire