mirror of https://github.com/mchr3k/org.intrace
Fix InTrace dropdown button, need to get java application launch shortcut working
This commit is contained in:
parent
5a397b9bd5
commit
0e0aa80c20
|
|
@ -34,7 +34,7 @@
|
|||
<actionSet
|
||||
id="intrace.eclipse.inTraceActionSet"
|
||||
label="InTrace"
|
||||
visible="true">
|
||||
visible="false">
|
||||
<action
|
||||
class="intrace.eclipse.actions.InTraceToolbarAction"
|
||||
disabledIcon="icons/runcoverage.gif"
|
||||
|
|
@ -43,9 +43,31 @@
|
|||
id="intrace.eclipse.InTraceAction"
|
||||
label="InTrace"
|
||||
style="pulldown"
|
||||
toolbarPath="org.eclipse.debug.ui.launchActionSet/intrace">
|
||||
toolbarPath="org.eclipse.debug.ui.launchActionSet/debug">
|
||||
</action>
|
||||
</actionSet>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.ui.perspectiveExtensions">
|
||||
<perspectiveExtension
|
||||
targetID="org.eclipse.jdt.ui.JavaPerspective">
|
||||
<actionSet
|
||||
id="intrace.eclipse.inTraceActionSet">
|
||||
</actionSet>
|
||||
</perspectiveExtension>
|
||||
</extension>
|
||||
<extension
|
||||
point="org.eclipse.debug.ui.launchShortcuts">
|
||||
<shortcut
|
||||
class="intrace.eclipse.ui.launching.InTraceLaunchShortcut"
|
||||
icon="icons/runcoverage.gif"
|
||||
id="intrace.eclipse.ui.localJavaShortcut"
|
||||
label="Java Application"
|
||||
modes="intrace">
|
||||
<contextualLaunch>
|
||||
<enablement></enablement>
|
||||
</contextualLaunch>
|
||||
</shortcut>
|
||||
</extension>
|
||||
|
||||
</plugin>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ public class InTraceToolbarAction extends AbstractLaunchToolbarAction
|
|||
|
||||
public InTraceToolbarAction()
|
||||
{
|
||||
super("intraceid");
|
||||
super("intrace.eclipse.launchGroup.InTrace");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
package intrace.eclipse.ui.launching;
|
||||
|
||||
import org.eclipse.debug.ui.ILaunchShortcut;
|
||||
import org.eclipse.jface.viewers.ISelection;
|
||||
import org.eclipse.ui.IEditorPart;
|
||||
|
||||
public class InTraceLaunchShortcut implements ILaunchShortcut
|
||||
{
|
||||
|
||||
@Override
|
||||
public void launch(ISelection selection, String mode)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void launch(IEditorPart editor, String mode)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue