org.apache.commons.jelly.eclipse.ui
Class JellyLauncherShortcutImpl

java.lang.Object
  extended byorg.apache.commons.jelly.eclipse.ui.JellyLauncherShortcutImpl
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut

public class JellyLauncherShortcutImpl
extends java.lang.Object
implements org.eclipse.debug.ui.ILaunchShortcut

Launcher shortcut implementation for the Eclipse 3 platform

Since:
0.9
Author:
Juergen Mayrbaeurl

Constructor Summary
JellyLauncherShortcutImpl()
          Default constructor
 
Method Summary
 void launch(org.eclipse.ui.IEditorPart arg0, java.lang.String arg1)
           
 void launch(org.eclipse.jface.viewers.ISelection selection, java.lang.String mode)
           
protected  void searchAndLaunch(java.lang.Object[] search, java.lang.String mode)
          Launches the first entry in the search array of IFile entries
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JellyLauncherShortcutImpl

public JellyLauncherShortcutImpl()
Default constructor

Method Detail

launch

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

searchAndLaunch

protected void searchAndLaunch(java.lang.Object[] search,
                               java.lang.String mode)
Launches the first entry in the search array of IFile entries

Parameters:
search - array of IFile entries (selected project Jelly script file)
mode - run or debug (selected by user)

launch

public void launch(org.eclipse.ui.IEditorPart arg0,
                   java.lang.String arg1)
Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut


Copyright © 2004 Juergen Mayrbaeurl. All Rights Reserved.