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