MatOCAD Logo

Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

wxIFMExtensionPluginBase Class Reference

#include <plugin.h>

Inherited by wxIFMDefaultContainerPlugin, wxIFMDefaultDockingPlugin, wxIFMDefaultPanelPlugin, and wxIFMDefaultResizePlugin.

Inheritance diagram for wxIFMExtensionPluginBase:

Inheritance graph
[legend]
Collaboration diagram for wxIFMExtensionPluginBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 wxIFMExtensionPluginBase ()
virtual ~wxIFMExtensionPluginBase ()
virtual bool Initialize (wxIFMInterfacePluginBase *plugin)
virtual void Shutdown ()
virtual void Enable (bool val=true)
void Disable ()

Protected Member Functions

wxInterfaceManagerGetManager ()
wxIFMInterfacePluginBaseGetIP ()

Private Attributes

wxIFMInterfacePluginBasem_ip

Detailed Description

Extension plugin base class

Definition at line 155 of file plugin.h.


Constructor & Destructor Documentation

wxIFMExtensionPluginBase::wxIFMExtensionPluginBase  ) 
 

Definition at line 446 of file plugin.cpp.

wxIFMExtensionPluginBase::~wxIFMExtensionPluginBase  )  [virtual]
 

Definition at line 451 of file plugin.cpp.


Member Function Documentation

void wxIFMExtensionPluginBase::Disable  ) 
 

Definition at line 479 of file plugin.cpp.

References Enable().

void wxIFMExtensionPluginBase::Enable bool  val = true  )  [virtual]
 

Definition at line 474 of file plugin.cpp.

Referenced by Disable(), and wxIFMInterfacePluginBase::Enable().

wxIFMInterfacePluginBase * wxIFMExtensionPluginBase::GetIP  )  [protected]
 

Definition at line 459 of file plugin.cpp.

References m_ip.

Referenced by wxIFMDefaultResizePlugin::OnAddTopContainer(), wxIFMDefaultPanelPlugin::OnCreateComponent(), wxIFMDefaultContainerPlugin::OnCreateComponent(), wxIFMDefaultResizePlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDock(), wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDrag(), wxIFMDefaultDockingPlugin::OnDragBegin(), wxIFMDefaultDockingPlugin::OnDragEnd(), wxIFMDefaultResizePlugin::OnKeyDown(), wxIFMDefaultDockingPlugin::OnKeyDown(), wxIFMDefaultResizePlugin::OnLeftDown(), wxIFMDefaultPanelPlugin::OnLeftDown(), wxIFMDefaultContainerPlugin::OnLeftDown(), wxIFMDefaultResizePlugin::OnLeftUp(), wxIFMDefaultDockingPlugin::OnLeftUp(), wxIFMDefaultResizePlugin::OnMouseMove(), wxIFMDefaultDockingPlugin::OnMouseMove(), wxIFMDefaultResizePlugin::OnPaintDecor(), wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), wxIFMDefaultPanelPlugin::OnSelectTab(), wxIFMDefaultResizePlugin::OnSetCursor(), wxIFMDefaultContainerPlugin::OnSetDesiredSize(), wxIFMDefaultResizePlugin::OnShowChild(), wxIFMDefaultPanelPlugin::OnShowComponent(), wxIFMDefaultDockingPlugin::OnShowDropTargets(), wxIFMDefaultResizePlugin::OnUndock(), wxIFMDefaultPanelPlugin::OnUndock(), wxIFMDefaultContainerPlugin::OnUndock(), wxIFMDefaultPanelPlugin::OnUpdate(), wxIFMDefaultContainerPlugin::OnUpdate(), wxIFMDefaultResizePlugin::ResizeComponent(), and wxIFMDefaultResizePlugin::UpdateResizeSashes().

wxInterfaceManager * wxIFMExtensionPluginBase::GetManager  )  [protected]
 

Definition at line 454 of file plugin.cpp.

References wxIFMInterfacePluginBase::GetManager(), and m_ip.

Referenced by wxIFMDefaultDockingPlugin::CreateTargetButtons(), wxIFMDefaultPanelPlugin::OnDock(), wxIFMDefaultDockingPlugin::OnDrag(), wxIFMDefaultDockingPlugin::OnDragBegin(), wxIFMDefaultDockingPlugin::OnDragEnd(), wxIFMDefaultDockingPlugin::OnDragInit(), wxIFMDefaultResizePlugin::OnKeyDown(), wxIFMDefaultDockingPlugin::OnKeyDown(), wxIFMDefaultResizePlugin::OnLeftDown(), wxIFMDefaultResizePlugin::OnLeftUp(), wxIFMDefaultDockingPlugin::OnLeftUp(), wxIFMDefaultDockingPlugin::OnMouseMove(), wxIFMDefaultResizePlugin::OnResizeBegin(), wxIFMDefaultResizePlugin::OnResizeEnd(), wxIFMDefaultResizePlugin::OnResizing(), wxIFMDefaultDockingPlugin::OnShowDropTargets(), wxIFMDefaultDockingPlugin::ShowComponentDropButtons(), and wxIFMDefaultDockingPlugin::ShowFrameDropButtons().

bool wxIFMExtensionPluginBase::Initialize wxIFMInterfacePluginBase plugin  )  [virtual]
 

Tells the extension plugin what interface plugin it extends. If an extension plugin only works for inteface plugin Q, a warning message should be generated by this function, and false should be returned. Otherwise, return true.

If this function returns false, the extension plugin will be removed from the interface plugin that it was added to.

Reimplemented in wxIFMDefaultPanelPlugin, wxIFMDefaultDockingPlugin, and wxIFMDefaultResizePlugin.

Definition at line 464 of file plugin.cpp.

References m_ip.

Referenced by wxIFMDefaultResizePlugin::Initialize(), wxIFMDefaultDockingPlugin::Initialize(), wxIFMDefaultPanelPlugin::Initialize(), and wxIFMInterfacePluginBase::PushExtensionPlugin().

void wxIFMExtensionPluginBase::Shutdown  )  [virtual]
 

Definition at line 471 of file plugin.cpp.

Referenced by wxIFMInterfacePluginBase::PopExtensionPlugin().


Member Data Documentation

wxIFMInterfacePluginBase* wxIFMExtensionPluginBase::m_ip [private]
 

Reimplemented in wxIFMDefaultDockingPlugin, and wxIFMDefaultResizePlugin.

Definition at line 158 of file plugin.h.

Referenced by GetIP(), GetManager(), and Initialize().


The documentation for this class was generated from the following files:

 

SourceForge Logo