Author: koen.aers(a)jboss.com
Date: 2008-07-23 10:24:42 -0400 (Wed, 23 Jul 2008)
New Revision: 9243
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.classpath
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.project
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.settings/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.settings/org.eclipse.jdt.core.prefs
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/META-INF/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/META-INF/MANIFEST.MF
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/build.properties
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/EndState.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Node.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Process.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/StartState.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/State.java
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Transition.java
Log:
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.classpath
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.classpath
(rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.classpath 2008-07-23 14:24:42 UTC
(rev 9243)
@@ -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/J2SE-1.5"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.project
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.project
(rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.project 2008-07-23 14:24:42 UTC
(rev 9243)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.flow.jpdl4.core</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>
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/.settings/org.eclipse.jdt.core.prefs 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,7 @@
+#Tue Jul 15 16:33:56 CEST 2008
+eclipse.preferences.version=1
+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
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/META-INF/MANIFEST.MF 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,8 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Core Plug-in
+Bundle-SymbolicName: org.jboss.tools.flow.jpdl4.core
+Bundle-Version: 1.0.0
+Bundle-Vendor: JBoss, a Division of Red Hat
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.jboss.tools.process.jpdl4.core
Added: trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/build.properties
===================================================================
--- trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/build.properties
(rev 0)
+++ trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/build.properties 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/EndState.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/EndState.java
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/EndState.java 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,5 @@
+package org.jboss.tools.process.jpdl4.core;
+
+public class EndState extends Node {
+
+}
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Node.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Node.java
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Node.java 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,45 @@
+package org.jboss.tools.process.jpdl4.core;
+
+import java.util.HashMap;
+
+public class Node {
+
+ private long id;
+ private String name;
+ private Process container;
+
+ private HashMap<String, Object> metaData = new HashMap<String, Object>();
+
+ public long getId() {
+ return id;
+ }
+
+ public void setId(long l) {
+ id = l;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void setMetaData(String key, Object value) {
+ metaData.put(key, value);
+ }
+
+ public Object getMetaData(String key) {
+ return metaData.get(key);
+ }
+
+ public Object getNodeContainer() {
+ return container;
+ }
+
+ public void setNodeContainer(Process container) {
+ this.container = container;
+ }
+
+}
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Process.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Process.java
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Process.java 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,43 @@
+package org.jboss.tools.process.jpdl4.core;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+
+public class Process {
+
+ private String name;
+ private HashMap<String, Object> metaData = new HashMap<String, Object>();
+ private ArrayList<Node> nodes = new ArrayList<Node>();
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public Object getMetaData(String key) {
+ return metaData.get(key);
+ }
+
+ public void setMetaData(String key, Object value) {
+ metaData.put(key, value);
+ }
+
+ public List<Node> getNodes() {
+ return nodes;
+ }
+
+ public void addNode(Node node) {
+ nodes.add(node);
+ node.setNodeContainer(this);
+ }
+
+ public void removeNode(Node node) {
+ node.setNodeContainer(null);
+ nodes.remove(node);
+ }
+
+}
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/StartState.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/StartState.java
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/StartState.java 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,5 @@
+package org.jboss.tools.process.jpdl4.core;
+
+public class StartState extends Node {
+
+}
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/State.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/State.java
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/State.java 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,5 @@
+package org.jboss.tools.process.jpdl4.core;
+
+public class State extends Node {
+
+}
Added:
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Transition.java
===================================================================
---
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Transition.java
(rev 0)
+++
trunk/jbpm/plugins/org.jboss.tools.flow.jpdl4.core/src/org/jboss/tools/process/jpdl4/core/Transition.java 2008-07-23
14:24:42 UTC (rev 9243)
@@ -0,0 +1,20 @@
+package org.jboss.tools.process.jpdl4.core;
+
+import java.util.HashMap;
+
+public class Transition {
+
+ private HashMap<String, Object> metaData = new HashMap<String, Object>();
+
+ public Transition(Node from, Node to) {
+ }
+
+ public Object getMetaData(String key) {
+ return metaData.get(key);
+ }
+
+ public void setMetaData(String key, Object value) {
+ metaData.put(key, value);
+ }
+
+}
Show replies by date