Introduce standard Eclipse 4 fragments
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 17 Apr 2018 09:55:05 +0000 (11:55 +0200)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 17 Apr 2018 09:55:05 +0000 (11:55 +0200)
13 files changed:
org.argeo.suite.e4/build.properties
org.argeo.suite.e4/e4xmi/argeo-office.e4xmi
org.argeo.suite.e4/src/org/argeo/suite/e4/parts/QuickSearchView.java
org.argeo.suite.standard/.classpath [new file with mode: 0644]
org.argeo.suite.standard/.gitignore [new file with mode: 0644]
org.argeo.suite.standard/.project [new file with mode: 0644]
org.argeo.suite.standard/META-INF/.gitignore [new file with mode: 0644]
org.argeo.suite.standard/bnd.bnd [new file with mode: 0644]
org.argeo.suite.standard/build.properties [new file with mode: 0644]
org.argeo.suite.standard/e4xmi/standard-toolbars.e4xmi [new file with mode: 0644]
org.argeo.suite.standard/plugin.xml [new file with mode: 0644]
org.argeo.suite.standard/pom.xml [new file with mode: 0644]
pom.xml

index 8795cd4eb7dcea2607e9a4c4c422f0f915c29afb..a8118803f2d30884ba94fcd73126011aa9dd4805 100644 (file)
@@ -3,5 +3,6 @@ bin.includes = META-INF/,\
                .,\
                OSGI-INF/,\
                e4xmi/,\
-               plugin.xml
+               plugin.xml,\
+               e4xmi/argeo-suite-toolbars.e4xmi
 source.. = src/
index 83cc4d37a7770e8b01a5f6383f2f6e5904ee814e..f3af3c226419ac541f9e597bf9a2b73acf35412b 100644 (file)
@@ -8,22 +8,21 @@
         <children xsi:type="basic:PartSashContainer" xmi:id="_mAC18DAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partsashcontainer.0" horizontal="true">
           <children xsi:type="basic:PartStack" xmi:id="_orJxUDAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partstack.navigation" containerData="3000">
             <tags>minimized</tags>
-            <children xsi:type="advanced:Placeholder" xmi:id="_3kRAoDwIEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.placeholder.0" ref="_qAM4sDAVEei3AbO1ldMI0w"/>
-            <children xsi:type="basic:Part" xmi:id="_xi1k0DDzEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.part.documents" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.documents.e4.parts.MyFilesView" label="Documents" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/documents.png"/>
+            <children xsi:type="basic:Part" xmi:id="_qAM4sDAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.part.search" containerData="" contributionURI="bundleclass://org.argeo.suite.e4/org.argeo.suite.e4.parts.QuickSearchView" label="Search" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/actions/search.png"/>
+            <children xsi:type="basic:Part" xmi:id="_yNz1oEIkEeiuKIc56c-N_g" elementId="org.argeo.suite.e4.part.documents" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.documents.e4.parts.MyFilesView" label="Documents" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/documents.png"/>
           </children>
           <children xsi:type="basic:PartStack" xmi:id="_vLza4DAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partstack.1" containerData="7000">
             <tags>entityEditorArea</tags>
-            <children xsi:type="basic:Part" xmi:id="_n83mkDDnEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.part.0" contributionURI="bundleclass://org.argeo.suite.e4/org.argeo.suite.e4.parts.DefaultDashboardEditor" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/dashboard.png"/>
+            <children xsi:type="basic:Part" xmi:id="_n83mkDDnEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.part.defaultDashboard" contributionURI="bundleclass://org.argeo.suite.e4/org.argeo.suite.e4.parts.DefaultDashboardEditor" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/dashboard.png"/>
           </children>
         </children>
       </children>
       <children xsi:type="advanced:Perspective" xmi:id="_bu5BYD4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.perspective.folders" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/folder.png">
         <children xsi:type="basic:PartStack" xmi:id="_p66bMD4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.partstack.0">
-          <children xsi:type="basic:Part" xmi:id="_qgWDgD4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.part.1" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.documents.e4.parts.MyFilesView" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/documents.png"/>
+          <children xsi:type="basic:Part" xmi:id="_xi1k0DDzEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.part.documents" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.documents.e4.parts.MyFilesView" label="Documents" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/documents.png"/>
         </children>
       </children>
     </children>
-    <sharedElements xsi:type="basic:Part" xmi:id="_qAM4sDAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.part.search" containerData="" contributionURI="bundleclass://org.argeo.suite.e4/org.argeo.suite.e4.parts.QuickSearchView" label="Search" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/actions/search.png"/>
     <trimBars xmi:id="_24OSADArEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.trimbar.top">
       <children xsi:type="menu:ToolBar" xmi:id="_JIUjADDhEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.toolbar.standard">
         <children xsi:type="menu:HandledToolItem" xmi:id="_55lzgD4cEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.handledtoolitem.2" iconURI="platform:/plugin/org.argeo.cms.ui.theme/icons/person-logged-in.png" command="__L724D4cEeiR-OuUuIB1Aw">
         <children xsi:type="menu:HandledToolItem" xmi:id="_P-4LIDDhEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.handledtoolitem.save" label="Save" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/actions/save.png" enabled="false" command="_1lO94DDgEeiUfOa4rxEKwQ"/>
         <children xsi:type="menu:HandledToolItem" xmi:id="_W4V9UDDhEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.handledtoolitem.saveall" label="Save All" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/actions/save-all.png" enabled="false" command="_5EpEADDgEeiUfOa4rxEKwQ"/>
         <children xsi:type="menu:HandledToolItem" xmi:id="_bV4tYDDmEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.handledtoolitem.closeall" label="Close All" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/actions/close-all.png" command="_VdldQDDmEeiUfOa4rxEKwQ"/>
-        <children xsi:type="menu:ToolBarSeparator" xmi:id="_Bn7o0DDjEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.toolbarseparator.0"/>
-      </children>
-      <children xsi:type="menu:ToolBar" xmi:id="_k0mYYD28EeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.toolbar.newEntity">
-        <children xsi:type="menu:HandledToolItem" xmi:id="_4Ssr8DArEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.handledtoolitem.createTask" label="New Task" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/todo.png" command="_2Xkt8DApEei3AbO1ldMI0w">
-          <parameters xmi:id="_NYpK8DAsEei3AbO1ldMI0w" elementId="targetNodeType" name="targetNodeType" value="activities:task"/>
-        </children>
-        <children xsi:type="menu:HandledToolItem" xmi:id="_p_MsIDBiEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.handledtoolitem.createPerson" label="New Person" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/person.png" command="_2Xkt8DApEei3AbO1ldMI0w">
-          <parameters xmi:id="_6LHhIDBiEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.parameter.0" name="targetNodeType" value="people:person"/>
-        </children>
-        <children xsi:type="menu:HandledToolItem" xmi:id="_cnaWMDBjEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.handledtoolitem.neworg" label="New Org" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/organisation.png" command="_2Xkt8DApEei3AbO1ldMI0w">
-          <parameters xmi:id="_iEUDwDBjEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.parameter.1" name="targetNodeType" value="people:org"/>
-        </children>
-        <children xsi:type="menu:HandledToolItem" xmi:id="__3aVwDpLEeiqA-HRq--JMg" elementId="org.argeo.suite.e4.handledtoolitem.newproject" label="New Project" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/project.png" command="_2Xkt8DApEei3AbO1ldMI0w">
-          <parameters xmi:id="_JiLx8DpMEeiqA-HRq--JMg" elementId="org.argeo.suite.e4.parameter.2" name="targetNodeType" value="tracker:project"/>
-        </children>
-        <children xsi:type="menu:HandledToolItem" xmi:id="_fYJ_sDpMEeiqA-HRq--JMg" elementId="org.argeo.suite.e4.handledtoolitem.newmilestone" label="New Milestone" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/milestone.png" command="_2Xkt8DApEei3AbO1ldMI0w">
-          <parameters xmi:id="_iVMYkDpMEeiqA-HRq--JMg" elementId="org.argeo.suite.e4.parameter.3" name="targetNodeType" value="tracker:milestone"/>
-        </children>
-        <children xsi:type="menu:HandledToolItem" xmi:id="_M5t5ADpNEeiqA-HRq--JMg" elementId="org.argeo.suite.e4.handledtoolitem.newtask" label="New Task" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/task.png" command="_2Xkt8DApEei3AbO1ldMI0w">
-          <parameters xmi:id="_Wj5fUDpNEeiqA-HRq--JMg" elementId="org.argeo.suite.e4.parameter.4" name="targetNodeType" value="tracker:task"/>
-        </children>
-      </children>
-    </trimBars>
-    <trimBars xmi:id="_8QObED4ZEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.trimbar.0" side="Left">
-      <children xsi:type="menu:ToolBar" xmi:id="_9NxBYD4ZEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.toolbar.perspectives">
-        <children xsi:type="menu:HandledToolItem" xmi:id="_-KE4oD4ZEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.handledtoolitem.0" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/dashboard.png" command="__usGAD4ZEeiR-OuUuIB1Aw">
-          <parameters xmi:id="_QjVu8D4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.parameter.5" name="perspectiveId" value="org.argeo.suite.e4.perspective.dashboard"/>
-        </children>
-        <children xsi:type="menu:HandledToolItem" xmi:id="_evdPYD4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.handledtoolitem.1" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/folder.png" command="__usGAD4ZEeiR-OuUuIB1Aw">
-          <parameters xmi:id="_gW_08D4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.parameter.6" name="perspectiveId" value="org.argeo.suite.e4.perspective.folders"/>
-        </children>
       </children>
     </trimBars>
+    <trimBars xmi:id="_8QObED4ZEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.trimbar.0" side="Left"/>
   </children>
   <handlers xmi:id="_HCDl8D4aEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.handler.openPerspective" contributionURI="bundleclass://org.argeo.cms.e4/org.argeo.cms.e4.handlers.OpenPerspective" command="__usGAD4ZEeiR-OuUuIB1Aw"/>
   <handlers xmi:id="_ipB00DArEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.handler.createEntity" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.connect.e4.handlers.CreateEntity" command="_2Xkt8DApEei3AbO1ldMI0w"/>
@@ -94,7 +63,7 @@
   <commands xmi:id="_1lO94DDgEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.command.savePart" commandName="Save"/>
   <commands xmi:id="_5EpEADDgEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.command.saveAll" commandName="Save All"/>
   <commands xmi:id="_VdldQDDmEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.command.closeAll" commandName="Close All"/>
-  <commands xmi:id="__usGAD4ZEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.command.openperspective" commandName="Open Perspective">
+  <commands xmi:id="__usGAD4ZEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.command.openPerspective" commandName="Open Perspective">
     <parameters xmi:id="_TgkVED4aEeiR-OuUuIB1Aw" elementId="perspectiveId" name="Perspective Id" optional="false"/>
   </commands>
   <commands xmi:id="__L724D4cEeiR-OuUuIB1Aw" elementId="org.argeo.suite.e4.command.doNothing" commandName="Do Nothing"/>
index 3f95d8c4715ec1fd45579f92df20b6f1c4458bb4..d29db289d952cdafe5d972d48d186a6f9fd80d97 100644 (file)
@@ -33,6 +33,7 @@ import org.argeo.connect.util.XPathUtils;
 import org.argeo.eclipse.ui.EclipseUiUtils;
 import org.argeo.jcr.JcrUtils;
 import org.argeo.people.PeopleService;
+import org.eclipse.e4.ui.di.Focus;
 import org.eclipse.jface.layout.TableColumnLayout;
 import org.eclipse.jface.viewers.ColumnWeightData;
 import org.eclipse.jface.viewers.ILabelProvider;
@@ -183,7 +184,7 @@ public class QuickSearchView implements Refreshable {
                JcrUtils.logoutQuietly(session);
        }
 
-       
+       @Focus
        public void setFocus() {
                refreshFilteredList();
                filterTxt.setFocus();
diff --git a/org.argeo.suite.standard/.classpath b/org.argeo.suite.standard/.classpath
new file mode 100644 (file)
index 0000000..eca7bdb
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/org.argeo.suite.standard/.gitignore b/org.argeo.suite.standard/.gitignore
new file mode 100644 (file)
index 0000000..e0e1cc4
--- /dev/null
@@ -0,0 +1,2 @@
+/bin/
+/target
diff --git a/org.argeo.suite.standard/.project b/org.argeo.suite.standard/.project
new file mode 100644 (file)
index 0000000..22ed203
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.suite.standard</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/org.argeo.suite.standard/META-INF/.gitignore b/org.argeo.suite.standard/META-INF/.gitignore
new file mode 100644 (file)
index 0000000..4854a41
--- /dev/null
@@ -0,0 +1 @@
+/MANIFEST.MF
diff --git a/org.argeo.suite.standard/bnd.bnd b/org.argeo.suite.standard/bnd.bnd
new file mode 100644 (file)
index 0000000..e2dbcd2
--- /dev/null
@@ -0,0 +1,2 @@
+Bundle-SymbolicName: org.argeo.suite.standard;singleton:=true
+Bundle-ActivationPolicy: lazy
diff --git a/org.argeo.suite.standard/build.properties b/org.argeo.suite.standard/build.properties
new file mode 100644 (file)
index 0000000..34d2e4d
--- /dev/null
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .
diff --git a/org.argeo.suite.standard/e4xmi/standard-toolbars.e4xmi b/org.argeo.suite.standard/e4xmi/standard-toolbars.e4xmi
new file mode 100644 (file)
index 0000000..ef70419
--- /dev/null
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ASCII"?>
+<fragment:ModelFragments xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:commands="http://www.eclipse.org/ui/2010/UIModel/application/commands" xmlns:fragment="http://www.eclipse.org/ui/2010/UIModel/fragment" xmlns:menu="http://www.eclipse.org/ui/2010/UIModel/application/ui/menu" xmi:id="_IEOXAEIfEeij3Nr_iRrJtw">
+  <imports xsi:type="commands:Command" xmi:id="_IEOXAUIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.command.createEntity" commandName="Create">
+    <parameters xmi:id="_IEOXAkIfEeij3Nr_iRrJtw" elementId="targetNodeType" name="targetNodeType" optional="false"/>
+  </imports>
+  <imports xsi:type="commands:Command" xmi:id="_M5YvJkIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.command.openPerspective" commandName="Open Perspective">
+    <parameters xmi:id="_M5YvJ0IfEeij3Nr_iRrJtw" elementId="perspectiveId" name="Perspective Id" optional="false"/>
+  </imports>
+  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_IEOXA0IfEeij3Nr_iRrJtw" featurename="children" parentElementId="org.argeo.suite.e4.trimbar.top">
+    <elements xsi:type="menu:ToolBar" xmi:id="_IEOXBEIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.toolbar.newEntity">
+      <children xsi:type="menu:HandledToolItem" xmi:id="_IEOXBUIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.createTask" label="New Task" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/todo.png" command="_IEOXAUIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_IEOXBkIfEeij3Nr_iRrJtw" elementId="targetNodeType" name="targetNodeType" value="activities:task"/>
+      </children>
+      <children xsi:type="menu:HandledToolItem" xmi:id="_IEOXB0IfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.createPerson" label="New Person" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/person.png" command="_IEOXAUIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_IEOXCEIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.0" name="targetNodeType" value="people:person"/>
+      </children>
+      <children xsi:type="menu:HandledToolItem" xmi:id="_IEOXCUIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.neworg" label="New Org" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/organisation.png" command="_IEOXAUIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_IEOXCkIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.1" name="targetNodeType" value="people:org"/>
+      </children>
+      <children xsi:type="menu:HandledToolItem" xmi:id="_IEOXC0IfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.newproject" label="New Project" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/project.png" command="_IEOXAUIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_IEOXDEIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.2" name="targetNodeType" value="tracker:project"/>
+      </children>
+      <children xsi:type="menu:HandledToolItem" xmi:id="_IEOXDUIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.newmilestone" label="New Milestone" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/milestone.png" command="_IEOXAUIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_IEOXDkIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.3" name="targetNodeType" value="tracker:milestone"/>
+      </children>
+      <children xsi:type="menu:HandledToolItem" xmi:id="_IEOXD0IfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.newtask" label="New Task" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/task.png" command="_IEOXAUIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_IEOXEEIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.4" name="targetNodeType" value="tracker:task"/>
+      </children>
+    </elements>
+  </fragments>
+  <fragments xsi:type="fragment:StringModelFragment" xmi:id="_M5YvIEIfEeij3Nr_iRrJtw" featurename="children" parentElementId="org.argeo.suite.e4.trimbar.0">
+    <elements xsi:type="menu:ToolBar" xmi:id="_M5YvIUIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.toolbar.perspectives">
+      <children xsi:type="menu:HandledToolItem" xmi:id="_M5YvIkIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.0" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/dashboard.png" command="_M5YvJkIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_M5YvI0IfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.5" name="perspectiveId" value="org.argeo.suite.e4.perspective.dashboard"/>
+      </children>
+      <children xsi:type="menu:HandledToolItem" xmi:id="_M5YvJEIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.handledtoolitem.1" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/folder.png" command="_M5YvJkIfEeij3Nr_iRrJtw">
+        <parameters xmi:id="_M5YvJUIfEeij3Nr_iRrJtw" elementId="org.argeo.suite.e4.parameter.6" name="perspectiveId" value="org.argeo.suite.e4.perspective.folders"/>
+      </children>
+    </elements>
+  </fragments>
+</fragment:ModelFragments>
diff --git a/org.argeo.suite.standard/plugin.xml b/org.argeo.suite.standard/plugin.xml
new file mode 100644 (file)
index 0000000..c4d9794
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin>
+
+   <extension
+         id="org.argeo.suite.e4.fragment"
+         point="org.eclipse.e4.workbench.model">
+      <fragment
+            uri="e4xmi/standard-toolbars.e4xmi">
+      </fragment>
+   </extension>
+
+</plugin>
diff --git a/org.argeo.suite.standard/pom.xml b/org.argeo.suite.standard/pom.xml
new file mode 100644 (file)
index 0000000..1b7bb09
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.argeo.suite</groupId>
+               <artifactId>argeo-suite</artifactId>
+               <version>0.1.13-SNAPSHOT</version>
+               <relativePath>..</relativePath>
+       </parent>
+       <artifactId>org.argeo.suite.standard</artifactId>
+       <name>Standard Suite</name>
+       <packaging>jar</packaging>
+       <dependencies>
+               <dependency>
+                       <groupId>org.argeo.suite</groupId>
+                       <artifactId>org.argeo.suite.e4</artifactId>
+                       <version>0.1.13-SNAPSHOT</version>
+               </dependency>
+       </dependencies>
+</project>
diff --git a/pom.xml b/pom.xml
index 46dc56e394f1a69fcecbef7a9d2f81c44188c856..079be9aab40e8ddddc48819295fc5939d55ef6db 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,7 @@
                <module>org.argeo.suite.cms</module>
                <module>org.argeo.suite.e4</module>
                <module>org.argeo.suite.e4.rap</module>
+               <module>org.argeo.suite.standard</module>
 
                <!-- Workbench -->
                <module>org.argeo.suite.apps</module>