Created a separated 'externaltools' plugin: initial check-in
[phpeclipse.git] / net.sourceforge.phpeclipse.externaltools / plugin.xml
diff --git a/net.sourceforge.phpeclipse.externaltools/plugin.xml b/net.sourceforge.phpeclipse.externaltools/plugin.xml
new file mode 100644 (file)
index 0000000..b570732
--- /dev/null
@@ -0,0 +1,246 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin
+   id="net.sourceforge.phpeclipse.externaltools"
+   name="ExternalTools Plug-in"
+   version="1.1.5"
+   provider-name="phpeclipse.de"
+   class="net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin">
+
+   <runtime>
+      <library name="externaltools.jar">
+         <export name="*"/>
+      </library>
+   </runtime>
+
+   <requires>
+      <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.core.resources"/>
+      <import plugin="org.eclipse.core.runtime"/>
+      <import plugin="org.eclipse.debug.core"/>
+      <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="org.eclipse.ui.externaltools"/>
+      <import plugin="net.sourceforge.phpeclipse"/>
+      <import plugin="net.sourceforge.phpeclipse.ui"/>
+   </requires>
+
+
+<!-- external tools -->
+
+<!-- extension point definitions -->
+       <extension-point id="configurationDuplicationMaps" name="%ExtPoint.configurationDuplicationMaps"/>
+       <extension-point id="argumentVariables" name="%ExtPoint.argumentVariables"/>
+       <extension-point id="directoryVariables" name="%ExtPoint.directoryVariables"/>
+       <extension-point id="fileVariables" name="%ExtPoint.fileVariables"/>
+       <extension-point id="refreshVariables" name="%ExtPoint.refreshVariables"/>
+       
+<!-- Extensions -->
+       <extension point="org.eclipse.ui.actionSets">
+               <actionSet
+                       id="net.sourceforge.phpdt.externaltools.ExternalToolsSet"
+                       label="%ActionSet.externalTools"
+                       visible="true">
+                       <menu id="org.eclipse.ui.run" 
+                               label="%Menu.run" 
+                               path="additions"> 
+                               <separator name="ExternalToolsGroup"/> 
+                       </menu> 
+       <!--            <action
+                               id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateMenu"
+                               label="%Action.externalTools"
+                               menubarPath="org.eclipse.ui.run/ExternalToolsGroup"
+                               disabledIcon="icons/full/dtool16/external_tools.gif"
+                               icon="icons/full/etool16/external_tools.gif"
+                               hoverIcon="icons/full/ctool16/external_tools.gif"
+                               pulldown="true"
+                               class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
+                       </action> 
+                       <action
+                               id="net.sourceforge.phpdt.externaltools.ExternalToolMenuDelegateToolbar"
+                               label="%Action.externalTools"
+                               toolbarPath="Normal/additions"
+                               disabledIcon="icons/full/dtool16/external_tools.gif"
+                               icon="icons/full/etool16/external_tools.gif"
+                               hoverIcon="icons/full/ctool16/external_tools.gif"
+                               tooltip="%Action.externalToolsTip"
+                               pulldown="true"
+                               class="net.sourceforge.phpdt.externaltools.internal.menu.ExternalToolMenuDelegate">
+                       </action> -->
+               </actionSet>
+       </extension>
+
+    <!-- Launch Configuration Extensions -->
+    <extension point="org.eclipse.debug.core.launchConfigurationTypes">
+       <launchConfigurationType
+               id = "net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
+               name = "%Program.externalTools"
+               delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
+               modes = "run"
+               category = "org.eclipse.ui.externaltools">
+       </launchConfigurationType>
+       <launchConfigurationType
+               id = "net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
+               name = "%Program.externalTools"
+               delegate = "net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramLaunchDelegate"
+               modes = "run"
+               category = "org.eclipse.ui.externaltools.builder">
+       </launchConfigurationType>
+    </extension>
+    
+    <extension point = "net.sourceforge.phpeclipse.externaltools.configurationDuplicationMaps">
+       <configurationMap
+               sourceType="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
+               builderType="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType">
+       </configurationMap>
+    </extension>
+    
+    <extension point = "org.eclipse.debug.ui.launchConfigurationTabGroups">
+               <launchConfigurationTabGroup
+                       id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program"
+                       type ="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
+                       class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramTabGroup">
+               </launchConfigurationTabGroup>
+               <launchConfigurationTabGroup
+                       id="net.sourceforge.phpdt.externaltools.launchConfigurationTabGroup.program.builder"
+                       type ="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
+                       class="net.sourceforge.phpdt.externaltools.internal.program.launchConfigurations.ProgramBuilderTabGroup">
+               </launchConfigurationTabGroup>
+       </extension>
+       
+       <extension point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+               <launchConfigurationTypeImage
+                       id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program"
+                       configTypeID="net.sourceforge.phpdt.externaltools.ProgramLaunchConfigurationType"
+                       icon="icons/full/obj16/external_tools.gif">
+               </launchConfigurationTypeImage> 
+               <launchConfigurationTypeImage
+                       id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
+                       configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
+                       icon="icons/full/obj16/external_tools.gif">
+               </launchConfigurationTypeImage> 
+       </extension>
+       <!-- Variable Extensions --> 
+       <extension point="net.sourceforge.phpeclipse.externaltools.fileVariables">
+               <variable
+                       tag="workspace_loc"
+                       description="Expands to the workspace root's absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
+               </variable>
+               <variable
+                       tag="resource_loc"
+                       description="Expands to the resource's absolute file system path."
+                       componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
+               </variable>
+       </extension>
+       
+       <extension point="net.sourceforge.phpeclipse.externaltools.argumentVariables">
+               <variable
+                       tag="workspace_loc"
+                       description="Expands to the workspace root's absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
+               </variable>
+               <variable
+                       tag="file_loc"
+                       description="Expands to the full file name"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.FileExpander">
+               </variable>
+               <variable
+                       tag="file_url"
+                       description="Expands to an URL with the localhost preference settings"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.UrlExpander">
+               </variable>
+               <variable
+                       tag="localhost_url"
+                       description="Expands to the localhost preference settings."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.LocalhostExpander">
+               </variable>
+               <variable
+                       tag="project_loc"
+                       description="Expands to the selected resource's project absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
+               </variable>
+               <variable
+                       tag="project_path"
+                       description="Expands to the full path, relative to the workspace root, of the selected project"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectExpander">
+               </variable>
+               <variable
+                       tag="project_name"
+                       description="Expands to the name of the selected project"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ProjectNameExpander">
+               </variable>
+               <variable
+                       tag="resource_loc"
+                       description="Expands to the resource's absolute file system path."
+                       componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFileResourceComponent"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
+               </variable>
+               <variable
+                       tag="container_loc"
+                       description="Expands to the selected resource's containing folder absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
+               </variable>
+               <variable
+                       tag="build_type"
+                       description="Expands to the type of build"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.BuildTypeExpander">
+               </variable>
+       </extension>
+
+       <extension point="net.sourceforge.phpeclipse.externaltools.directoryVariables">
+               <variable
+                       tag="workspace_loc"
+                       description="Expands to the workspace root's absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
+               </variable>
+               <variable
+                       tag="project_loc"
+                       description="Expands to the selected resource's project absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
+               </variable>
+               <variable
+                       tag="container_loc"
+                       description="Expands to the selected resource's containing folder absolute file system path."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
+               </variable>
+               <variable
+                       tag="resource_loc"
+                       description="Expands to a resource's absolute file system path."
+                       componentClass="net.sourceforge.phpdt.externaltools.variable.SpecificFolderResourceComponent"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
+               </variable>
+       </extension>
+       <extension point="net.sourceforge.phpeclipse.externaltools.refreshVariables">
+               <variable
+                       tag="workspace"
+                       description="Expands to the workspace root."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkspaceExpander">
+               </variable>
+               <variable
+                       tag="project"
+                       description="Expands to the project of the selected resource."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceProjectExpander">
+               </variable>
+               <variable
+                       tag="container"
+                       description="Expands to the folder containing the selected resource."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceContainerExpander">
+               </variable>
+               <variable
+                       tag="resource"
+                       description="Expands to a resource."
+                       componentClass="net.sourceforge.phpdt.externaltools.variable.ResourceComponent"
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.ResourceExpander">
+               </variable>
+               <variable
+                       tag="working_set"
+                       description="Expands to the group of resources in a working set."
+                       expanderClass="net.sourceforge.phpdt.externaltools.variable.WorkingSetExpander">
+               </variable>
+       </extension>
+       
+</plugin>