mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Initial checkin of unified hierarchy of WPILib 2015
This commit is contained in:
190
eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/plugin.xml
Normal file
190
eclipse-plugins/edu.wpi.first.wpilib.plugins.cpp/plugin.xml
Normal file
@@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?eclipse version="3.4"?>
|
||||
<plugin>
|
||||
<extension
|
||||
point="org.eclipse.ui.newWizards">
|
||||
<category
|
||||
name="WPILib Robot C++ Development"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp">
|
||||
</category>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.newproject.NewCPPWizard"
|
||||
finalPerspective="org.eclipse.cdt.ui.CPerspective"
|
||||
icon="resources/icons/wpi.ico"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.newproject.NewCPPWizard"
|
||||
name="Robot C++ Project"
|
||||
project="true">
|
||||
</wizard>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.examples.ExampleCPPWizard"
|
||||
icon="resources/icons/wpi.ico"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.examples.ExampleWizard"
|
||||
name="Example Robot C++ Project"
|
||||
project="true">
|
||||
</wizard>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.CommandWizard"
|
||||
icon="resources/icons/Command.png"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.CommandWizard"
|
||||
name="Command">
|
||||
</wizard>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.CommandGroupWizard"
|
||||
icon="resources/icons/CommandGroup.png"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.CommandGroupWizard"
|
||||
name="CommandGroup">
|
||||
</wizard>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.SubsystemWizard"
|
||||
icon="resources/icons/Subsystem.png"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.SubsystemWizard"
|
||||
name="Subsytem">
|
||||
</wizard>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.PIDSubsystemWizard"
|
||||
icon="resources/icons/PIDSubsystem.png"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.PIDSubsystemWizard"
|
||||
name="PIDSubsystem">
|
||||
</wizard>
|
||||
<wizard
|
||||
category="edu.wpi.first.wpilib.plugins.cpp"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.TriggerWizard"
|
||||
icon="resources/icons/Button.png"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.TriggerWizard"
|
||||
name="Trigger">
|
||||
</wizard>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.navigator.navigatorContent">
|
||||
<commonWizard
|
||||
menuGroupId="edu.wpi.first.wpilib.plugins.cpp"
|
||||
type="new"
|
||||
wizardId="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.CommandWizard">
|
||||
<enablement>
|
||||
<with
|
||||
variable="activeWorkbenchWindow.activePerspective">
|
||||
<equals
|
||||
value="org.eclipse.cdt.ui.CPerspective">
|
||||
</equals>
|
||||
</with>
|
||||
</enablement>
|
||||
</commonWizard>
|
||||
<commonWizard
|
||||
menuGroupId="edu.wpi.first.wpilib.plugins.cpp"
|
||||
type="new"
|
||||
wizardId="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.CommandGroupWizard">
|
||||
<enablement>
|
||||
<with
|
||||
variable="activeWorkbenchWindow.activePerspective">
|
||||
<equals
|
||||
value="org.eclipse.cdt.ui.CPerspective">
|
||||
</equals>
|
||||
</with>
|
||||
</enablement>
|
||||
</commonWizard>
|
||||
<commonWizard
|
||||
menuGroupId="edu.wpi.first.wpilib.plugins.cpp"
|
||||
type="new"
|
||||
wizardId="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.SubsystemWizard">
|
||||
<enablement>
|
||||
<with
|
||||
variable="activeWorkbenchWindow.activePerspective">
|
||||
<equals
|
||||
value="org.eclipse.cdt.ui.CPerspective">
|
||||
</equals>
|
||||
</with>
|
||||
</enablement>
|
||||
</commonWizard>
|
||||
<commonWizard
|
||||
menuGroupId="edu.wpi.first.wpilib.plugins.cpp"
|
||||
type="new"
|
||||
wizardId="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.PIDSubsystemWizard">
|
||||
<enablement>
|
||||
<with
|
||||
variable="activeWorkbenchWindow.activePerspective">
|
||||
<equals
|
||||
value="org.eclipse.cdt.ui.CPerspective">
|
||||
</equals>
|
||||
</with>
|
||||
</enablement>
|
||||
</commonWizard>
|
||||
<commonWizard
|
||||
menuGroupId="edu.wpi.first.wpilib.plugins.cpp"
|
||||
type="new"
|
||||
wizardId="edu.wpi.first.wpilib.plugins.cpp.wizards.file_template.TriggerWizard">
|
||||
<enablement>
|
||||
<with
|
||||
variable="activeWorkbenchWindow.activePerspective">
|
||||
<equals
|
||||
value="org.eclipse.cdt.ui.CPerspective">
|
||||
</equals>
|
||||
</with>
|
||||
</enablement>
|
||||
</commonWizard>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
category="edu.wpi.first.wpilib.plugins.core.preferences.WPILibPreferencePage"
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.preferences.CPPPreferencePage"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.preferences.CPPPreferencePage"
|
||||
name="C++ Preferences">
|
||||
</page>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.core.runtime.preferences">
|
||||
<initializer
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.preferences.PreferenceInitializer">
|
||||
</initializer>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.launchShortcuts">
|
||||
<shortcut
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.launching.DeployLaunchShortcut"
|
||||
description="Deploy the WPILib project to the athena board."
|
||||
icon="resources/icons/wpi.ico"
|
||||
id="edu.wpi.first.wpilib.plugins.cpp.launching.deploy"
|
||||
label="WPILib Deploy"
|
||||
modes="run,debug">
|
||||
<contextualLaunch>
|
||||
<enablement>
|
||||
<with
|
||||
variable="selection">
|
||||
<iterate>
|
||||
<and>
|
||||
<test
|
||||
value="edu.wpi.first.wpilib.plugins.core.nature.FRCProjectNature"
|
||||
property="org.eclipse.core.resources.projectNature">
|
||||
</test>
|
||||
<test
|
||||
value="org.eclipse.cdt.core.cnature"
|
||||
property="org.eclipse.core.resources.projectNature">
|
||||
</test>
|
||||
</and>
|
||||
</iterate>
|
||||
</with>
|
||||
</enablement>
|
||||
</contextualLaunch>
|
||||
<description
|
||||
description="Deploy the WPILib project to the athena board."
|
||||
mode="run">
|
||||
</description>
|
||||
<description
|
||||
description="Deploy the WPILib project to the athena board and debug it."
|
||||
mode="debug">
|
||||
</description>
|
||||
</shortcut>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.startup">
|
||||
<startup
|
||||
class="edu.wpi.first.wpilib.plugins.cpp.WPILibCPPPlugin">
|
||||
</startup>
|
||||
</extension>
|
||||
</plugin>
|
||||
Reference in New Issue
Block a user