debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/STICommLogConsoleFactory.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debuggercdi/com.nokia.cdt.debug.cw.symbian/src/com/nokia/cdt/debug/cw/symbian/STICommLogConsoleFactory.java Fri Apr 03 23:33:03 2009 +0100
@@ -0,0 +1,37 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+package com.nokia.cdt.debug.cw.symbian;
+
+import org.eclipse.ui.console.*;
+
+/**
+ * Console factory is used to show the console from the Console view "Open Console"
+ * drop-down action. This factory is registered via the org.eclipse.ui.console.consoleFactory
+ * extension point.
+ *
+ * @since 3.1
+ */
+public class STICommLogConsoleFactory implements IConsoleFactory {
+
+ public STICommLogConsoleFactory() {
+ }
+
+ public void openConsole() {
+ SymbianPlugin.getDefault().openSTICommLogConsole(true);
+ }
+}