Editor Actions
Identifier:
org.eclipse.wst.server.ui.editorActions
Since:
This extension point is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Description:
This extension point provides a way to add actions to the toolbar of an existing server editor.
Configuration Markup:
<!ELEMENT extension (editorAction+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT editorAction (enablement?)>
<!ATTLIST editorAction
id CDATA #REQUIRED
class CDATA #REQUIRED
typeIds CDATA #IMPLIED
name CDATA #IMPLIED
order CDATA #IMPLIED>
- id - specifies a unique identifier for this action
- class - specifies the fully qualified name of the Java class that implements org.eclipse.wst.server.ui.internal.provisional.ServerEditorActionFactoryDelegate.
- typeIds - a comma separated list of server type ids. May include wildcards (*) at the end of an id
- name - a translatable name used to identify this action
- order - an integer that specifies an absolute ordering of the action relative to other actions
Examples:
The following is an example of an editor action extension point:
<extension
point=
"org.eclipse.wst.server.ui.editorActions"
>
<page
id=
"com.example"
order=
"20"
name=
"%editorAction"
typeIds=
"com.example.*"
class=
"com.example.ExampleEditorAction"
/>
</extension>
Copyright (c) 2000, 2005 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made
available under the terms of the Eclipse Public License v1.0 which accompanies
this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html