[Title] Added colorprint new line function.
authorgyeongseok.seo <gyeongseok.seo@samsung.com>
Tue, 13 Dec 2011 03:22:02 +0000 (12:22 +0900)
committergyeongseok.seo <gyeongseok.seo@samsung.com>
Tue, 13 Dec 2011 03:22:02 +0000 (12:22 +0900)
[Type] Enhancement
[Module] common-ide-eplugin
[Priority] Minor
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Id105dbe9d25a83b970c78c3f0be1d28948619b9f

com.samsung.tizen.common/src/com/samsung/tizen/common/console/ConsoleManager.java

index a03d0d9..ea731fa 100644 (file)
@@ -206,6 +206,20 @@ public class ConsoleManager
                         ConsolePlugin.log(e);
                }
        }
+
+       public void println(String line ,int fontStyle, Color color) {
+               colorConsoleStream = console.newMessageStream();
+               display.syncExec(new ConsoleSettingThread(fontStyle, color));
+
+               colorConsoleStream.println(line);
+               try {
+                       colorConsoleStream.close();
+               } catch (IOException e) {
+                       // TODO Auto-generated catch block
+                        ConsolePlugin.log(e);
+               }
+       }
+
        public void clear()
        {
                Runnable runnable = new Runnable() {