Skip to end of metadata
Go to start of metadata

Requirements

The examples in this page use the Prototype library, which is included by default inside a portal. However, the same concepts may be applied using other implementations.

Description

Eclipse has a Command Handling system that is invoked through an internal Command Service. Those commands are contributed via Eclipse extensions and can be called using the portal.

In order to invoke a specific command, a command ID, and and optional command arguments, need to be provided to the Portal's dispatch call. These IDs are, in some cases, hidden deep inside Eclipse, so an Eclipse knowledge is needed in order to find out what they are. We list at the bottom of this page a few common ID's and their usage with the dispatch.

Invocation

This command is executed immediately in a synchronous way.

A generic Eclipse command-handler invocation

Executing an Eclipse command that does not require any arguments:

An Eclipse command that accepts arguments

Examples

Open Studio's "New Web Project Wizard"

Open Titanium Studio "New Mobile App Project Wizard"

Open Titanium Studio "New Desktop Project Wizard"