org.eclipse.xtend.util.stdlib
Class SlotListAdder

java.lang.Object
  extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
      extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
          extended by org.eclipse.xtend.util.stdlib.SlotListAdder
All Implemented Interfaces:
org.eclipse.emf.mwe.core.WorkflowComponent, org.eclipse.emf.mwe.core.WorkflowComponentWithID, org.eclipse.emf.mwe2.runtime.workflow.IWorkflowComponent

public class SlotListAdder
extends org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2

This component copies an element from one slot to a list contained in another slot.

Properties

Property Type Mandatory Description
modelSlot String yes Source slot name.
listSlot String yes Target slot name. This slot contains a list of elements.
uniqueNames boolean no If true, names have to be unique, otherwise not. Requires that modelSlot contains an EObject.


Constructor Summary
SlotListAdder()
           
 
Method Summary
protected  void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
           
 java.lang.String getComponentName()
           
 java.lang.String getLogMessage()
           
protected  void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext ctx, org.eclipse.emf.mwe.core.monitor.ProgressMonitor mon, org.eclipse.emf.mwe.core.issues.Issues issues)
           
 void setListSlot(java.lang.String listSlot)
          Sets the list slot.
 void setModelSlot(java.lang.String modelSlot)
          Sets the model slot.
 void setUniqueNames(boolean uniqueNames)
          Sets if names have to be unique.
 
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
checkConfiguration
 
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getContainer, getId, getLocation, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SlotListAdder

public SlotListAdder()
Method Detail

setListSlot

public void setListSlot(java.lang.String listSlot)
Sets the list slot.

Parameters:
listSlot - name of slot

setModelSlot

public void setModelSlot(java.lang.String modelSlot)
Sets the model slot.

Parameters:
modelSlot - name of slot

setUniqueNames

public void setUniqueNames(boolean uniqueNames)
Sets if names have to be unique.

Parameters:
uniqueNames - If true, names have to be unique, otherwise not.

checkConfigurationInternal

protected void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues issues)
Overrides:
checkConfigurationInternal in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2

getLogMessage

public java.lang.String getLogMessage()
Specified by:
getLogMessage in interface org.eclipse.emf.mwe.core.WorkflowComponentWithID
Overrides:
getLogMessage in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
See Also:
AbstractWorkflowComponent.getLogMessage()

invokeInternal

protected void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext ctx,
                              org.eclipse.emf.mwe.core.monitor.ProgressMonitor mon,
                              org.eclipse.emf.mwe.core.issues.Issues issues)
Specified by:
invokeInternal in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent

getComponentName

public java.lang.String getComponentName()
Specified by:
getComponentName in interface org.eclipse.emf.mwe.core.WorkflowComponent
Overrides:
getComponentName in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
See Also:
AbstractWorkflowComponent.getComponentName()