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);
123 static const TEveException eh(
"TEveGedEditor::DisplayElement ");
174 "Maximum number of extra editors reached.",
271 fNCButton->
Connect(
"Clicked()",
"TEveGedNameFrame",
this,
"SpawnEditorClone()");
340 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.
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.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
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)...
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)
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 SpawnEditorClone()
Create a new floating editor with current object.
R__EXTERN TGDNDManager * gDNDManager
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Set model object.
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.
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 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 void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Activate object editors according to the selected object.
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
Return the capacity of the collection, i.e.
virtual void DeleteWindow()
Delete window.
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.