[overlord-commits] Overlord SVN: r559 - cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities.

overlord-commits at lists.jboss.org overlord-commits at lists.jboss.org
Mon Mar 30 13:06:52 EDT 2009


Author: objectiser
Date: 2009-03-30 13:06:51 -0400 (Mon, 30 Mar 2009)
New Revision: 559

Removed:
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractGroupingActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractInteractionActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElement.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElementFactory.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/Condition.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseConstruct.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseIfConstruct.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/IfActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/InvokeActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReceiveActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReplyActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/SequenceActivity.java
   cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/WhileActivity.java
Log:


Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractGroupingActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractGroupingActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractGroupingActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,71 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import java.util.logging.Logger;
-
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This is the generic BPEL activity class.
- *  
- * @author gary
- */
-public abstract class AbstractGroupingActivity extends BPELElement {
-
-	/**
-	 * The constructor for initializing the activity based on
-	 * an existing DOM element.
-	 */
-	protected AbstractGroupingActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-	
-	/**
-	 * The contructor for initializing a new activity.
-	 */
-	protected AbstractGroupingActivity(BPELLanguageModel model,
-								String activityName) {
-		super(model, activityName);
-	}
-	
-	/**
-	 * This method sets the contained activity.
-	 * 
-	 * @param act The contained activity
-	 */
-	public void setContainedActivity(BPELElement act) {
-		m_containedActivity = act;
-		
-		getDOMElement().appendChild(act.getDOMElement());
-	}
-	
-	/**
-	 * This method returns the contained activity.
-	 * 
-	 * @return The contained activity
-	 */
-	public BPELElement getContainedActivity() {
-		return(m_containedActivity);
-	}
-	
-	private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.bpel.model");
-
-	private BPELElement m_containedActivity=null;
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractInteractionActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractInteractionActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/AbstractInteractionActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.conversation.model.ConversationInteraction;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This class represents an abstract interaction activity.
- *  
- * @author gary
- */
-public abstract class AbstractInteractionActivity extends BPELElement {
-
-	private static final long serialVersionUID = -5048477859609625462L;
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public AbstractInteractionActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param interaction The conversation
-	 */
-	public AbstractInteractionActivity(BPELLanguageModel model,
-			String name, ConversationInteraction interaction) {
-		super(model, name);
-		
-		initialize(interaction);
-	}
-	
-	/**
-	 * This method initializes the invoke interaction.
-	 * 
-	 * @param interaction The invoke interaction
-	 */
-	protected void initialize(ConversationInteraction interaction) {
-		
-		getDOMElement().setAttribute("operation",
-				interaction.getMessageSignature().getOperation());
-		
-		// TODO: Record variables against relevant interaction
-		// based activity - probably only mechanism for
-		// establishing message type
-	}
-
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-	}
-
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElement.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElement.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElement.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,168 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import java.util.logging.Logger;
-
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelIssue;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This is the generic BPEL element class.
- *  
- * @author gary
- */
-public abstract class BPELElement extends ModelObject {
-
-	private static final long serialVersionUID = -7306844554703224704L;
-
-	/**
-	 * The constructor for initializing the BPEL element based on
-	 * an existing DOM element.
-	 */
-	protected BPELElement(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		m_model = model;
-		
-		initExistingElement(model, activity);
-	}
-	
-	/**
-	 * The contructor for initializing a new element.
-	 */
-	protected BPELElement(BPELLanguageModel model,
-								String activityName) {
-		m_model = model;
-		
-		initNewElement(model, activityName);
-	}
-	
-	/**
-	 * This method initializes the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The activity name
-	 */
-	protected void initNewElement(BPELLanguageModel model,
-							String activity) {
-		m_activity = model.getBPELProcess().
-				getOwnerDocument().createElement(activity);
-		
-		getSource().setObject(this);
-	}
-	
-	/**
-	 * This method initializes the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	protected void initExistingElement(BPELLanguageModel model,
-						org.w3c.dom.Element activity) {
-		m_activity = activity;
-		
-		// TODO: Set the start/end position information
-		// in the source details
-			
-		getSource().setObject(this);
-	}
-	
-	/**
-	 * This method validates the ESB action and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	public void validate(ModelListener l) {		
-	}
-	
-	
-	/**
-	 * This method returns the XML configuration representation 
-	 * of the activity.
-	 * 
-	 * @return The XML configuration for the activity
-	 */
-	public org.w3c.dom.Element getDOMElement() {
-		return(m_activity);
-	}
-	
-	/**
-	 * This method returns the element associated with
-	 * the supplied name.
-	 * 
-	 * @param name The name
-	 * @return The element, or null if not found
-	 */
-	protected org.w3c.dom.Element findElement(String name) {
-		org.w3c.dom.Element ret=null;
-		
-		org.w3c.dom.NodeList nl=getDOMElement().getChildNodes();
-		
-		for (int i=0; ret == null && i < nl.getLength(); i++) {
-			org.w3c.dom.Node n=nl.item(i);
-			
-			if (n instanceof org.w3c.dom.Element &&
-					n.getLocalName().equals(name)) {
-				ret = (org.w3c.dom.Element)nl.item(i);
-			}
-		}
-		
-		return(ret);
-	}
-	
-	/**
-	 * This method returns the first child BPEL activity
-	 * found within the DOM element.
-	 * 
-	 * @return The child BPEL activity, or null if not found
-	 */
-	protected BPELElement findChildActivity() {
-		BPELElement ret=null;
-		
-		org.w3c.dom.NodeList nl=getDOMElement().getChildNodes();
-		
-		for (int i=0; ret == null &&
-					i < nl.getLength(); i++) {
-			if (nl.item(i) instanceof org.w3c.dom.Element) {
-				ret = BPELElementFactory.createActivity(m_model,
-								(org.w3c.dom.Element)nl.item(i));
-			}
-		}
-		
-		return(ret);
-	}
-
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public abstract void convert(java.util.List<Activity> activities,
-					ConversionContext context);
-		
-	private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.bpel.model");
-
-	private BPELLanguageModel m_model=null;
-	private org.w3c.dom.Element m_activity=null;
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElementFactory.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElementFactory.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/BPELElementFactory.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,71 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import java.util.logging.Logger;
-
-import org.jboss.tools.overlord.cdl.bpel.model.BPELLanguageModel;
-
-public class BPELElementFactory {
-
-	public static final String MODEL_ACTIVITIES_PACKAGE =
-			"org.jboss.tools.overlord.cdl.bpel.model.activities";
-	private static final String ACTIVITY_SUFFIX="Activity";
-	
-	/**
-	* This method creates a BPELActivity instance relevant to the
-	* supplied JBossESB action, associated with the supplied
-	* service.
-	* 
-	* @param model The BPEL model
-	* @param activity The XML configuration of the BPEL activity
-	* @return The BPEL activity instance
-	*/
-	public static BPELElement createActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		BPELElement ret=null;
-		String activityType=activity.getNodeName();
-		
-		// Make first character capitalised
-		char ch=Character.toUpperCase(activityType.charAt(0));
-		
-		activityType = ch+activityType.substring(1);
-		
-		String clsName=MODEL_ACTIVITIES_PACKAGE+"."+activityType+
-						ACTIVITY_SUFFIX;
-	
-		try {
-			Class<?> cls=(Class<?>)
-					Class.forName(clsName);
-			
-			java.lang.reflect.Constructor<?> con=
-				cls.getConstructor(new Class<?>[]{BPELLanguageModel.class,
-									org.w3c.dom.Element.class});
-			
-			ret = (BPELElement)con.newInstance(new Object[]{model, activity});
-			
-		} catch(Exception e) {
-			logger.log(java.util.logging.Level.FINEST,
-					"Unable to find action class '"+clsName+"'", e);
-		}
-		
-		return(ret);
-	}
-
-	private static Logger logger = Logger.getLogger("org.jboss.tools.overlord.cdl.bpel.model");
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/Condition.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/Condition.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/Condition.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,106 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import java.util.List;
-
-import org.jboss.tools.overlord.cdl.bpel.model.BPELLanguageModel;
-import org.jboss.tools.overlord.cdl.bpel.model.ConversionContext;
-import org.scribble.model.Activity;
-
-/**
- * This class represents the BPEL condition element.
- */
-public class Condition extends BPELElement {
-
-	private static final long serialVersionUID = 8666349106632652777L;
-
-	public static final String CONDITION="condition";
-	
-	/**
-	 * The constructor for the element.
-	 * 
-	 * @param model The BPEL model
-	 * @param elem The XML configuration details for the element
-	 */
-	public Condition(BPELLanguageModel model,
-					org.w3c.dom.Element elem) {
-		super(model, elem);
-	}
-
-	/**
-	 * The constructor for the element.
-	 * 
-	 * @param model The BPEL model
-	 */
-	public Condition(BPELLanguageModel model) {
-		super(model, CONDITION);
-	}
-
-	/**
-	 * This method returns the expression associated
-	 * with the condition.
-	 * 
-	 * @return The expression
-	 */
-	public String getExpression() {
-		String ret=null;
-		
-		getDOMElement().normalize();
-		
-		if (getDOMElement().getFirstChild() instanceof org.w3c.dom.Text) {
-			org.w3c.dom.Text text=(org.w3c.dom.Text)
-							getDOMElement().getFirstChild();
-			
-			ret = text.getNodeValue();
-		}
-		
-		return(ret);
-	}
-	
-	/**
-	 * This method sets the expression.
-	 * 
-	 * @param expr The expression
-	 */
-	public void setExpression(String expr) {
-		
-		getDOMElement().normalize();
-		
-		if (getDOMElement().getFirstChild() == null) {
-			org.w3c.dom.Text text=
-				getDOMElement().getOwnerDocument().createTextNode(expr);
-			
-			getDOMElement().appendChild(text);
-			
-		} else if (getDOMElement().getFirstChild() instanceof org.w3c.dom.Text) {
-			org.w3c.dom.Text text=(org.w3c.dom.Text)
-							getDOMElement().getFirstChild();
-			
-			text.setNodeValue(expr);
-		}
-	}
-	
-	@Override
-	public void convert(List<Activity> activities, ConversionContext context) {
-		// TODO Auto-generated method stub
-		
-	}
-
-
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseConstruct.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseConstruct.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseConstruct.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,98 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import java.util.List;
-
-import org.jboss.tools.overlord.cdl.bpel.model.BPELLanguageModel;
-import org.jboss.tools.overlord.cdl.bpel.model.ConversionContext;
-import org.scribble.model.Activity;
-
-/**
- * This class represents the 'else' construct contained
- * within the 'if' activity.
- */
-public class ElseConstruct extends BPELElement {
-
-	private static final long serialVersionUID = 1243775332210724718L;
-
-	private static final String ELSE="else";
-	
-	/**
-	 * The constructor for the element.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the element
-	 */
-	public ElseConstruct(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the element.
-	 * 
-	 * @param model The BPEL model
-	 */
-	public ElseConstruct(BPELLanguageModel model) {
-		super(model, ELSE);
-	}
-
-
-	/**
-	 * This method initializes the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	@Override
-	protected void initExistingElement(BPELLanguageModel model,
-						org.w3c.dom.Element activity) {
-		super.initExistingElement(model, activity);
-		
-		m_activity = findChildActivity();
-	}
-
-	@Override
-	public void convert(List<Activity> activities, ConversionContext context) {
-		// TODO Auto-generated method stub
-		
-	}
-	
-	/**
-	 * This method sets the activity associated with
-	 * the 'else' construct.
-	 * 
-	 * @param act The activity
-	 */
-	public void setActivity(BPELElement act) {
-		m_activity = act;
-	}
-	
-	/**
-	 * This method returns the activity associated with
-	 * the 'else' construct.
-	 * 
-	 * @return The activity
-	 */
-	public BPELElement getActivity() {
-		return(m_activity);
-	}
-	
-	private BPELElement m_activity;
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseIfConstruct.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseIfConstruct.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ElseIfConstruct.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,125 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import java.util.List;
-
-import org.jboss.tools.overlord.cdl.bpel.model.BPELLanguageModel;
-import org.jboss.tools.overlord.cdl.bpel.model.ConversionContext;
-import org.scribble.model.Activity;
-
-/**
- * This class represents the 'elseif' construct contained
- * within the 'if' activity.
- */
-public class ElseIfConstruct extends BPELElement {
-
-	private static final long serialVersionUID = 6371029130621912170L;
-
-	private static final String ELSEIF="elseif";
-	
-	/**
-	 * The constructor for the element.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the element
-	 */
-	public ElseIfConstruct(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the element.
-	 * 
-	 * @param model The BPEL model
-	 */
-	public ElseIfConstruct(BPELLanguageModel model) {
-		super(model, ELSEIF);
-	}
-
-	/**
-	 * This method initializes the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	@Override
-	protected void initExistingElement(BPELLanguageModel model,
-						org.w3c.dom.Element activity) {
-		super.initExistingElement(model, activity);
-		
-		org.w3c.dom.Element cond=
-				findElement(Condition.CONDITION);
-		
-		if (cond == null) {
-			m_condition = new Condition(model);
-		} else {
-			m_condition = new Condition(model, cond);
-		}
-		
-		m_activity = findChildActivity();
-	}
-
-	@Override
-	public void convert(List<Activity> activities, ConversionContext context) {
-		// TODO Auto-generated method stub
-		
-	}
-	
-	/**
-	 * This method sets the condition.
-	 * 
-	 * @param cond The condition
-	 */
-	public void setCondition(Condition cond) {
-		m_condition = cond;
-	}
-	
-	/**
-	 * This method returns the condition.
-	 * 
-	 * @return The condition
-	 */
-	public Condition getCondition() {
-		return(m_condition);
-	}
-
-	/**
-	 * This method sets the activity associated with
-	 * the 'else' construct.
-	 * 
-	 * @param act The activity
-	 */
-	public void setActivity(BPELElement act) {
-		m_activity = act;
-	}
-	
-	/**
-	 * This method returns the activity associated with
-	 * the 'else' construct.
-	 * 
-	 * @return The activity
-	 */
-	public BPELElement getActivity() {
-		return(m_activity);
-	}
-	
-	private Condition m_condition;
-	private BPELElement m_activity;
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/IfActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/IfActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/IfActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,149 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This class represents an 'if' grouping construct.
- *  
- * @author gary
- */
-public class IfActivity extends BPELElement {
-
-	private static final long serialVersionUID = -763221632866464831L;
-	private static final String IF = "if";
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public IfActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 */
-	public IfActivity(BPELLanguageModel model) {
-		super(model, IF);
-	}
-
-	/**
-	 * This method initializes the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	@Override
-	protected void initExistingElement(BPELLanguageModel model,
-						org.w3c.dom.Element activity) {
-		super.initExistingElement(model, activity);
-		
-		org.w3c.dom.Element cond=
-				findElement(Condition.CONDITION);
-	
-		if (cond == null) {
-			m_condition = new Condition(model);
-		} else {
-			m_condition = new Condition(model, cond);
-		}
-	
-		m_activity = findChildActivity();
-		
-		
-	}
-
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-	}
-	
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public void convert(java.util.List<Activity> activities,
-			ConversionContext context) {
-	}
-
-	public void setCondition(Condition cond) {
-		m_condition = cond;
-	}
-	
-	public Condition getCondition() {
-		return(m_condition);
-	}
-
-	public void setConditionPath(BPELElement act) {
-		m_activity = act;
-		getDOMElement().appendChild(act.getDOMElement());
-	}
-	
-	public BPELElement getConditionPath() {
-		return(m_activity);
-	}
-	
-	public void addElseIfPath(ElseIfConstruct act) {
-		m_elseIfPaths.add(act);
-		
-		org.w3c.dom.Element elem=getDOMElement().getOwnerDocument().createElement("elseif");
-		
-		getDOMElement().appendChild(elem);
-		elem.appendChild(act.getDOMElement());
-	}
-	
-	public java.util.List<ElseIfConstruct> getElseIfPaths() {
-		return(m_elseIfPaths);
-	}
-	
-	public void setElsePath(BPELElement act) {
-		m_elsePath = act;
-		
-		org.w3c.dom.Element elem=getDOMElement().getOwnerDocument().createElement("else");
-		
-		getDOMElement().appendChild(elem);
-		elem.appendChild(act.getDOMElement());
-	}
-	
-	public BPELElement getElsePath() {
-		return(m_elsePath);
-	}
-	
-	private Condition m_condition=null;
-	private BPELElement m_activity=null;
-	private BPELElement m_elsePath=null;
-	private java.util.List<ElseIfConstruct> m_elseIfPaths=
-				new java.util.Vector<ElseIfConstruct>();
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/InvokeActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/InvokeActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/InvokeActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.conversation.model.ConversationInteraction;
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This class represents an unsupported (or custom) action within
- * the conversation based ESB service descriptor.
- *  
- * @author gary
- */
-public class InvokeActivity extends AbstractInteractionActivity {
-
-	private static final String INVOKE = "invoke";
-	private static final long serialVersionUID = 928076947383263387L;
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public InvokeActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param interaction The conversation
-	 */
-	public InvokeActivity(BPELLanguageModel model,
-				ConversationInteraction interaction) {
-		super(model, INVOKE, interaction);
-		
-		initialize(interaction);
-	}
-	
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-	}
-	
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public void convert(java.util.List<Activity> activities,
-			ConversionContext context) {
-	}
-
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReceiveActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReceiveActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReceiveActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.conversation.model.ConversationInteraction;
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-/**
- * This class represents an unsupported (or custom) action within
- * the conversation based ESB service descriptor.
- *  
- * @author gary
- */
-public class ReceiveActivity extends AbstractInteractionActivity {
-
-	private static final String RECEIVE = "receive";
-	private static final long serialVersionUID = -3041725198724191842L;
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public ReceiveActivity(BPELLanguageModel  model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param interaction The conversation
-	 */
-	public ReceiveActivity(BPELLanguageModel model,
-				ConversationInteraction interaction) {
-		super(model, RECEIVE, interaction);
-		
-		initialize(interaction);
-	}
-
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-		// Don't validate unsupported actions
-	}
-	
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public void convert(java.util.List<Activity> activities,
-			ConversionContext context) {
-	}
-
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReplyActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReplyActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/ReplyActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,82 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.conversation.model.ConversationInteraction;
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This class represents a BPEL reply activity.
- *  
- * @author gary
- */
-public class ReplyActivity extends AbstractInteractionActivity {
-
-	private static final String REPLY = "reply";
-	private static final long serialVersionUID = 8582738107125170604L;
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public ReplyActivity(BPELLanguageModel  model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param interaction The conversation
-	 */
-	public ReplyActivity(BPELLanguageModel model,
-				ConversationInteraction interaction) {
-		super(model, REPLY, interaction);
-		
-		initialize(interaction);
-	}
-
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-		// Don't validate unsupported actions
-	}
-	
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public void convert(java.util.List<Activity> activities,
-			ConversionContext context) {
-	}
-
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/SequenceActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/SequenceActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/SequenceActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,140 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This class represents a sequence grouping activity.
- *  
- * @author gary
- */
-public class SequenceActivity extends BPELElement {
-
-	private static final String SEQUENCE = "sequence";
-	private static final long serialVersionUID = 6656299352423612770L;
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public SequenceActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 */
-	public SequenceActivity(BPELLanguageModel model) {
-		super(model, SEQUENCE);
-	}
-
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-	}
-	
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public void convert(java.util.List<Activity> activities,
-			ConversionContext context) {
-	}
-
-	/**
-	 * This method adds an activity to the grouping construct.
-	 * 
-	 * @param act The activity to be added
-	 * @param pos The position to add, or -1 if at the end
-	 */
-	public void addActivity(BPELElement act, int pos) {
-		if (pos == -1) {
-			m_activities.add(act);
-			getDOMElement().appendChild(act.getDOMElement());
-		} else {
-			m_activities.add(pos, act);
-			
-			org.w3c.dom.NodeList nl=getDOMElement().getChildNodes();
-			org.w3c.dom.Element elem=null;
-			int cur=-1;
-			
-			for (int i=0; i < nl.getLength(); i++) {
-				if (nl.item(i) instanceof org.w3c.dom.Element) {
-					cur++;
-					
-					if (cur == pos) {
-						elem = (org.w3c.dom.Element)nl.item(i);
-					}
-				}
-			}
-			
-			if (elem != null) {
-				getDOMElement().insertBefore(act.getDOMElement(), elem);
-			} else {
-				getDOMElement().appendChild(act.getDOMElement());
-			}
-		}
-	}
-	
-	/**
-	 * This method removes an activity from the grouping
-	 * construct.
-	 * 
-	 * @param act The activity to be removed
-	 * @return Whether the activity was removed
-	 */
-	public boolean removeActivity(BPELElement act) {
-		boolean ret=m_activities.remove(act);
-		
-		if (ret) {
-			getDOMElement().removeChild(act.getDOMElement());
-		}
-		
-		return(ret);
-	}
-	
-	/**
-	 * This method returns the list of activities associated
-	 * with the grouping construct.
-	 * 
-	 * @return The list of activities
-	 */
-	public java.util.List<BPELElement> getActivities() {
-		return(m_activities);
-	}
-
-	private java.util.List<BPELElement> m_activities=
-					new java.util.Vector<BPELElement>();
-}

Deleted: cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/WhileActivity.java
===================================================================
--- cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/WhileActivity.java	2009-03-28 12:41:24 UTC (rev 558)
+++ cdl/trunk/tools/plugins/org.jboss.tools.overlord.cdl.bpel/src/java/org/jboss/tools/overlord/cdl/bpel/model/activities/WhileActivity.java	2009-03-30 17:06:51 UTC (rev 559)
@@ -1,76 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source
- * Copyright 2008, Red Hat Middleware LLC, and others contributors as indicated
- * by the @authors tag. All rights reserved.
- * See the copyright.txt in the distribution for a
- * full listing of individual contributors.
- * This copyrighted material is made available to anyone wishing to use,
- * modify, copy, or redistribute it subject to the terms and conditions
- * of the GNU Lesser General Public License, v. 2.1.
- * This program is distributed in the hope that it will be useful, but WITHOUT A
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
- * You should have received a copy of the GNU Lesser General Public License,
- * v.2.1 along with this distribution; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA  02110-1301, USA.
- */
-package org.jboss.tools.overlord.cdl.bpel.model.activities;
-
-import org.scribble.model.*;
-import org.scribble.model.admin.ModelListener;
-import org.jboss.tools.overlord.cdl.bpel.model.*;
-
-/**
- * This class represents a while grouping activity.
- *  
- * @author gary
- */
-public class WhileActivity extends AbstractGroupingActivity {
-
-	private static final long serialVersionUID = -4173984531470466407L;
-	private static final String WHILE = "while";
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 * @param activity The XML configuration details for the activity
-	 */
-	public WhileActivity(BPELLanguageModel model,
-					org.w3c.dom.Element activity) {
-		super(model, activity);
-	}
-
-	/**
-	 * The constructor for the activity.
-	 * 
-	 * @param model The BPEL model
-	 */
-	public WhileActivity(BPELLanguageModel model) {
-		super(model, WHILE);
-	}
-
-	/**
-	 * This method validates the BPEL activity and reports warnings or
-	 * errors to the supplied model listener.
-	 * 
-	 * @param l The model listener
-	 */
-	@Override
-	public void validate(ModelListener l) {
-	}
-	
-	/**
-	 * This method converts the BPEL activity into an equivalent
-	 * behavioural description for conformance checking.
-	 * 
-	 * @param activities The list of activities that will contain
-	 * 				the converted action(s)
-	 * @param context The conversion context
-	 */
-	public void convert(java.util.List<Activity> activities,
-			ConversionContext context) {
-	}
-
-}




More information about the overlord-commits mailing list