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

java.lang.Object
  extended by org.openoffice.ide.eclipse.core.launch.office.OfficeLaunchShortcut
All Implemented Interfaces:
org.eclipse.debug.ui.ILaunchShortcut

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

Class launching the selected uno project as a LibreOffice extension.

Author:
Cedric Bosdonnat

Constructor Summary
OfficeLaunchShortcut()
           
 
Method Summary
protected  java.util.List<org.eclipse.debug.core.ILaunchConfiguration> findExistingLaunchConfigurations(IUnoidlProject pProject)
          COPIED/MODIFIED from AntLaunchShortcut Returns a list of existing launch configuration for the given file.
 void launch(org.eclipse.ui.IEditorPart pEditor, java.lang.String pMode)
          
 void launch(org.eclipse.jface.viewers.ISelection pSelection, java.lang.String pMode)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfficeLaunchShortcut

public OfficeLaunchShortcut()
Method Detail

launch

public void launch(org.eclipse.jface.viewers.ISelection pSelection,
                   java.lang.String pMode)

Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut

launch

public void launch(org.eclipse.ui.IEditorPart pEditor,
                   java.lang.String pMode)

Specified by:
launch in interface org.eclipse.debug.ui.ILaunchShortcut

findExistingLaunchConfigurations

protected java.util.List<org.eclipse.debug.core.ILaunchConfiguration> findExistingLaunchConfigurations(IUnoidlProject pProject)
COPIED/MODIFIED from AntLaunchShortcut Returns a list of existing launch configuration for the given file.

Parameters:
pProject - the UNO project for which to look for existing launch configurations
Returns:
the list of the matching launch configurations