| <!DOCTYPE HTML PUBLIC "-//W3C//DTD
HTML 4.0 Transitional//EN"><HTML> <HEAD> <TITLE> Help Link Test </TITLE> <script language="JavaScript" src="../../org.eclipse.help/livehelp.js"> </script> </HEAD> <body> <p>Execute command link to <a href='javascript:executeCommand( "org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.views.TaskList)")'> show Tasks view</a>.</p> </body> </HTML> |
| Command
Name - brief description and mention of parameters |
|
command.id(param.id=value)
« example demonstrating usage
|
| Show
Perspective - without parameters, opens a
dialog with list of perspectives |
|
org.eclipse.ui.perspectives.showPerspective
|
| Show
Perspective - parameter
indicates perspective id |
|
org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.ui.resourcePerspective)
|
| Show
View - without parameters, opens a dialog with
list of views |
|
org.eclipse.ui.views.showView
|
| Show View - parameter indicates view id |
|
org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.ui.views.TaskList)
|
| Open
Resource [proposed] - open a resource given its path and/or URI
as parameter |
| Show Resource in Navigator [proposed] - show in Navigator view given resource path and/or URI as parameter |
| Display
Help - without parameters, opens the help system |
|
org.eclipse.ui.help.displayHelp
|
| Display
Help - parameter indicates help topic href |
|
org.eclipse.ui.help.displayHelp(href=/org.eclipse.platform.doc.user/gettingStarted/qs-02a.htm)
|
| Open
Cheatsheet [proposed] - Chris G. indicated there would be
several variants |
| Open
Intro Content [proposed] - look into this... |
| Open
JavaElement in Editor [proposed]
- parameter encodes handle identifier of java element |
|
org.eclipse.jdt.ui.commands.openElementInEditor(elementHandleId=%=org.test/src<org.test{Activator.java[Activator)
|
| Show JavaElement in Package Explorer View [proposed] - parameter encodes handle identifier of java element |
|
org.eclipse.jdt.ui.commands.showElementInPackageView(elementHandleId=%=org.test/src<org.test{Activator.java[Activator)
|
| Show JavaElement in Type Hierarchy View [proposed] - parameter encodes handle identifier of java element |
|
org.eclipse.jdt.ui.commands.showElementInTypeHierarchyView(elementHandleId=%=org.test/src<org.test{Activator.java[Activator)
|
| Add
Repository Location [proposed] - parameter like
":pserver:anonymous@dev.eclipse.org:/cvsroot/eclipse" |
| Checkout
Project [proposed] - parameter as in map files |
| Add
Update Site [proposed] - params include site URL/path and label
(see org.eclipse.update.standalone) |
| Install
Feature [proposed] - params for feature id, version, site, ...? |
| Open
URL in Browser [proposed] - parameter is URL |
| <?xml version="1.0"
encoding="UTF-8"?> <cheatsheet title="Example of Commands"> <intro> <description>A cheat sheet which tests command support</description> </intro> <item title="Step 1"> <description>This is a step with a command which shows the search view.</description> <command serialization="org.eclipse.search.ui.views.SearchView"/> </item> <item title="Step 2"> <description>This is a step with a command and parameters, shows package explorer.</description> <command serialization="org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.jdt.ui.PackageExplorer)"/> </item> </cheatsheet> |
| <?xml version="1.0"
encoding="UTF-8" ?> <introContent> <!-- Extension to the SDK What's New Page. --> <extensionContent path="news/page-content/noteworthy-links/pdeAnchor"> <link label="Test News1" url="http://org.eclipse.ui.intro/execute?command=org.eclipse.ui.views.showView()&standby=true" id="pde-noteworthy" style-id="noteworthy-link"> <text>This is a test</text> </link> <link label="Test News2" url="http://org.eclipse.ui.intro/execute?command=org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId%3dorg.eclipse.jdt.ui.PackageExplorer)&standby=true" id="pde-noteworthy" style-id="noteworthy-link"> <text>This is another test</text> </link> </extensionContent> </introContent> |