diff options
author | Brian de Alwis | 2016-03-12 04:34:34 +0000 |
---|---|---|
committer | Brian de Alwis | 2016-03-12 05:55:35 +0000 |
commit | 9a3622632eb9d6be029c58e6f04af17ba259bc33 (patch) | |
tree | 7a45b1a6a6a5ae308fc977bb51a8c345cf72f66d /org.eclipse.ui.intro.quicklinks.examples | |
parent | ad8a47c4bdd332042253f75caa105526cb5d267b (diff) | |
download | eclipse.platform.ua-9a3622632eb9d6be029c58e6f04af17ba259bc33.tar.gz eclipse.platform.ua-9a3622632eb9d6be029c58e6f04af17ba259bc33.tar.xz eclipse.platform.ua-9a3622632eb9d6be029c58e6f04af17ba259bc33.zip |
Bug 466370 - Modify Quicklinks to support URLs and view modes
Add support for URLs, both IntroURLs and normal URLs.
Allow post-actions to also put the Welcome/Intro into launchbar
or close the intro entirely.
Change-Id: I4a1951f6ef58f7134ab67c98c8b34c6d85b7cf22
Diffstat (limited to 'org.eclipse.ui.intro.quicklinks.examples')
-rw-r--r-- | org.eclipse.ui.intro.quicklinks.examples/plugin.xml | 39 |
1 files changed, 27 insertions, 12 deletions
diff --git a/org.eclipse.ui.intro.quicklinks.examples/plugin.xml b/org.eclipse.ui.intro.quicklinks.examples/plugin.xml index e5a43d796..6795b05f7 100644 --- a/org.eclipse.ui.intro.quicklinks.examples/plugin.xml +++ b/org.eclipse.ui.intro.quicklinks.examples/plugin.xml @@ -14,32 +14,34 @@ <extension point="org.eclipse.ui.intro.quicklinks"> <!-- Invoke a simple command --> - <quicklink - command="org.eclipse.ui.edit.text.openLocalFile" + <command description="Open a single file" + id="org.eclipse.ui.edit.text.openLocalFile" label="Open an existing file" + resolution="launchbar" standby="true"> - </quicklink> + </command> <!-- Open the New Java Project wizard; note that icon is provided by <override> below; want to override label and description as the command description is generic --> - <quicklink - command="org.eclipse.ui.newWizard(newWizardId=org.eclipse.jdt.ui.wizards.JavaProjectWizard)" + <command description="Create a new Java Eclipse project" + id="org.eclipse.ui.newWizard(newWizardId=org.eclipse.jdt.ui.wizards.JavaProjectWizard)" label="Create a new Java project" standby="true"> - </quicklink> + </command> <!-- Open the Import Existing Project --> - <quicklink - command="org.eclipse.ui.file.import(importWizardId=org.eclipse.ui.wizards.import.ExternalProject)" + <command description="Import an already existing project into Eclipse" icon="platform:/plugin/org.eclipse.ui/icons/full/wizban/import_wiz.png" + id="org.eclipse.ui.file.import(importWizardId=org.eclipse.ui.wizards.import.ExternalProject)" label="Import an existing project" + resolution="standby" standby="true"> - </quicklink> + </command> <!-- Cause all New XXX quicklinks to use the wizban/new_wiz image --> <override @@ -52,10 +54,23 @@ Use default labelling and icon from showMPC command; importance should cause it to be sorted above other commands --> - <quicklink - command="org.eclipse.epp.mpc.ui.command.showMarketplaceWizard" + <command + id="org.eclipse.epp.mpc.ui.command.showMarketplaceWizard" + importance="high" + resolution="close"> + </command> + <url + location="http://org.eclipse.ui.intro/showStandby?partId=org.eclipse.platform.cheatsheet&input=org.eclipse.jdt.helloworld" + label="Let Eclipse guide how to create Hello World" + description="Use Eclipse's guided walkthrough to create Hello World" importance="high"> - </quicklink> + </url> + <url + location="http://google.com" + label="Open Google" + description="Use Google to search the world" + importance="medium"> + </url> </extension> </plugin> |