first version of external tools
[phpeclipse.git] / net.sourceforge.phpeclipse / plugin.xml
index 40c6b18..58d7d90 100644 (file)
@@ -16,6 +16,7 @@
       <import plugin="org.eclipse.ui"/>
       <import plugin="org.eclipse.help"/>
       <import plugin="org.eclipse.swt"/>
+      <import plugin="org.eclipse.debug.core"/>
       <import plugin="org.eclipse.debug.ui"/>
       <import plugin="org.apache.xerces"/>
       <import plugin="org.eclipse.update.ui"/>
@@ -799,4 +800,210 @@ Temporarily replaced until errors can be ironed out...
       </acceleratorSet>
    </extension>
 
+<!-- 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/externaltools/full/dtool16/external_tools.gif"
+                               icon="icons/externaltools/full/etool16/external_tools.gif"
+                               hoverIcon="icons/externaltools/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/externaltools/full/dtool16/external_tools.gif"
+                               icon="icons/externaltools/full/etool16/external_tools.gif"
+                               hoverIcon="icons/externaltools/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.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/externaltools/full/obj16/external_tools.gif">
+               </launchConfigurationTypeImage> 
+               <launchConfigurationTypeImage
+                       id="net.sourceforge.phpdt.externaltools.launchConfigurationTypeImage.program.builder"
+                       configTypeID="net.sourceforge.phpdt.externaltools.ProgramBuilderLaunchConfigurationType"
+                       icon="icons/externaltools/full/obj16/external_tools.gif">
+               </launchConfigurationTypeImage> 
+       </extension>
+
+       <!-- Variable Extensions -->
+       <extension point="net.sourceforge.phpeclipse.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.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="localhost_loc"
+                       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.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.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>