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 ");
const Mask_t kButtonPressMask
const Mask_t kAnyModifier
const Mask_t kButtonReleaseMask
include TDocParser_001 C image html pict1_TDocParser_001 png width
R__EXTERN TEveManager * gEve
R__EXTERN TGDNDManager * gDNDManager
char * Form(const char *fmt,...)
TClass instances represent classes, structs and namespaces in the ROOT type system.
void * New(ENewType defConstructor=kClassNew, Bool_t quiet=kFALSE) const
Return a pointer to a newly allocated object of this class.
Long_t GetDataMemberOffset(const char *membername) const
return offset for member name.
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 Bool_t IsEmpty() const
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual TObject * GetEditorObject(const TEveException &eh) const
virtual void PropagateVizParamsToProjecteds()
Propagate visualization parameters to dependent elements.
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.
virtual TObject * GetObject(const TEveException &eh) const
Get a TObject associated with this render-element.
Exception class thrown by TEve classes and macros.
Specialization of TGedEditor for proper update propagation to TEveManager.
static Int_t fgMaxExtraEditors
TEveElement * GetEveElement() const
Return eve-element if it is the model object.
virtual void Update(TGedFrame *gframe=0)
Virtual method from TGedEditor, called on every change.
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Set model object.
static void ElementDeleted(TEveElement *el)
Element is being deleted. Close editors showing it.
void DisplayElement(TEveElement *re)
Show a TEveElement in editor.
static TContextMenu * GetContextMenu()
Return context menu object shared among eve-ged-editors.
static TContextMenu * fgContextMenu
static TList * fgExtraEditors
virtual TGedFrame * CreateNameFrame(const TGWindow *parent, const char *tab_name)
Create name-frame for a tab.
static void DestroyEditors()
Destroys all editors. Called from EVE termination.
virtual void CloseWindow()
Called from window-manger close button.
TEveGedEditor(const TEveGedEditor &)
virtual ~TEveGedEditor()
Destructor.
void DisplayObject(TObject *obj)
Show a TObject in editor.
static void ElementChanged(TEveElement *el)
Element was changed. Update editors showing it.
static void SpawnNewEditor(TObject *obj)
Static function to create a new extra editor.
Specialization of TGedNameFrame used in EVE.
void SpawnEditorClone()
Create a new floating editor with current object.
virtual void SetModel(TObject *obj)
Set model object.
virtual ~TEveGedNameFrame()
Destructor.
TEveGedNameFrame(const TEveGedNameFrame &)
Specialization of TGTextButton for EVE name frame.
virtual Bool_t HandleButton(Event_t *event)
Handle button.
TEveGedNameFrame * fFrame
virtual ~TEveGedNameTextButton()
Destructor.
TEveGedNameTextButton(const TEveGedNameTextButton &)
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
TGWindow * GetMainWindow() const
Get the main window, i.e. EVE-browser.
const TGWindow * GetRoot() const
Returns current root (i.e.
void SetRoot(TGWindow *root=0)
Sets the current root (i.e.
virtual void AddFrame(TGFrame *f, TGLayoutHints *l=0)
Add frame to the composite frame using the specified layout hints.
virtual void RemoveAll()
Remove all frames from composite frame.
void SetMainFrame(TGFrame *main)
TGFrame * GetMainFrame() const
virtual void DeleteWindow()
Delete window.
void SetWindowName(const char *name=0)
Set window name. This is typically done via the window manager.
virtual void SetText(TGHotString *new_label)
Set new button text.
virtual void SetTextColor(Pixel_t color, Bool_t global=kFALSE)
Changes text color.
virtual void SetModel(TVirtualPad *pad, TObject *obj, Int_t event, Bool_t force=kFALSE)
Activate object editors according to the selected object.
TGCompositeFrame * fTabContainer
static void SetFrameCreator(TGedEditor *e)
Set the TGedEditor that currently creates TGedFrames.
virtual TObject * GetModel() const
virtual void SetGedEditor(TGedEditor *ed)
void SetModelClass(TClass *mcl)
TGedEditor * GetGedEditor()
virtual void Add(TObject *obj)
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual TObjLink * FirstLink() const
virtual TObject * First() const
Return the first object in the list. Returns 0 when list is empty.
void Add(TObject *obj)
This function may not be used (but we need to provide it since it is a pure virtual in TCollection).
Wrapper around a TObject so it can be stored in a TList.
TObject * GetObject() const
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual const char * ClassName() const
Returns name of class to which the object belongs.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual const char * GetTitle() const
Returns title of object.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
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 RemoveFirst()
TVirtualPad is an abstract base class for the Pad and Canvas classes.