|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.kernel.util.NamedObj
ptolemy.kernel.InstantiableNamedObj
ptolemy.kernel.Entity
ptolemy.kernel.ComponentEntity
ptolemy.actor.AtomicActor
ptolemy.actor.TypedAtomicActor
com.isencia.passerelle.actor.Actor
com.isencia.passerelle.actor.Transformer
org.dawb.passerelle.common.actors.AbstractPassModeTransformer
org.dawb.passerelle.common.actors.AbstractDataMessageTransformer
org.dawb.passerelle.actors.edna.AbstractEdnaPlugin
public abstract class AbstractEdnaPlugin
Field Summary |
---|
Fields inherited from class com.isencia.passerelle.actor.Transformer |
---|
input |
Fields inherited from class com.isencia.passerelle.actor.Actor |
---|
OPTIONS_FACTORY_CFG_NAME, receiverQueueCapacityParam, receiverQueueWarningSizeParam |
Fields inherited from class ptolemy.kernel.util.NamedObj |
---|
ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS |
Fields inherited from interface ptolemy.actor.Executable |
---|
COMPLETED, NOT_READY, STOP_ITERATING |
Constructor Summary | |
---|---|
AbstractEdnaPlugin(java.lang.String pluginName,
ptolemy.kernel.CompositeEntity container,
java.lang.String name)
|
Method Summary | |
---|---|
void |
attributeChanged(ptolemy.kernel.util.Attribute attribute)
|
abstract java.lang.String |
getDefaultInputXML()
The original idea for this method was to use the schema to generate some default input xml. |
abstract java.util.Properties |
getDefaultOutputProperties()
Returns key value pairs for the variables and their corresponding xpath values or a string describing the parameter. |
java.lang.String |
getDefaultSubstitution()
Use to reset editor |
org.eclipse.core.resources.IProject |
getEdnaProject()
Project used to get edna resources. |
java.lang.String |
getExampleValue(java.lang.String xPath,
java.lang.String rename)
|
java.util.List<IVariable> |
getInputVariables()
These are cached and cleared when the model is. |
java.util.List<IVariable> |
getOutputVariables()
This method reads the output file and returns the variable names defined in the output file. |
com.isencia.passerelle.workbench.model.actor.ResourceObject |
getResource(int num)
|
int |
getResourceCount()
|
boolean |
isDefinitelyLocalOutput(java.lang.String name)
returns only the outputs from this plugin, not upstream ones. |
void |
setMomlResource(org.eclipse.core.resources.IResource momlFile)
|
Methods inherited from class org.dawb.passerelle.common.actors.AbstractDataMessageTransformer |
---|
doPreInitialize, getExampleValues |
Methods inherited from class org.dawb.passerelle.common.actors.AbstractPassModeTransformer |
---|
isUpstreamVariable, refreshResource |
Methods inherited from class com.isencia.passerelle.actor.Actor |
---|
createErrorMessage, createMessage, createMessage, createTriggerMessage, fire, getAuditLogger, getConfigurableParameter, getConfigurableParameter, getConfigurableParameters, getFullNameButWithoutModelName, getInfo, getOptionsFactory, initialize, isFinishRequested, isFiring, isMockMode, newReceiver, postfire, prefire, preinitialize, requestFinish, sendErrorMessage, stop, stopFire, terminate, wrapup |
Methods inherited from class ptolemy.actor.TypedAtomicActor |
---|
attributeTypeChanged, clone, newPort, typeConstraintList |
Methods inherited from class ptolemy.actor.AtomicActor |
---|
addActorFiringListener, addInitializable, clone, connectionsChanged, getDirector, getExecutiveDirector, getFunctionDependency, getManager, inputPortList, isFireFunctional, isStrict, iterate, outputPortList, pruneDependencies, recordFiring, removeActorFiringListener, removeDependency, removeInitializable, setContainer |
Methods inherited from class ptolemy.kernel.ComponentEntity |
---|
getContainer, instantiate, isAtomic, isOpaque, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, propagateExistence, setName |
Methods inherited from class ptolemy.kernel.Entity |
---|
connectedPortList, connectedPorts, containedObjectsIterator, getAttribute, getPort, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts, setClassDefinition, uniqueName |
Methods inherited from class ptolemy.kernel.InstantiableNamedObj |
---|
exportMoML, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition |
Methods inherited from class ptolemy.kernel.util.NamedObj |
---|
addChangeListener, addDebugListener, attributeList, attributeList, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, message, propagateValue, propagateValues, removeChangeListener, removeDebugListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface ptolemy.actor.Actor |
---|
getDirector, getExecutiveDirector, getFunctionDependency, getManager, inputPortList, newReceiver, outputPortList |
Methods inherited from interface ptolemy.actor.Executable |
---|
fire, isFireFunctional, isStrict, iterate, postfire, prefire, stop, stopFire, terminate |
Methods inherited from interface ptolemy.actor.Initializable |
---|
addInitializable, initialize, preinitialize, removeInitializable, wrapup |
Methods inherited from interface ptolemy.kernel.util.Nameable |
---|
description, getContainer, getDisplayName, getFullName, getName, getName, setName |
Methods inherited from interface org.dawb.passerelle.editors.SubstitutionParticipant |
---|
getExampleValues |
Methods inherited from interface org.dawb.passerelle.editors.XPathParticipant |
---|
getName, isUpstreamVariable |
Methods inherited from interface ptolemy.kernel.util.Derivable |
---|
getDerivedLevel, getDerivedList, propagateValue |
Constructor Detail |
---|
public AbstractEdnaPlugin(java.lang.String pluginName, ptolemy.kernel.CompositeEntity container, java.lang.String name) throws ptolemy.kernel.util.NameDuplicationException, ptolemy.kernel.util.IllegalActionException
ptolemy.kernel.util.NameDuplicationException
ptolemy.kernel.util.IllegalActionException
Method Detail |
---|
public void attributeChanged(ptolemy.kernel.util.Attribute attribute) throws ptolemy.kernel.util.IllegalActionException
attributeChanged
in class AbstractPassModeTransformer
attribute
- The attribute that changed.
ptolemy.kernel.util.IllegalActionException
public abstract java.lang.String getDefaultInputXML()
public abstract java.util.Properties getDefaultOutputProperties()
message
-
com.isencia.passerelle.actor.ProcessingException
public org.eclipse.core.resources.IProject getEdnaProject()
public int getResourceCount()
getResourceCount
in interface com.isencia.passerelle.workbench.model.actor.IResourceActor
public com.isencia.passerelle.workbench.model.actor.ResourceObject getResource(int num)
getResource
in interface com.isencia.passerelle.workbench.model.actor.IResourceActor
public void setMomlResource(org.eclipse.core.resources.IResource momlFile)
setMomlResource
in interface com.isencia.passerelle.workbench.model.actor.IResourceActor
public java.util.List<IVariable> getInputVariables()
AbstractPassModeTransformer
getInputVariables
in interface IVariableProvider
getInputVariables
in interface SubstitutionParticipant
getInputVariables
in class AbstractPassModeTransformer
public java.util.List<IVariable> getOutputVariables()
getOutputVariables
in interface IVariableProvider
getOutputVariables
in interface XPathParticipant
getOutputVariables
in class AbstractPassModeTransformer
public boolean isDefinitelyLocalOutput(java.lang.String name) throws java.io.IOException, org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
java.io.IOException
public java.lang.String getExampleValue(java.lang.String xPath, java.lang.String rename)
getExampleValue
in interface XPathParticipant
public java.lang.String getDefaultSubstitution()
getDefaultSubstitution
in interface SubstitutionParticipant
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |