Package org.eclipse.ui.console
Interface IConsoleFactory
-
public interface IConsoleFactoryA console factory extension is responsible for opening a console in the console view. Extensions appear on a menu in the console view, and theiropenConsolemethod is called when the action is invoked. Implementations may choose to open a new console or activate an existing console. The extension point used to contribute a console factory isorg.eclipse.ui.console.consoleFactories.Following is an example console factory extension.
<extension point="org.eclipse.ui.console.consoleFactories"> <consoleFactory label="Command Console" icon="icons\cmd_console.gif" class="com.example.CommandConsoleFactory"> </consoleFactory> </extension>An action appears in the console view's 'Open Console' drop-down menu with the corresponding
labeland optionalicon. When the action is invoked, the specifiedclassis instantiated and called to open a console, via the methodopenConsole().Clients providing console factory extensions are intended to implement this interface.
- Since:
- 3.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidopenConsole()Opens a console in the console view.
-