Community
Participate
Working Groups
To support "simplified launching for novice users" (bug 74480), we would like to add an optional attribute to launch shortcut extensions. The new attribute is a "description" attribute that would be displayed in a selection dialog when the users launches a resource for the first time and the user must choose from available launch shortcuts for the resource. The description field would provide users with more information about the "way" they can select to launch a resource. For example, the description for a "Java Application" would be something like "Launches a Java virtual machine locally on the selected main type". We should allow for messages specialized for the selected launch mode - so we could have specialized messages for debug vs. run - i.e. "Launches a Java virtual machine locally on the selected main type with support for debugging".
Mike, it feels like the message should actually be tied to the launch delegate that would be invoked from the shortcut... for example, if the launch shortcut maps to the "Java Application" configuration type, we could ask the preferred launch delegate for its description? (not sure what we do if there are multiple configuration types for a launch shortcut). However, this way the message is specialized per launch mode and for the tooling that is "selected/preferred" for that configuration type.
Created attachment 60690 [details] patch This patch adds in the new fuctionality of providing descriptions for launchshortcuts. Contributors can now (optionally) provide a description for their launch shortcut contribution generally, or for specific modes only. This patch introduces new API to the launchShortcuts extension point and will require PMC approval
Clarification - we decided to add the description field to the launch shortcut, allowing for mode specific descriptions. This is more flexible than relying on the existing launch delegate description as there could be more than one launch shortcut using the same underlying delegate (for example, Ant has two shortcuts but both use the same underlying delegate).
Created attachment 60703 [details] patch slight change to schema descriptions
+1
released patch with some JUnit tests as well
please verify Darin W
Verified.