Inherits:
::tycho::EditBubbleAndArc
-
Source File -
Contents:
public methods
- protected methods
- protected variables
- protected commons
Public constructs
-
clear
- Clear the display, discarding the current graphics and corresponding
data structure.
-
editArc
arc
- Edit an arc.
-
editArcDone
arc w
-
-
editItem
item
- Invoked by the "Edit Item" command in the Edit menu.
-
editState
node
- Edit a state.
-
editStateDone
node w
-
-
getInfo
- getInfo.
-
ioPortNames
- Edit the I/O portNames of the STD.
-
ioPortNamesDone
w
- Only used by ioPortNames.
-
lookInside
tag
- Look inside an item with tag $tag.
-
lookInsideState
node
- Look inside a state (node) with id $node.
-
makeIcon
- Make a icon for this STD to be put into a VEM palette facet.
-
makeIconOk
w
-
-
popUpFile
name
- Pop up a file.
-
ptkCompile
- Compile this STD into Ptolemy using ptcl code.
This method can used only when invoked from Ptolemy.
FIXME : Should add some code to check if Ptolemy exists.
-
setInitialState
tag
- If the specified item is a node, mark it as the initial state
of the STD.
-
setMachineType
type
- Set the machine type.
-
setPortNames
in out internal
- Set the in, out and internal port names.
-
setReadOnly
bool
- Specify whether or not modifications are allowed in the displayed text.
Note that this is independent of whether the associated file is readonly.
It merely determines whether the buffer can be modified, not whether the
file can be modified. To control the file, use
toggleReadOnly
.
Protected constructs
-
insertData
data
- Append the specified data to the existing display$this setMachineType.
-
saveText
- Save the contents of the canvas widget as text, and return it.
This method is invoked by the "save" method.
-
machineType
- Machine type of this state transition diagram.
-
portNames
- Names of the I/O ports. This is an array with two elements:
"in" and "out".
-
makeIconSrcDir
[file join $PTOLEMY src domains fsm demo]
- Store the value used in makeIcon last time.
-
makeIconPaletteName
user.pal
-
Index of classes
Author: Bilung Lee
Version: @(#)EditSTD.itcl 1.22 11/27/96
Copyright: (c) 1995-1996 The Regents of the University of California.