[Title] Fixed bug in native api hover.
authorTaeyoung Son <taeyoung2.son@samsung.com>
Mon, 28 Jan 2013 08:28:37 +0000 (17:28 +0900)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Mon, 28 Jan 2013 08:28:37 +0000 (17:28 +0900)
- show Tizen namespace doxygen.
[Desc.]
[Issue]

org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/c/hover/CDocHover.java

index b565cf1..17d2415 100644 (file)
@@ -696,12 +696,12 @@ public class CDocHover extends AbstractCEditorTextHover {
                                                                String stringOfBinding[] = tokenizeString(binding.toString());
                                                                if (stringOfBinding.length == 2) { /* Case 1-1. using root namespace in source file */
                                                                        if (stringOfBinding[0].equals(TIZEN_API_ROOT_NAMESPACE) && stringOfBinding[1].equals("CPPNAMESPACE")) {
-                                                                               htmlFileName = "namespaceOsp.html";
+                                                                               htmlFileName = "namespaceTizen.html";
                                                                                isExist = checkHTMLFileExistence(htmlFileName);
                                                                        }
                                                                } else if (stringOfBinding.length == 1) {  /* Case 1-2. declaration root namespace in header or source file */
                                                                        if (stringOfBinding[0].equals(TIZEN_API_ROOT_NAMESPACE)) {
-                                                                               htmlFileName = "namespaceOsp.html";
+                                                                               htmlFileName = "namespaceTizen.html";
                                                                                isExist = checkHTMLFileExistence(htmlFileName);
                                                                        }
                                                                }
@@ -1274,7 +1274,7 @@ public class CDocHover extends AbstractCEditorTextHover {
        private static String getBackForwardElementName(String htmlName) {
                String elementName = "";
                try {
-                       if (htmlName.equals("namespaceOsp.html")) {
+                       if (htmlName.equals("namespaceTizen.html")) {
                                elementName = TIZEN_API_ROOT_NAMESPACE;
                        } else if (htmlName.equals("privlevel.html")) {
                                elementName = "Privilege Level";