public class ExpressionShellTableau extends Tableau implements ShellInterpreter
ShellTextArea
,
ExpressionShellEffigy
Modifier and Type | Class and Description |
---|---|
static class |
ExpressionShellTableau.Factory
A factory that creates a control panel to display an Expression Shell.
|
Tableau.WindowClosedAdapter
CompositeEntity.ContainedObjectsIterator
Modifier and Type | Field and Description |
---|---|
ExpressionShellFrame |
frame
The associated frame.
|
ShellTextArea |
shell
The contained shell.
|
_debugClosing, size
_levelCrossingLinks
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
ExpressionShellTableau(ExpressionShellEffigy container,
java.lang.String name)
Create a new tableau.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
evaluateCommand(java.lang.String command)
Evaluate the specified command.
|
boolean |
isCommandComplete(java.lang.String command)
Return true if the specified command is complete (ready
to be interpreted).
|
attributeChanged, clone, close, getFrame, getTitle, isEditable, isMaster, setContainer, setEditable, setFrame, setMaster, setTitle, show
_addEntity, _addRelation, _adjustDeferrals, _containedDecorators, _deepOpaqueEntityList, _description, _exportMoMLContents, _finishedAddEntity, _removeEntity, _removeRelation, _validateSettables, allAtomicEntityList, allowLevelCrossingConnect, classDefinitionList, connect, connect, containedObjectsIterator, deepCompositeEntityList, deepEntityList, deepGetEntities, deepNamedObjList, deepOpaqueEntityList, deepRelationSet, entityList, entityList, exportLinks, exportMoML, getAttribute, getEntities, getEntity, getPort, getRelation, getRelations, isAtomic, isOpaque, lazyAllAtomicEntityList, lazyAllCompositeEntityList, lazyAllCompositeTransparentAndOpaqueEntityList, lazyClassDefinitionList, lazyDeepEntityList, lazyEntityList, lazyRelationList, newRelation, numberOfEntities, numberOfRelations, numEntities, numRelations, relationList, removeAllEntities, removeAllRelations, setClassDefinition, statistics, uniqueName
_checkContainer, _getContainedObject, _propagateExistence, getContainer, instantiate, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, newPort, propagateExistence, setName
_addPort, _removePort, connectedPortList, connectedPorts, connectionsChanged, getPorts, linkedRelationList, linkedRelations, portList, removeAllPorts
_setParent, getChildren, getElementName, getParent, getPrototypeList, isClassDefinition, isWithinClassDefinition
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _executeChangeRequests, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, addChangeListener, addDebugListener, addHierarchyListener, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getFullName, getModelErrorHandler, getName, getName, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, validateSettables, workspace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDerivedLevel, getDerivedList, propagateValue
description, getDisplayName, getFullName, getName, getName
public ExpressionShellFrame frame
public ShellTextArea shell
public ExpressionShellTableau(ExpressionShellEffigy container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The containing effigy.name
- The name of this tableau within the specified effigy.IllegalActionException
- If the tableau is not acceptable
to the specified container.NameDuplicationException
- If the container already contains
an entity with the specified name.public java.lang.String evaluateCommand(java.lang.String command) throws java.lang.Exception
evaluateCommand
in interface ShellInterpreter
command
- The command.java.lang.Exception
- If something goes wrong processing the command.ShellTextArea.returnResult(String)
public boolean isCommandComplete(java.lang.String command)
isCommandComplete
in interface ShellInterpreter
command
- The command.