Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » LaunchShortcuts on Active Editor
LaunchShortcuts on Active Editor [message #259806] Tue, 28 April 2009 02:33
Eclipse UserFriend
Hi,

I don't know if it is the correct group to post but newcomer group don't seem answer then :

I have a eclipse plugin project which define a project nature (MDANature).
Each MDA project contains a .mda file.
I have enabled launchShortcuts on MDAProject and .mda file selection :

<extension
point="org.eclipse.debug.ui.launchShortcuts">
<shortcut

class=" com.miasoftware.miastudio.agl.launch.MDAProjectLaunchShortcu t "
description="MDA Project"
icon="icons/logo.gif"

id=" com.miasoftware.miastudio.agl.launch.MDAProjectLaunchShortcu t "
label="MDA Project"
modes="run">
<contextualLaunch>
<enablement>
<with variable="selection">
<count value="1"/>
<iterate>
<and>
<adapt type="org.eclipse.debug.ui.actions.ILaunchable">
</adapt>
<or>
<test property="org.eclipse.jdt.launching.hasProjectNature" args="com.miasoftware.miastudio.agl.nature.MDANature"/>
<test property="org.eclipse.debug.ui.matchesPattern" value="*.mda">
</test>
</or>
</and>
</iterate>
</with>
</enablement>
</contextualLaunch>
<configurationType

id=" com.miasoftware.miastudio.agl.launch.MDAProjectLaunchConfigu ration ">
</configurationType>
<description
description="MDA Project"
mode="run">
</description>

</shortcut>
</extension>


Now I want enable launchShortcuts on ActiveEditor with specific editor. But I don't find or know how implement propertyTester for that.
How can I enable launchShortcuts on Active editor?

Thanks.
Previous Topic:New Project Wizard: Create project from existing source
Next Topic:JDT PRASER HELP
Goto Forum:
  


Current Time: Sun May 11 22:16:44 EDT 2025

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top