64 Warning(
"TEveGedEditor::TEveGedEditor",
"Can't fix priority for TAttMarkerEditor.\n");
66 * (
Int_t*) (((
char*)frame) + off) = 1;
79 Info(
"TEveGedEditor::~TEveGedEditor",
"%p going down.",
this);
89 Info(
"TEveGedEditor::CloseWindow",
"%p closing.",
this);
104 Info(
"TEveGedEditor::DeleteWindow",
"%p shooting timer.",
this);
138 static const TEveException eh(
"TEveGedEditor::DisplayElement ");
189 "Maximum number of extra editors reached.",
286 fNCButton->
Connect(
"Clicked()",
"TEveGedNameFrame",
this,
"SpawnEditorClone()");
355 static const TEveException eh(
"TEveGedNameTextButton::HandleButton ");
static Int_t fgMaxExtraEditors
void DisplayElement(TEveElement *re)
Show a TEveElement in editor.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
void DisplayObject(TObject *obj)
Show a TObject in editor.
void SetRoot(TGWindow *root=0)
Sets the current root (i.e.
virtual void DeleteWindow()
This is exact clone of TGFrame::DeleteWindow().
static void SpawnNewEditor(TObject *obj)
Static function to create a new extra editor.
Specialization of TGedEditor for proper update propagation to TEveManager.
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
const TGWindow * GetRoot() const
Returns current root (i.e.
Bool_t TestBit(UInt_t f) const
Specialization of TGTextButton for EVE name frame.
static void DestroyEditors()
Destroys all editors. Called from EVE termination.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
void Add(TObject *obj)
This function may not be used (but we need to provide it since it is a pure virtual in TCollection)...
static void SingleShot(Int_t milliSec, const char *receiver_class, void *receiver, const char *method)
This static function calls a slot after a given time interval.
TEveGedEditor(const TEveGedEditor &)
virtual void RemoveAll()
Remove all frames from composite frame.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
void SetMainFrame(TGFrame *main)
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event)
Activate object editors according to the selected object.
static void SetFrameCreator(TGedEditor *e)
Set the TGedEditor that currently creates TGedFrames.
virtual ~TEveGedEditor()
Destructor.
virtual ~TEveGedNameFrame()
Destructor.
virtual void PropagateVizParamsToProjecteds()
Propagate visualization parameters to dependent elements.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
void SpawnEditorClone()
Create a new floating editor with current object.
R__EXTERN TGDNDManager * gDNDManager
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual TObject * GetModel() const
virtual void ElementChanged(Bool_t update_scenes=kTRUE, Bool_t redraw=kFALSE)
Call this after an element has been changed so that the state can be propagated around the framework...
static TContextMenu * GetContextMenu()
Return context menu object shared among eve-ged-editors.
virtual void CloseWindow()
Called from window-manger close button.
TVirtualPad is an abstract base class for the Pad and Canvas classes.
TGWindow * GetMainWindow() const
Get the main window, i.e. EVE-browser.
const Mask_t kButtonPressMask
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot...
virtual void SetModel(TObject *obj)
Set model object.
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
static void ElementChanged(TEveElement *el)
Element was changed. Update editors showing it.
R__EXTERN TEveManager * gEve
virtual TGedFrame * CreateNameFrame(const TGWindow *parent, const char *tab_name)
Create name-frame for a tab.
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual const char * GetName() const
Return unique name, used in SavePrimitive methods.
char * Form(const char *fmt,...)
Specialization of TGedNameFrame used in EVE.
The ROOT global object gROOT contains a list of all defined classes.
TGedEditor * GetGedEditor()
virtual ~TEveGedNameTextButton()
Destructor.
static TContextMenu * fgContextMenu
virtual TObjLink * FirstLink() const
virtual void SetText(TGHotString *new_label)
Set new button text.
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event)
Set model object.
virtual Bool_t IsEmpty() const
const Mask_t kButtonReleaseMask
Long_t GetDataMemberOffset(const char *membername) const
return offset for member name.
Wrapper around a TObject so it can be stored in a TList.
virtual void Update(TGedFrame *gframe=0)
Virtual method from TGedEditor, called on every change.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
Mother of all ROOT objects.
TObject * GetObject() const
virtual const char * GetTitle() const
Returns title of object.
TEveGedNameTextButton(const TEveGedNameTextButton &)
virtual void Add(TObject *obj)
TGFrame * GetMainFrame() const
Exception class thrown by TEve classes and macros.
TEveGedNameFrame * fFrame
static void ElementDeleted(TEveElement *el)
Element is being deleted. Close editors showing it.
virtual const char * GetName() const
Returns name of object.
virtual Int_t GetSize() const
const Mask_t kAnyModifier
TEveGedNameFrame(const TEveGedNameFrame &)
virtual TObject * GetEditorObject(const TEveException &eh) const
TEveElement * GetEveElement() const
Return eve-element if it is the model object.
virtual Bool_t HandleButton(Event_t *event)
Handle button.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
void SetModelClass(TClass *mcl)
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
static TList * fgExtraEditors
TGCompositeFrame * fTabContainer
virtual void SetGedEditor(TGedEditor *ed)
virtual void RemoveFirst()
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.