| <!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)
|
| Window
Preferences - parameter indicates which preference page (no
parameter means open the main page) |
|
org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.team.ui.TextPreferences)
|
| New
Wizard - parameter indicates id of wizard to launch (no
parameter opens chooser dialog) |
|
org.eclipse.ui.newWizard(newWizardId=org.eclipse.pde.ui.NewProjectWizard)
|
| Import Wizard - parameter indicates id of wizard to launch (no parameter opens chooser dialog) |
|
org.eclipse.ui.file.import(importWizardId=org.eclipse.debug.internal.ui.importexport.breakpoints.WizardImportBreakpoints)
|
| Export Wizard - parameter indicates id of wizard to launch (no parameter opens chooser dialog) |
|
org.eclipse.ui.file.export(exportWizardId=org.eclipse.jdt.internal.ui.jarpackager.JarPackageWizard)
|
| Open
File - open a file given its path
as parameter, no parameter opens a dialog to help find a file |
|
org.eclipse.ui.navigate.openResource(filePath=/org.test/build.properties)
|
| Show Resource in Navigator - show in Navigator view given resource path as parameter |
|
org.eclipse.ui.navigate.showResourceByPath(resourcePath=/org.test/src/org)
|
| 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 by Id - parameter indicates id of cheatsheet |
|
org.eclipse.ui.cheatsheets.openCheatSheet(cheatSheetId=org.eclipse.jdt.helloworld)
|
| Open
Cheatsheet by URL - parameter for URL to load cheatsheed
(additional parameters to give cheatsheet a name and id) |
|
org.eclipse.ui.cheatsheets.openCheatSheetURL(cheatSheetId=my.cheatsheet.id,name=Foo,url=file://some/file/cheatsheet.xml)
|
| Open
Intro Content - no parameters, just opens the welcome front page |
|
org.eclipse.ui.help.showIntro
|
| Open
JavaElement in Editor - parameter encodes handle identifier of
java element |
|
org.eclipse.jdt.ui.commands.openElementInEditor(elementRef=org.test/org.test.Activator)
|
| Show JavaElement in Package Explorer View - parameter encodes handle identifier of java element |
|
org.eclipse.jdt.ui.commands.showElementInPackageView(elementRef=org.test/org.test.Activator)
|
| Show JavaElement in Type Hierarchy View - parameter encodes handle identifier of java element |
|
org.eclipse.jdt.ui.commands.showElementInTypeHierarchyView(elementRef=org.test/org.test.Activator)
|
| Open
Run Configuration Dialog - no parameters |
|
org.eclipse.debug.ui.commands.OpenRunConfigurations
|
| Open
Debug Configuration Dialog - no parameters |
|
org.eclipse.debug.ui.commands.OpenDebugConfigurations
|
| Open
Manage Configuration Dialog - opens the dialog for managing
product configuration (no parameters) |
|
org.eclipse.ui.update.manageConfiguration
|
| Open
Install/Update Feature Dialog - opens the dialog for installing
and updating features (no parameters) |
|
org.eclipse.ui.update.findAndInstallUpdates
|
| Open
URL in Browser - parameters for URL, browserId, window name and
tooltip |
|
org.eclipse.ui.browser.openBrowser(url=http://www.google.com)
|
| Open
Input Dialog - parameters for title, message, .... This
command returns the value typed by the user. |
|
org.eclipse.ui.dialogs.openInputDialog(title=MyMessage,message=Hello,initialValue=World)
|
| Open
Message Dialog - parameters for title, message, button labels,
.... This command returns the label string of the clicked button. |
|
org.eclipse.ui.dialogs.openMessageDialog(title=Hi,message=msg,buttonLabel0=YES,buttonLabel1=no,buttonLabel2=maYbe,defaultIndex=2,imageType=1)
|
| <?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"?> <cheatsheet title="Example of Commands 2"> <intro> <description>Another cheat sheet which tests command support</description> </intro> <item title="Step 1"> <description>This is a step with a command which shows an input dialog.</description> <command returns="MyData" serialization="org.eclipse.ui.dialogs.openInputDialog(title=Hello,message=Input Data)"/> <onCompletion> Input value was ${MyData} </onCompletion> </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> |