-
class
OverlayEditor
: public IdrawEditor
(Return to index)
-
editor derived from IdrawEditor.
Type:
Base Classes:
Derived Classes
Include file:
Public:
- virtual void
Annotate (OverlayComp*)
invoke annotation dialog box for this component.
- virtual void
AttrEdit (OverlayComp*)
invoke dialog box for editing attribute list (property list) associated
with this component.
- virtual void
DoAutoNewFrame ()
empty method for use by multi-frame editors for creating a new frame
when auto-new-frame is enabled.
- virtual void
ExecuteCmd (Command* cmd)
indirect command execution for distributed whiteboard mechanism.
actual mechanism implemented in ComEditor.
- virtual Tool*
GetCurTool ()
return pointer to current default tool.
- virtual OverlaysView*
GetFrame (int index=-1)
return current frame number. -1 unless multi-frame editor.
- OverlayViewer*
GetOverlayViewer ()
return pointer to default viewer.
- virtual void
InformComponents ()
inform components in the tree of the current editor.
- virtual void
InitCommands ()
to be filled in by derived classes, for any kind of initialization
that needs to occur after the environment has been fully constructed,
i.e. after the viewer has been displayed on the screen (after a call
to OverlayViewer::Resize()).
- boolean
IsClean ()
checks modified status flag.
- ObservableText*
MouseDocObservable ()
return pointer to observable text that contains current mouse documentation
(a text string associated with the current tool).
-
OverlayEditor (OverlayComp*, OverlayKit* ok = OverlayKit::Instance())
construct an editor for editing a given component, using the 'ok'
OverlayKit to build the surrounding menus and tools.
-
OverlayEditor (boolean initflag, OverlayKit* ok = OverlayKit::Instance())
constructor for use of derived classes. Probably could be protected.
-
OverlayEditor (const char* file, OverlayKit* ok = OverlayKit::Instance())
construct an editor for opening and editing a given component, specified
the pathname 'file, using the 'ok' OverlayKit to build the surrounding
menus and tools.
- virtual void
ReplaceComponent (Component*)
set new component tree, informing them of their new editor, and delete old one.
- virtual void
ResetStateVars ()
to be filled in by derived classses.
- virtual void
SetComponent (Component*)
set new component tree, informing them of their new editor.
- virtual void
SetCurTool (Tool*)
set current default tool.
- virtual void
Update ()
update every viewer associated with this editor (usually only one).
- static void
add_comterp (const char* name, ComTerpServ* comterp)
- static void
add_edlauncher (const char* name, editor_launcher)
add editor launching function pointer to list.
- static ComTerpServ*
comterp (const char *)
- static ComTerpServ*
comterp (int symid)
- static AttributeList*
comterplist ()
- static editor_launcher
edlauncher (const char *)
get editor launching function pointer by 'name'.
- static editor_launcher
edlauncher (int symid)
get editor launching function pointer by 'symid'.
- static AttributeList*
edlauncherlist ()
return pointer to static list of editor launching function pointers.
- static int
ncomterp ()
- static int
nedlauncher ()
number of editor launching function pointers in static list.
- static boolean
opaque_flag ()
return global flag indicating whether opaque tranformations are enabled.
- PtrLocState*
ptrlocstate ()
state variable for displaying pointer location within document.
- void
ptrlocstate (PtrLocState* ptrlocstate)
set state variable for displaying pointer location within document.
- virtual
~OverlayEditor ()
Protected:
Friend methods:
(more documentation)