<plugin id="org.argeo.dep.osgi.tika"/>
<plugin id="org.argeo.eclipse.ui"/>
<plugin id="org.argeo.eclipse.ui.jcr"/>
+ <plugin id="org.argeo.eclipse.ui.rap"/>
<plugin id="org.argeo.jcr.ui.explorer"/>
<plugin id="org.argeo.node.repo.jackrabbit"/>
<plugin id="org.argeo.security.activemq"/>
<plugin id="org.argeo.security.core"/>
<plugin id="org.argeo.security.equinox"/>
+ <plugin id="org.argeo.security.jackrabbit" fragment="true"/>
<plugin id="org.argeo.security.ldap"/>
<plugin id="org.argeo.security.manager.ldap"/>
<plugin id="org.argeo.security.services"/>
<plugin id="org.argeo.server.ext.jackrabbit" fragment="true"/>
<plugin id="org.argeo.server.jackrabbit"/>
<plugin id="org.argeo.server.jcr"/>
+ <plugin id="org.argeo.server.jcr.mvc"/>
<plugin id="org.argeo.server.jdbc" fragment="true"/>
<plugin id="org.argeo.server.json"/>
<plugin id="org.argeo.server.tika.jackrabbit" fragment="true"/>
<plugin id="org.argeo.slc.client.ui.dist"/>
<plugin id="org.argeo.slc.core"/>
<plugin id="org.argeo.slc.demo.agent" fragment="true"/>
- <plugin id="org.argeo.slc.demo.ant"/>
- <plugin id="org.argeo.slc.demo.basic"/>
+ <plugin id="org.argeo.slc.demo.ant" fragment=""/>
+ <plugin id="org.argeo.slc.demo.basic" fragment=""/>
<plugin id="org.argeo.slc.demo.log4j" fragment="true"/>
<plugin id="org.argeo.slc.detached"/>
<plugin id="org.argeo.slc.ext.activemq" fragment="true"/>
<plugin id="org.argeo.slc.support.maven"/>
<plugin id="org.argeo.slc.support.osgi"/>
<plugin id="org.argeo.slc.support.simple"/>
- <plugin id="org.argeo.slc.ui.gis"/>
- <plugin id="org.argeo.slc.ui.gis.rcp"/>
+ <plugin id="org.argeo.slc.ui.gis" fragment=""/>
+ <plugin id="org.argeo.slc.ui.gis.rcp" fragment=""/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.core.databinding"/>
<plugin id="org.argeo.dep.osgi.tagsoup"/>
<plugin id="org.argeo.dep.osgi.tika"/>
<plugin id="org.argeo.eclipse.ui"/>
+ <plugin id="org.argeo.eclipse.ui.jcr"/>
+ <plugin id="org.argeo.eclipse.ui.rcp"/>
<plugin id="org.argeo.security.activemq"/>
<plugin id="org.argeo.security.core"/>
<plugin id="org.argeo.security.equinox"/>
+ <plugin id="org.argeo.security.jackrabbit" fragment="true"/>
<plugin id="org.argeo.security.ldap"/>
<plugin id="org.argeo.security.manager.ldap"/>
<plugin id="org.argeo.security.services"/>
<plugin id="org.argeo.server.ads.server"/>
<plugin id="org.argeo.server.core"/>
<plugin id="org.argeo.server.ext.jackrabbit" fragment="true"/>
+ <plugin id="org.argeo.server.jcr"/>
<plugin id="org.argeo.server.jdbc" fragment="true"/>
<plugin id="org.argeo.server.json"/>
<plugin id="org.argeo.server.tika.jackrabbit" fragment="true"/>
<plugin id="org.argeo.slc.agent.ext.jdbc" fragment="true"/>
<plugin id="org.argeo.slc.agent.ext.xalan" fragment="true"/>
<plugin id="org.argeo.slc.client.agent"/>
- <plugin id="org.argeo.slc.client.commons"/>
+ <plugin id="org.argeo.slc.client.commons" fragment=""/>
<plugin id="org.argeo.slc.client.core"/>
<plugin id="org.argeo.slc.client.hibernate"/>
<plugin id="org.argeo.slc.client.oxm"/>
<plugin id="org.argeo.slc.client.ui.dist"/>
<plugin id="org.argeo.slc.core"/>
<plugin id="org.argeo.slc.demo.agent" fragment="true"/>
- <plugin id="org.argeo.slc.demo.ant" fragment=""/>
+ <plugin id="org.argeo.slc.demo.ant"/>
<plugin id="org.argeo.slc.demo.basic"/>
<plugin id="org.argeo.slc.demo.log4j" fragment="true"/>
<plugin id="org.argeo.slc.detached"/>
<plugin id="org.argeo.slc.ext.activemq" fragment="true"/>
+ <plugin id="org.argeo.slc.gis.ext.dbcp" fragment="true"/>
<plugin id="org.argeo.slc.server"/>
<plugin id="org.argeo.slc.server.castor"/>
<plugin id="org.argeo.slc.server.h2"/>
<plugin id="org.argeo.server.ads.server" autoStart="true" startLevel="0" />
<plugin id="org.argeo.slc.agent" autoStart="true" startLevel="0" />
<plugin id="org.argeo.slc.client.agent" autoStart="true" startLevel="0" />
- <plugin id="org.argeo.slc.client.commons" autoStart="true" startLevel="0" />
<plugin id="org.argeo.slc.client.core" autoStart="true" startLevel="0" />
<plugin id="org.argeo.slc.client.hibernate" autoStart="true" startLevel="0" />
<plugin id="org.argeo.slc.client.oxm" autoStart="true" startLevel="0" />
org.eclipse.rap.ui.workbench;resolution:=optional
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.argeo.slc.client.ui.listeners,
+Export-Package: org.argeo.slc.client.ui,
+ org.argeo.slc.client.ui.listeners,
org.argeo.slc.client.ui.perspectives,
org.argeo.slc.client.ui.views
Import-Package: org.apache.commons.io;version="1.4.0",
--- /dev/null
+package org.argeo.slc.client.ui;
+
+import org.eclipse.jface.resource.ImageDescriptor;
+import org.eclipse.jface.resource.ImageRegistry;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class ClientUiPlugin extends AbstractUIPlugin {
+
+ // The plug-in ID
+ public static final String PLUGIN_ID = "org.argeo.slc.client.ui";
+
+ // The shared instance
+ private static ClientUiPlugin plugin;
+
+ private BundleContext bundleContext;
+
+ /**
+ * The constructor
+ */
+ public ClientUiPlugin() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
+ * )
+ */
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ this.bundleContext = context;
+ plugin = this;
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
+ * )
+ */
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static ClientUiPlugin getDefault() {
+ return plugin;
+ }
+
+ /**
+ * Returns an image descriptor for the image file at the given plug-in
+ * relative path
+ *
+ * @param path
+ * the path
+ * @return the image descriptor
+ */
+ public static ImageDescriptor getImageDescriptor(String path) {
+ return imageDescriptorFromPlugin(PLUGIN_ID, path);
+ }
+
+ @Override
+ protected void initializeImageRegistry(ImageRegistry reg) {
+ reg.put("agent", getImageDescriptor("icons/agent.gif"));
+ reg.put("executionModule", getImageDescriptor("icons/module.png"));
+ reg.put("folder", getImageDescriptor("icons/folder.gif"));
+ reg.put("flow", getImageDescriptor("icons/flow.png"));
+ reg.put("processes", getImageDescriptor("icons/processes.gif"));
+ reg.put("passedTest", getImageDescriptor("icons/passed.gif"));
+ reg.put("failedTest", getImageDescriptor("icons/error.gif"));
+ }
+
+ public BundleContext getBundleContext() {
+ return bundleContext;
+ }
+
+}
+++ /dev/null
-<?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/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src/main/java"/>
- <classpathentry kind="output" path="target/classes"/>
-</classpath>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.argeo.slc.client.commons</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>
+++ /dev/null
-#Mon Nov 08 17:00:09 CET 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
+++ /dev/null
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Client commons
-Bundle-SymbolicName: org.argeo.slc.client.commons;singleton:=true
-Bundle-Version: 0.13.1.SNAPSHOT
-Require-Bundle: org.eclipse.ui;resolution:=optional,
- org.eclipse.core.runtime;resolution:=optional,
- org.eclipse.rap.ui;resolution:=optional,
- org.eclipse.rap.ui.workbench;resolution:=optional
-Bundle-ActivationPolicy: lazy
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Export-Package: org.argeo.slc.client.ui
+++ /dev/null
-source.. = src/main/java
-output.. = target/classes
-bin.includes = META-INF/,\
- .,\
- icons/
-
\ No newline at end of file
+++ /dev/null
-<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.slc.eclipse</groupId>
- <artifactId>runtime</artifactId>
- <version>0.13.1-SNAPSHOT</version>
- <relativePath>..</relativePath>
- </parent>
- <artifactId>org.argeo.slc.client.commons</artifactId>
- <name>SLC Eclipse Commons</name>
- <packaging>jar</packaging>
- <dependencies>
- <!-- SLC -->
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.core</artifactId>
- <version>${version.slc}</version>
- </dependency>
-
- <dependency>
- <groupId>org.argeo.slc.runtime</groupId>
- <artifactId>org.argeo.slc.server</artifactId>
- <version>${version.slc}</version>
- </dependency>
- <!-- Commons -->
- <dependency>
- <groupId>org.argeo.commons.eclipse</groupId>
- <artifactId>org.argeo.eclipse.ui</artifactId>
- <version>${version.argeo-commons}</version>
- </dependency>
- <!-- Eclipse <dependency> <groupId>org.eclipse.ui</groupId> <artifactId>org.eclipse.ui</artifactId>
- </dependency> -->
- <!-- Eclipse and RCP only dependency, needed at compile time -->
- <dependency>
- <groupId>org.argeo.commons.eclipse</groupId>
- <artifactId>org.argeo.eclipse.dep.rcp</artifactId>
- <version>${version.argeo-commons}</version>
- <scope>provided</scope>
- </dependency>
-
- <dependency>
- <groupId>org.eclipse.core</groupId>
- <artifactId>org.eclipse.core.runtime</artifactId>
- </dependency>
- <dependency>
- <groupId>org.eclipse.swt</groupId>
- <artifactId>org.eclipse.swt.gtk.linux.x86_64</artifactId>
- </dependency>
- </dependencies>
-</project>
+++ /dev/null
-package org.argeo.slc.client.ui;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class ClientUiPlugin extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.argeo.slc.client.ui";
-
- // The shared instance
- private static ClientUiPlugin plugin;
-
- private BundleContext bundleContext;
-
- /**
- * The constructor
- */
- public ClientUiPlugin() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext
- * )
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- this.bundleContext = context;
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see
- * org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext
- * )
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static ClientUiPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns an image descriptor for the image file at the given plug-in
- * relative path
- *
- * @param path
- * the path
- * @return the image descriptor
- */
- public static ImageDescriptor getImageDescriptor(String path) {
- return imageDescriptorFromPlugin(PLUGIN_ID, path);
- }
-
- @Override
- protected void initializeImageRegistry(ImageRegistry reg) {
- reg.put("agent", getImageDescriptor("icons/agent.gif"));
- reg.put("executionModule", getImageDescriptor("icons/module.png"));
- reg.put("folder", getImageDescriptor("icons/folder.gif"));
- reg.put("flow", getImageDescriptor("icons/flow.png"));
- reg.put("processes", getImageDescriptor("icons/processes.gif"));
- reg.put("passedTest", getImageDescriptor("icons/passed.gif"));
- reg.put("failedTest", getImageDescriptor("icons/error.gif"));
- }
-
- public BundleContext getBundleContext() {
- return bundleContext;
- }
-
-}
org.apache.commons.logging;version="1.1.1",
org.argeo.eclipse.spring,
org.argeo.eclipse.ui,
- org.argeo.slc.client.ui,
org.argeo.slc.core.structure.tree,
org.argeo.slc.core.test.tree,
org.argeo.slc.dao.process,
<relativePath>..</relativePath>
</parent>
<artifactId>org.argeo.slc.client.core</artifactId>
- <name>SLC Eclipse core</name>
+ <name>SLC Eclipse Core</name>
<packaging>jar</packaging>
- <dependencies>
-
- <!-- SLC Client UI -->
- <dependency>
- <groupId>org.argeo.slc.eclipse</groupId>
- <artifactId>org.argeo.slc.client.commons</artifactId>
- <version>${version.slc}</version>
- </dependency>
-
+ <dependencies>
<!-- Commons For Eclipse -->
<dependency>
<groupId>org.argeo.commons.eclipse</groupId>
import org.argeo.eclipse.ui.TreeParent;
import org.argeo.slc.client.contentprovider.ResultDetailContentProvider.ResultPartNode;
import org.argeo.slc.client.contentprovider.ResultDetailContentProvider.StatusAware;
-import org.argeo.slc.client.ui.ClientUiPlugin;
import org.eclipse.jface.viewers.ITableLabelProvider;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;
public Image getImage(Object element) {
if (element instanceof StatusAware) {
- if (((StatusAware) element).isPassed())
- return ClientUiPlugin.getDefault().getImageRegistry()
- .get("passedTest");
- else
- return ClientUiPlugin.getDefault().getImageRegistry()
- .get("failedTest");
+ // FIXME: fin icons somewhere
+// if (((StatusAware) element).isPassed())
+// return ClientUiPlugin.getDefault().getImageRegistry()
+// .get("passedTest");
+// else
+// return ClientUiPlugin.getDefault().getImageRegistry()
+// .get("failedTest");
}
return null;
}
<name>SLC Eclipse Runtime</name>
<packaging>pom</packaging>
<modules>
- <module>org.argeo.slc.client.commons</module>
<module>org.argeo.slc.client.oxm</module>
<module>org.argeo.slc.client.core</module>
</modules>
--- /dev/null
+package org.argeo.slc.jcr;
+
+import java.util.List;
+
+import org.argeo.slc.execution.ExecutionModuleDescriptor;
+import org.argeo.slc.process.SlcExecution;
+import org.argeo.slc.runtime.SlcAgent;
+
+public class JcrAgent implements SlcAgent {
+
+ public String getAgentUuid() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public ExecutionModuleDescriptor getExecutionModuleDescriptor(
+ String moduleName, String version) {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public List<ExecutionModuleDescriptor> listExecutionModuleDescriptors() {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+ public void runSlcExecution(SlcExecution slcExecution) {
+ // TODO Auto-generated method stub
+
+ }
+
+ public boolean ping() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+}
--- /dev/null
+package org.argeo.slc.jcr;
+
+public interface SlcTypes {
+
+ public final static String SLC_AGENT = "slc:agent";
+}