[Title] Fixed template context logic.
authorgyeongseok.seo <gyeongseok.seo@samsung.com>
Fri, 10 May 2013 09:45:01 +0000 (18:45 +0900)
committergyeongseok.seo <gyeongseok.seo@samsung.com>
Tue, 28 May 2013 07:33:44 +0000 (16:33 +0900)
[Desc.] directory template and standard template is common template's child class
[Issue]

Change-Id: I2b4597e78beb62415038f9c69da165750ec336dd

org.tizen.cli/src/org/tizen/cli/util/TemplateModelProvider.java

index 0009899..3e64e39 100644 (file)
@@ -34,6 +34,7 @@ import org.tizen.common.core.command.ExecutionContext;
 import org.tizen.common.core.command.Prompter;\r
 import org.tizen.common.core.command.prompter.GenericOption;\r
 import org.tizen.common.verrari.IModelProvider;\r
+import org.tizen.common.verrari.template.CommonTemplate;\r
 import org.tizen.common.verrari.template.StandardTemplate;\r
 \r
 public class\r
@@ -99,7 +100,7 @@ implements IModelProvider
         final Prompter prompter = this.context.getPrompter();\r
         final GenericOption opt = new GenericOption();\r
 \r
-        StandardTemplate current = StandardTemplate.getCurrentTemplate();\r
+        CommonTemplate current = CommonTemplate.getCurrentTemplate();\r
         String message = "Input " + key + " ?";\r
         if ( null != current )\r
         {\r