[Title] Modify activity's enablement.
authorjoogwan.kim <joogwan.kim@samsung.com>
Mon, 19 Dec 2011 06:02:09 +0000 (15:02 +0900)
committerjoogwan.kim <joogwan.kim@samsung.com>
Mon, 19 Dec 2011 06:02:09 +0000 (15:02 +0900)
[Type] Feature
[Module] UI activities
[Priority] Major

com.samsung.tizen.common/OSGI-INF/l10n/bundle.properties [new file with mode: 0644]
com.samsung.tizen.common/plugin.xml

diff --git a/com.samsung.tizen.common/OSGI-INF/l10n/bundle.properties b/com.samsung.tizen.common/OSGI-INF/l10n/bundle.properties
new file mode 100644 (file)
index 0000000..99ec9ad
--- /dev/null
@@ -0,0 +1,3 @@
+activity.name = newXsdDisabler
+activity.name.0 = newDtdDisabler
+activity.name.1 = ValidateMenuItemDisabler
\ No newline at end of file
index 2336597..e339151 100644 (file)
 \r
             <enabledWhen>\r
                 <with variable="activeWorkbenchWindow.activePerspective">\r
-                    <not>\r
-                        <equals value="com.samsung.tizen.nativeapp.perspective"/>\r
-                    </not>\r
+                    <and>\r
+                        <not>\r
+                            <equals value="com.samsung.tizen.web.ui.perspective.WACwidget"/>\r
+                        </not>\r
+                        <not>\r
+                            <equals value="com.samsung.tizen.nativeapp.perspective"/>\r
+                        </not>\r
+                    </and>\r
                 </with>\r
             </enabledWhen>\r
         </activity>\r
               description="ToolChain Editor Property Page"\r
               id="com.samsung.tizen.nativeapp.DisableCDTToolChainEditorPageActivity"\r
               name="CDT ToolChain Editor Page Elements">\r
-           <enabledWhen>\r
-              <with\r
-                    variable="activeWorkbenchWindow.activePerspective">\r
-                 <not>\r
-                    <equals\r
-                          value="com.samsung.tizen.nativeapp.perspective">\r
-                    </equals>\r
-                 </not>\r
-              </with>\r
-           </enabledWhen>\r
+            <enabledWhen>\r
+                <with variable="activeWorkbenchWindow.activePerspective">\r
+                    <and>\r
+                        <not>\r
+                            <equals value="com.samsung.tizen.web.ui.perspective.WACwidget"/>\r
+                        </not>\r
+                        <not>\r
+                            <equals value="com.samsung.tizen.nativeapp.perspective"/>\r
+                        </not>\r
+                    </and>\r
+                </with>\r
+            </enabledWhen>\r
         </activity>\r
         <categoryActivityBinding\r
               activityId="com.samsung.tizen.nativeapp.DisableCDTToolChainEditorPageActivity"\r