[Title] filtered a sign widget context menu with web app projects only
authorJihoon Song <jihoon80.song@samsung.com>
Mon, 27 Aug 2012 08:58:43 +0000 (17:58 +0900)
committerJihoon Song <jihoon80.song@samsung.com>
Mon, 27 Aug 2012 08:58:43 +0000 (17:58 +0900)
[Type] Enhancement
[Module] common-eplugin
[Priority] --
[Jira#] --
[Redmine#] --
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I478ea0a82d9791fa6b3561a726ef4cd2522d70ec

org.tizen.common/plugin.xml

index 4ed8c00..d25d8fc 100644 (file)
             id="org.tizen.web.PopupMenusActivity"\r
             name="%activity.name.6">\r
             <enabledWhen>\r
+                <and>\r
                 <with\r
                     variable="activeWorkbenchWindow.activePerspective">\r
                     <and>\r
                         </equals>\r
                     </and>\r
                 </with>\r
+                <with variable="selection">\r
+                    <iterate ifEmpty="false">\r
+                        <test property="org.eclipse.core.resources.projectNature"\r
+                            value="org.tizen.web.WACnature" />\r
+                    </iterate>\r
+                </with>\r
+                </and>\r
             </enabledWhen>\r
         </activity>\r
         <activityPatternBinding\r