net.bpelunit.framework.client.eclipse.launch
Class BPELLaunchShortCut

java.lang.Object
  extended by net.bpelunit.framework.client.eclipse.launch.BPELLaunchShortCut
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut

public class BPELLaunchShortCut
extends Object
implements org.eclipse.debug.ui.ILaunchShortcut

Shortcut for starting directly by right-clicking on .bpts files

Version:
$Id$
Author:
Philip Mayer

Constructor Summary
BPELLaunchShortCut()
           
 
Method Summary
protected  org.eclipse.debug.core.ILaunchConfiguration chooseConfiguration(List<?> configList)
          Show a selection dialog that allows the user to choose one of the specified launch configurations.
protected  org.eclipse.debug.core.ILaunchConfiguration createConfiguration(org.eclipse.core.resources.IFile file)
           
protected  org.eclipse.debug.core.ILaunchConfiguration findLaunchConfiguration(org.eclipse.core.resources.IFile file, org.eclipse.debug.core.ILaunchConfigurationType configType)
           
protected  org.eclipse.debug.core.ILaunchConfigurationType getConfigurationType()
           
protected  org.eclipse.debug.core.ILaunchManager getLaunchManager()
           
 void launch(org.eclipse.ui.IEditorPart editor, String mode)
           
 void launch(org.eclipse.jface.viewers.ISelection selection, String mode)
           
protected  void reportError(org.eclipse.core.runtime.CoreException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BPELLaunchShortCut

public BPELLaunchShortCut()
Method Detail

launch

public void launch(org.eclipse.jface.viewers.ISelection selection,
                   String mode)
Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut

launch

public void launch(org.eclipse.ui.IEditorPart editor,
                   String mode)
Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut

findLaunchConfiguration

protected org.eclipse.debug.core.ILaunchConfiguration findLaunchConfiguration(org.eclipse.core.resources.IFile file,
                                                                              org.eclipse.debug.core.ILaunchConfigurationType configType)

chooseConfiguration

protected org.eclipse.debug.core.ILaunchConfiguration chooseConfiguration(List<?> configList)
Show a selection dialog that allows the user to choose one of the specified launch configurations. Return the chosen config, or null if the user cancelled the dialog.


getConfigurationType

protected org.eclipse.debug.core.ILaunchConfigurationType getConfigurationType()

getLaunchManager

protected org.eclipse.debug.core.ILaunchManager getLaunchManager()

createConfiguration

protected org.eclipse.debug.core.ILaunchConfiguration createConfiguration(org.eclipse.core.resources.IFile file)

reportError

protected void reportError(org.eclipse.core.runtime.CoreException exception)


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.