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
Answertopia.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 JavaApplicationLaunchShortcut


java.lang.Object
  extended by 

org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchShortcut
      extended by 
org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut
All Implemented Interfaces:
ILaunchShortcut, ILaunchShortcut2

public class JavaApplicationLaunchShortcut
extends JavaLaunchShortcut

Launch shortcut for local Java applications.

This class may be instantiated or subclassed.

Since:
3.3

Constructor Summary
JavaApplicationLaunchShortcut ()
           
 
Method Summary
protected   ILaunchConfiguration createConfiguration ( IType type)
          Creates and returns a new configuration based on the specified type.
protected   IType[] findTypes ( Object[] elements, IRunnableContext context)
          Finds and returns the types in the given collection of elements that can be launched.
protected   ILaunchConfigurationType getConfigurationType ()
          Returns the type of configuration this shortcut is applicable to.
protected   String getEditorEmptyMessage ()
          Returns an error message to use when the editor does not contain a type that can be launched.
protected   String getSelectionEmptyMessage ()
          Returns an error message to use when the selection does not contain a type that can be launched.
protected   String getTypeSelectionTitle ()
          Returns a title for a type selection dialog used to prompt the user when there is more than one type that can be launched.
 
Methods inherited from class org.eclipse.jdt.debug.ui.launchConfigurations. JavaLaunchShortcut
chooseConfiguration, chooseType, findLaunchConfiguration, getLaunchableResource, getLaunchableResource, getLaunchConfigurations, getLaunchConfigurations, getShell, launch, launch
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaApplicationLaunchShortcut

public JavaApplicationLaunchShortcut()
Method Detail

createConfiguration

protected 
ILaunchConfiguration createConfiguration(
IType type)
Description copied from class: JavaLaunchShortcut
Creates and returns a new configuration based on the specified type.

Specified by:
createConfiguration in class JavaLaunchShortcut
Parameters:
type - type to create a launch configuration for
Returns:
launch configuration configured to launch the specified type

getConfigurationType

protected 
ILaunchConfigurationType getConfigurationType()
Description copied from class: JavaLaunchShortcut
Returns the type of configuration this shortcut is applicable to.

Specified by:
getConfigurationType in class JavaLaunchShortcut
Returns:
the type of configuration this shortcut is applicable to

findTypes

protected 
IType[] findTypes(
Object[] elements,
                            
IRunnableContext context)
                     throws 
InterruptedException,
                            
CoreException
Description copied from class: JavaLaunchShortcut
Finds and returns the types in the given collection of elements that can be launched.

Specified by:
findTypes in class JavaLaunchShortcut
Parameters:
elements - scope to search for types that can be launched
context - progress reporting context
Returns:
collection of types that can be launched, possibly empty
Throws:
InterruptedException - if the search is canceled
CoreException - if the search fails

getTypeSelectionTitle

protected 
String getTypeSelectionTitle()
Description copied from class: JavaLaunchShortcut
Returns a title for a type selection dialog used to prompt the user when there is more than one type that can be launched.

Specified by:
getTypeSelectionTitle in class JavaLaunchShortcut
Returns:
type selection dialog title

getEditorEmptyMessage

protected 
String getEditorEmptyMessage()
Description copied from class: JavaLaunchShortcut
Returns an error message to use when the editor does not contain a type that can be launched.

Specified by:
getEditorEmptyMessage in class JavaLaunchShortcut
Returns:
error message when editor cannot be launched

getSelectionEmptyMessage

protected 
String getSelectionEmptyMessage()
Description copied from class: JavaLaunchShortcut
Returns an error message to use when the selection does not contain a type that can be launched.

Specified by:
getSelectionEmptyMessage in class JavaLaunchShortcut
Returns:
error message when selection cannot be launched

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