<!ELEMENT extension (consoleFactory)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT consoleFactory EMPTY>
<!ATTLIST consoleFactory
label CDATA #REQUIRED
icon CDATA #IMPLIED
class CDATA #REQUIRED>
org.eclipse.ui.console.IConsoleFactory
that will be called when the associated action is invoked<extension point="org.eclipse.ui.console.consoleFactories"> <consoleFactory label="Command Console" class="com.example.CommandConsoleFactory" icon="icons/cmd_console.png"> </consoleFactory> </extension>This extension will cause an entry to appear in the console view's Open Console drop-down menu labelled Command Console with the specified icon. When the action is invoked by a user, the method openConsole() on the class com.example.CommandConsoleFactory will be called. The factory can the decide to create a new console or activate an existing console.
Copyright (c) 2004, 2005 IBM Corporation and others.
This program and the accompanying materials are made
available under the terms of the Eclipse Public License 2.0 which
accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0