<!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
som blir kalt opp
når den tilhørende handlingen aktiveresDenne utvidelsen fører til at en oppføring blir vist i konsollvisningens Åpne konsoll-rullegardinmeny merket Kommandokonsoll med det oppgitte ikonet. Når handlingen aktiveres av en bruker, blir metoden openConsole() i klassen com.example.CommandConsoleFactory kalt opp. Factory kan da opprette en ny konsoll eller aktivere en eksisterende konsoll.<extension point=
"org.eclipse.ui.console.consoleFactories"
>
<consoleFactory label=
"Command Console"
class=
"com.example.CommandConsoleFactory"
icon=
"icons/cmd_console.gif"
>
</consoleFactory>
</extension>
Copyright (c) 2004, 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