12#ifndef ROOT_TGedEditor
13#define ROOT_TGedEditor
#define ClassDef(name, id)
include TDocParser_001 C image html pict1_TDocParser_001 png width
TClass instances represent classes, structs and namespaces in the ROOT type system.
TGedEditor & operator=(const TGedEditor &)
virtual void SetCanvas(TCanvas *c)
Change connection to another canvas.
virtual void Hide()
Hide editor. The editor is put into non-active state.
void ConfigureGedFrames(Bool_t objChaged)
Call SetModel in class editors.
void ReinitWorkspace()
Clears windows in editor tab.
TGedEditor(const TGedEditor &)
virtual void CloseWindow()
Called when closed via WM close button. Calls Hide().
virtual TGCompositeFrame * GetEditorTab(const char *name)
Find or create tab with name.
virtual void RecursiveRemove(TObject *obj)
Remove references to fModel in case the fModel is being deleted.
TGCanvas * GetTGCanvas() const
static TGedEditor * GetFrameCreator()
Returns TGedEditor that currently creates TGedFrames.
void ActivateEditors(TList *bcl, Bool_t recurse)
Searches GedFrames for classes in the given list.
virtual ~TGedEditor()
Editor destructor.
void PrintFrameStat()
Print contents of fFrameMap.
virtual void Show()
Show editor.
virtual TGedTabInfo * GetEditorTabInfo(const char *name)
Find or create tab with name.
void InsertGedFrame(TGedFrame *f)
Insert GedFrame in fGedFrames list according to priorities.
virtual TCanvas * GetCanvas() const
virtual void SetGlobal(Bool_t global)
Set editor global.
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Activate object editors according to the selected object.
virtual TVirtualPad * GetPad() const
TGCompositeFrame * fTabContainer
static void SetFrameCreator(TGedEditor *e)
Set the TGedEditor that currently creates TGedFrames.
virtual TObject * GetModel() const
virtual void GlobalClosed()
Delete global editor if no canvas exists.
void ExcludeClassEditor(TClass *cl, Bool_t recurse=kFALSE)
Exclude editor for class cl from current construction.
void ActivateEditor(TClass *cl, Bool_t recurse)
Searches for GedFrames for given class.
virtual Bool_t IsGlobal() const
virtual void DisconnectFromCanvas()
Disconnect this editor from the Selected signal of fCanvas.
virtual void Update(TGedFrame *frame=0)
Virtual method that is called on any change in the dependent frames.
virtual TGedFrame * CreateNameFrame(const TGWindow *parent, const char *tab_name)
Virtual function for creation of top name-frame in each tab.
virtual void GlobalSetModel(TVirtualPad *, TObject *, Int_t)
Set canvas to global editor.
virtual void ConnectToCanvas(TCanvas *c)
Connect this editor to the Selected signal of canvas 'c'.
static TGedEditor * fgFrameCreator
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
Abstract base class used by ROOT graphics editor.
TVirtualPad is an abstract base class for the Pad and Canvas classes.