Note that there are some explanatory texts on larger screens.

plurals
  1. POCannot add a launch shortcut (Eclipse Plug-in)
    primarykey
    data
    text
    <p>I'm making a simple extra java app launcher for Eclipse 3.2 (JBuilder 2007-8) for internal use.</p> <p>So I looked up all the documentations related, including this one <a href="http://www.eclipse.org/articles/Article-Launch-Framework/launch.html" rel="nofollow noreferrer" title="The Launching Framework">The Launching Framework from eclipse.org</a> and have managed to make everything else working with the exception of the launch shortcut. </p> <p><img src="https://i.stack.imgur.com/8I8zw.jpg" alt="alt text"></p> <p>This is the part of my plugin.xml. </p> <pre><code> &lt;extension point="org.eclipse.debug.ui.launchShortcuts"&gt; &lt;shortcut category="mycompany.javalaunchext.launchConfig" class="mycompany.javalaunchext.LaunchShortcut" description="launchshortcutsdescription" icon="icons/k2mountain.png" id="mycompany.javalaunchext.launchShortcut" label="Java Application Ext." modes="run, debug"&gt; &lt;perspective id="org.eclipse.jdt.ui.JavaPerspective"&gt; &lt;/perspective&gt; &lt;perspective id="org.eclipse.jdt.ui.JavaHierarchyPerspective"&gt; &lt;/perspective&gt; &lt;perspective id="org.eclipse.jdt.ui.JavaBrowsingPerspective"&gt; &lt;/perspective&gt; &lt;perspective id="org.eclipse.debug.ui.DebugPerspective"&gt; &lt;/perspective&gt; &lt;/shortcut&gt; </code></pre> <p></p> <p>The configuration name in the category section is correct and the class in the class section, i believe, is correctly implemented. (basically copied from org.eclipse.jdt.debug.ui.launchConfigurations.JavaApplicationLaunchShortcut)</p> <hr> <p>I'm really not sure if I'm supposed to write a follow-up here but let me clarify my question more. I've extended org.eclipse.jdt.debug.ui.launchConfigurations.JavaLaunchShortcut. Plus, I've added my own logger to constructors and methods, but the class seems like it's never even instantiating.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload