]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - osgi/plugins/org.argeo.osgi.ui.explorer/plugin.xml
Move to Commons Base
[lgpl/argeo-commons.git] / osgi / plugins / org.argeo.osgi.ui.explorer / plugin.xml
index 825d43be82d08f84b0940aae9134a4efe1e65ef1..848025bbd1087ab683621bfc93ffe0bd765d0a04 100644 (file)
     <extension point="org.eclipse.ui.perspectiveExtensions"> 
         <perspectiveExtension 
             targetID="org.argeo.osgi.ui.explorer.perspective"> 
-            <view id="org.argeo.osgi.ui.explorer.modulesView" minimized="false"
-             ratio="0.5" relationship="left" relative="org.eclipse.ui.editorss"/> 
             <view id="org.argeo.osgi.ui.explorer.bundlesView" minimized="false"
-             relationship="stack" relative="org.argeo.osgi.ui.explorer.modulesView"/> 
+             ratio="0.5" relationship="left" relative="org.eclipse.ui.editorss"/> 
+            <view id="org.argeo.osgi.ui.explorer.modulesView" minimized="false"
+             relationship="stack" relative="org.argeo.osgi.ui.explorer.bundlesView"/> 
         </perspectiveExtension> 
     </extension> 
    <extension
    </extension>
   <extension
            point="org.eclipse.ui.activities">
-        <activity
-              description="Only for admins"
-              id="org.argeo.osgi.ui.explorer.adminActivity"
-              name="Admin">
-                 <enabledWhen>
-                   <with variable="roles">
-                     <iterate ifEmpty="false" operator="or">
-                       <equals value="ROLE_ADMIN" />
-                     </iterate>
-                   </with>
-                 </enabledWhen>
-        </activity>
         <activityPatternBinding
-              activityId="org.argeo.osgi.ui.explorer.adminActivity"
+              activityId="org.argeo.security.ui.adminActivity"
               isEqualityPattern="true"
               pattern="org.argeo.osgi.ui.explorer/org.argeo.osgi.ui.explorer.perspective">
         </activityPatternBinding>