Bundle-SymbolicName: org.argeo.suite.cms
Bundle-Version: 1.0.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
-Service-Component: OSGI-INF/resourcesService.xml,
- OSGI-INF/activitiesService.xml,
- OSGI-INF/systemAppService.xml,
- OSGI-INF/userManagerService.xml,
- OSGI-INF/peopleService.xml,
- OSGI-INF/systemMaintenanceService.xml,
- OSGI-INF/activitiesMaintenanceService.xml,
- OSGI-INF/resourcesMaintenanceService.xml,
- OSGI-INF/peopleMaintenanceService.xml
+Service-Component: OSGI-INF/resourcesService.xml,OSGI-INF/activitiesService.xml,OSGI-INF/systemAppService.xml,OSGI-INF/userManagerService.xml,OSGI-INF/peopleService.xml,OSGI-INF/systemMaintenanceService.xml,OSGI-INF/activitiesMaintenanceService.xml,OSGI-INF/resourcesMaintenanceService.xml,OSGI-INF/peopleMaintenanceService.xml,OSGI-INF/trackerService.xml,OSGI-INF/documentsService.xml,
+ OSGI-INF/trackerMaintenanceService.xml
Import-Package: javax.jcr;version="2.0.0",
javax.transaction,
org.argeo.activities;version="2.1.79.SNAPSHOT-r201803241506",
org.argeo.connect.core;version="2.1.79.SNAPSHOT-r201803241506",
org.argeo.connect.resources;version="2.1.79.SNAPSHOT-r201803241506",
org.argeo.connect.resources.core;version="2.1.79.SNAPSHOT-r201803241506",
+ org.argeo.documents.core;version="2.1.79.SNAPSHOT-r201803241506",
org.argeo.people;version="2.1.79.SNAPSHOT-r201803241506",
org.argeo.people.core;version="2.1.79.SNAPSHOT-r201803241506",
+ org.argeo.tracker.core;version="2.1.79.SNAPSHOT-r201803241506",
org.osgi.service.useradmin;version="1.1.0"
Bundle-ActivationPolicy: lazy
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Documents Service">
+ <implementation class="org.argeo.documents.core.DocumentsServiceImpl"/>
+ <service>
+ <provide interface="org.argeo.connect.AppService"/>
+ <provide interface="org.argeo.documents.DocumentsService"/>
+ </service>
+</scr:component>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Tracker Maintenance Service">
+ <implementation class="org.argeo.tracker.core.TrackerMaintenanceService"/>
+ <service>
+ <provide interface="org.argeo.connect.AppMaintenanceService"/>
+ </service>
+</scr:component>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Tracker Service">
+ <implementation class="org.argeo.tracker.core.TrackerServiceImpl"/>
+ <service>
+ <provide interface="org.argeo.connect.AppService"/>
+ <provide interface="org.argeo.tracker.TrackerService"/>
+ </service>
+ <reference bind="setActivitiesService" cardinality="1..1" interface="org.argeo.activities.ActivitiesService" name="ActivitiesService" policy="static"/>
+</scr:component>
OSGI-INF/resourcesService.xml,\
OSGI-INF/activitiesService.xml,\
OSGI-INF/peopleService.xml,\
+ OSGI-INF/trackerService.xml,\
+ OSGI-INF/documentsService.xml,\
OSGI-INF/systemMaintenanceService.xml,\
OSGI-INF/activitiesMaintenanceService.xml,\
OSGI-INF/resourcesMaintenanceService.xml,\
- OSGI-INF/peopleMaintenanceService.xml
+ OSGI-INF/peopleMaintenanceService.xml,\
+ OSGI-INF/trackerMaintenanceService.xml
\ No newline at end of file
OSGI-INF/systemMaintenanceService.xml,\
OSGI-INF/activitiesMaintenanceService.xml,\
OSGI-INF/resourcesMaintenanceService.xml,\
- OSGI-INF/peopleMaintenanceService.xml
+ OSGI-INF/peopleMaintenanceService.xml,\
+ OSGI-INF/trackerService.xml,\
+ OSGI-INF/documentsService.xml,\
+ OSGI-INF/trackerMaintenanceService.xml
source.. = src/
org.argeo.connect.ui;version="2.1.79.SNAPSHOT-r201803241506",
org.argeo.people.e4,
org.eclipse.rap.rwt.application;version="3.4.0"
-Service-Component: OSGI-INF/argeo-office-rap.xml,OSGI-INF/systemE4Service.xml,OSGI-INF/activitiesE4Service.xml,
- OSGI-INF/peopleE4Service.xml
+Service-Component: OSGI-INF/argeo-office-rap.xml
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Activities Service">
- <implementation class="org.argeo.activities.e4.ActivitiesE4Service"/>
- <service>
- <provide interface="org.argeo.connect.ui.AppWorkbenchService"/>
- </service>
- <reference bind="setUserAdminService" cardinality="1..1" interface="org.argeo.connect.UserAdminService" name="UserAdminService" policy="static"/>
- <reference bind="setActivitiesService" cardinality="1..1" interface="org.argeo.activities.ActivitiesService" name="ActivitiesService" policy="static"/>
-</scr:component>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="People E4 Service">
- <implementation class="org.argeo.people.e4.PeopleE4Service"/>
- <service>
- <provide interface="org.argeo.connect.ui.AppWorkbenchService"/>
- </service>
-</scr:component>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="System E4 Service">
- <implementation class="org.argeo.connect.e4.SystemE4Service"/>
- <service>
- <provide interface="org.eclipse.e4.core.contexts.IContextFunction"/>
- </service>
- <reference bind="addAppService" cardinality="0..n" interface="org.argeo.connect.ui.AppWorkbenchService" name="AppWorkbenchService" policy="dynamic" unbind="removeAppService"/>
- <property name="service.context.key" type="String" value="org.argeo.connect.ui.SystemWorkbenchService"/>
-</scr:component>
.,\
OSGI-INF/systemE4Service.xml,\
OSGI-INF/activitiesE4Service.xml,\
- OSGI-INF/peopleE4Service.xml
+ OSGI-INF/peopleE4Service.xml,\
+ OSGI-INF/documentsE4Service.xml
source.. = src/
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ds.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
javax.jcr.query;version="2.0.0",\r
org.apache.commons.logging;version="1.1.1",\r
org.argeo.activities;version="2.1.79.SNAPSHOT-r201803241506",\r
+ org.argeo.activities.e4,\r
+ org.argeo.activities.e4.parts,\r
org.argeo.activities.ui;version="2.1.79.SNAPSHOT-r201803241506",\r
org.argeo.cms.auth;version="2.1.73.SNAPSHOT-r201803221729",\r
org.argeo.cms.ui.eclipse.forms;version="2.1.73.SNAPSHOT-r201803221729",\r
org.argeo.cms.util;version="2.1.73.SNAPSHOT-r201803221729",\r
org.argeo.connect;version="2.1.79.SNAPSHOT-r201803241506",\r
+ org.argeo.connect.e4,\r
org.argeo.connect.e4.handlers,\r
+ org.argeo.connect.e4.parts,\r
org.argeo.connect.resources;version="2.1.79.SNAPSHOT-r201803241506",\r
org.argeo.connect.ui,\r
org.argeo.connect.ui.util;version="2.1.79.SNAPSHOT-r201803241506",\r
org.argeo.connect.ui.widgets;version="2.1.79.SNAPSHOT-r201803241506",\r
org.argeo.connect.util;version="2.1.79.SNAPSHOT-r201803241506",\r
+ org.argeo.documents.e4,\r
+ org.argeo.documents.e4.parts,\r
org.argeo.eclipse.ui;version="2.1.73.SNAPSHOT-r201803221729",\r
org.argeo.jcr;version="2.1.73.SNAPSHOT-r201803221729",\r
org.argeo.node;version="2.1.0",\r
org.eclipse.swt.graphics,\r
org.eclipse.swt.layout,\r
org.eclipse.swt.widgets\r
+Service-Component: OSGI-INF/systemE4Service.xml,OSGI-INF/activitiesE4Service.xml,OSGI-INF/peopleE4Service.xml,OSGI-INF/documentsE4Service.xml\r
+Bundle-ActivationPolicy: lazy\r
\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Activities Service">
+ <implementation class="org.argeo.activities.e4.ActivitiesE4Service"/>
+ <service>
+ <provide interface="org.argeo.connect.ui.AppWorkbenchService"/>
+ <provide interface="org.argeo.connect.e4.AppE4Service"/>
+ </service>
+ <reference bind="setUserAdminService" cardinality="1..1" interface="org.argeo.connect.UserAdminService" name="UserAdminService" policy="static"/>
+ <reference bind="setActivitiesService" cardinality="1..1" interface="org.argeo.activities.ActivitiesService" name="ActivitiesService" policy="static"/>
+</scr:component>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="Documents E4 Service">
+ <implementation class="org.argeo.documents.e4.DocumentsE4Service"/>
+ <service>
+ <provide interface="org.argeo.connect.ui.AppWorkbenchService"/>
+ <provide interface="org.argeo.connect.e4.AppE4Service"/>
+ </service>
+</scr:component>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="People E4 Service">
+ <implementation class="org.argeo.people.e4.PeopleE4Service"/>
+ <service>
+ <provide interface="org.argeo.connect.ui.AppWorkbenchService"/>
+ <provide interface="org.argeo.connect.e4.AppE4Service"/>
+ </service>
+</scr:component>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.1.0" immediate="true" name="System E4 Service">
+ <implementation class="org.argeo.connect.e4.SystemE4Service"/>
+ <service>
+ <provide interface="org.eclipse.e4.core.contexts.IContextFunction"/>
+ </service>
+ <reference bind="addAppService" cardinality="0..n" interface="org.argeo.connect.ui.AppWorkbenchService" name="AppWorkbenchService" policy="dynamic" unbind="removeAppService"/>
+ <property name="service.context.key" type="String" value="org.argeo.connect.ui.SystemWorkbenchService"/>
+</scr:component>
--- /dev/null
+Bundle-ActivationPolicy: lazy
+Service-Component: OSGI-INF/systemE4Service.xml,OSGI-INF/activitiesE4Service.xml,OSGI-INF/peopleE4Service.xml,OSGI-INF/documentsE4Service.xml
<children xsi:type="basic:PartStack" xmi:id="_orJxUDAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partstack.0" containerData="3000">
<tags>minimized</tags>
<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="_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 xsi:type="basic:PartStack" xmi:id="_vLza4DAVEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partstack.1" containerData="7000">
<tags>entityEditorArea</tags>
<handlers xmi:id="_9gu00DDgEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.handler.1" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.connect.e4.handlers.SavePart" command="_1lO94DDgEeiUfOa4rxEKwQ"/>
<handlers xmi:id="_ADDAkDDhEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.handler.2" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.connect.e4.handlers.SaveAllParts" command="_5EpEADDgEeiUfOa4rxEKwQ"/>
<handlers xmi:id="_ZBWe8DDmEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.handler.3" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.connect.e4.handlers.CloseAllParts" command="_VdldQDDmEeiUfOa4rxEKwQ"/>
- <bindingTables xmi:id="_gxEm4DDqEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.bindingtable.0">
+ <bindingTables xmi:id="_gxEm4DDqEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.bindingtable.0" bindingContext="_Byl7gDD1EeiUfOa4rxEKwQ">
<bindings xmi:id="_hj9cYDDqEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.keybinding.0" keySequence="CTRL+S" command="_1lO94DDgEeiUfOa4rxEKwQ"/>
<bindings xmi:id="_pEAGYDDqEeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.keybinding.1" keySequence="SHIFT+CTRL+S" command="_5EpEADDgEeiUfOa4rxEKwQ"/>
</bindingTables>
+ <rootContext xmi:id="_Byl7gDD1EeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.bindingcontext.main" name="Main"/>
<descriptors xmi:id="_pud7kDAtEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partdescriptor.taskEditor" label="Task" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/task.png" allowMultiple="true" category="entityEditorArea" closeable="true" dirtyable="true" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.activities.e4.parts.TaskEditor"/>
<descriptors xmi:id="_JsNs8DBiEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partdescriptor.personEditor" label="Person" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/person.png" allowMultiple="true" category="entityEditorArea" closeable="true" dirtyable="true" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.people.e4.parts.PersonEditor"/>
<descriptors xmi:id="_RxqxIDBiEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.partdescriptor.orgEditor" label="Organisation" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/organisation.png" allowMultiple="true" category="entityEditorArea" closeable="true" dirtyable="true" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.people.e4.parts.OrgEditor"/>
+ <descriptors xmi:id="_GkmucDD0EeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.partdescriptor.file" label="File" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/file.png" allowMultiple="true" category="entityEditorArea" closeable="true" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.documents.e4.parts.FileEditor"/>
+ <descriptors xmi:id="_NjQioDD0EeiUfOa4rxEKwQ" elementId="org.argeo.suite.e4.partdescriptor.folder" label="Folder" iconURI="platform:/plugin/org.argeo.theme.argeo2/icons/types/folder.png" allowMultiple="true" category="entityEditorArea" closeable="true" contributionURI="bundleclass://org.argeo.connect.e4/org.argeo.documents.e4.parts.FolderEditor"/>
<commands xmi:id="_2Xkt8DApEei3AbO1ldMI0w" elementId="org.argeo.suite.e4.command.createEntity" commandName="Create">
<parameters xmi:id="_GnXrcDAsEei3AbO1ldMI0w" elementId="targetNodeType" name="targetNodeType" optional="false"/>
</commands>
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
+import javax.inject.Inject;
import javax.jcr.Node;
import javax.jcr.Repository;
import javax.jcr.Session;
public abstract class AbstractSuiteDashboard {
// DEPENDENCY INJECTION
+ @Inject
private Repository repository;
+ @Inject
private ResourcesService resourcesService;
+ @Inject
private SystemAppService systemAppService;
+ @Inject
private SystemWorkbenchService systemWorkbenchService;
private Session session;
import java.util.List;
import javax.annotation.PostConstruct;
+import javax.inject.Inject;
import javax.jcr.Node;
import javax.jcr.NodeIterator;
import javax.jcr.Property;
// public final static String ID = AsUiPlugin.PLUGIN_ID +
// ".defaultDashboardEditor";
+ @Inject
private ActivitiesService activitiesService;
+ @Inject
private TrackerService trackerService;
private String datePattern = "dd MMM yyyy";
import org.argeo.people.ui.providers.PersonListLabelProvider;
import org.argeo.tracker.TrackerTypes;
import org.argeo.tracker.ui.TrackerSingleColLP;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ILabelProviderListener;
+import org.eclipse.jface.viewers.ColumnLabelProvider;
import org.eclipse.swt.graphics.Image;
/**
* Provide a single column label provider for entity lists. Icon and displayed
* text vary with the element node type
*/
-public class EntitySingleColumnLabelProvider implements PeopleNames, ILabelProvider {
+public class EntitySingleColumnLabelProvider extends ColumnLabelProvider implements PeopleNames {
private static final long serialVersionUID = 3111885324210673320L;
private SystemWorkbenchService systemWorkbenchService;
return systemWorkbenchService.getIconForType((Node) element);
}
- @Override
- public void addListener(ILabelProviderListener listener) {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void dispose() {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public boolean isLabelProperty(Object element, String property) {
- // TODO Auto-generated method stub
- return false;
- }
-
- @Override
- public void removeListener(ILabelProviderListener listener) {
- // TODO Auto-generated method stub
-
- }
-
}