Overload  1.1
Game engine with editor
Public Member Functions | Public Attributes | List of all members
BrowserItemContextualMenu Class Referenceabstract
Inheritance diagram for BrowserItemContextualMenu:
OvUI::Plugins::ContextualMenu OvUI::Plugins::IPlugin OvUI::Internal::WidgetContainer FileContextualMenu FolderContextualMenu PreviewableContextualMenu< Resource, ResourceLoader > PreviewableContextualMenu< OvCore::Resources::Material, OvCore::ResourceManagement::MaterialManager > PreviewableContextualMenu< OvRendering::Resources::Model, OvCore::ResourceManagement::ModelManager > PreviewableContextualMenu< OvRendering::Resources::Texture, OvCore::ResourceManagement::TextureManager > SceneContextualMenu ShaderContextualMenu ScriptFolderContextualMenu MaterialContextualMenu ModelContextualMenu TextureContextualMenu

Public Member Functions

 BrowserItemContextualMenu (const std::string p_filePath, bool p_protected=false)
 
virtual void CreateList ()
 
virtual void Execute () override
 
virtual void DeleteItem ()=0
 
- Public Member Functions inherited from OvUI::Plugins::ContextualMenu
void Execute ()
 
void Close ()
 
- Public Member Functions inherited from OvUI::Internal::WidgetContainer
void RemoveWidget (Widgets::AWidget &p_widget)
 
void RemoveAllWidgets ()
 
void ConsiderWidget (Widgets::AWidget &p_widget, bool p_manageMemory=true)
 
void UnconsiderWidget (Widgets::AWidget &p_widget)
 
void CollectGarbages ()
 
void DrawWidgets ()
 
template<typename T , typename ... Args>
T & CreateWidget (Args &&... p_args)
 
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > & GetWidgets ()
 

Public Attributes

bool m_protected
 
std::string filePath
 
OvTools::Eventing::Event< std::string > DestroyedEvent
 
OvTools::Eventing::Event< std::string, std::string > RenamedEvent
 
- Public Attributes inherited from OvUI::Plugins::IPlugin
void * userData = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from OvUI::Internal::WidgetContainer
std::vector< std::pair< OvUI::Widgets::AWidget *, Internal::EMemoryMode > > m_widgets
 

Constructor & Destructor Documentation

◆ BrowserItemContextualMenu()

BrowserItemContextualMenu::BrowserItemContextualMenu ( const std::string  p_filePath,
bool  p_protected = false 
)
inline

Member Function Documentation

◆ CreateList()

virtual void BrowserItemContextualMenu::CreateList ( )
inlinevirtual

◆ DeleteItem()

virtual void BrowserItemContextualMenu::DeleteItem ( )
pure virtual

◆ Execute()

virtual void BrowserItemContextualMenu::Execute ( )
inlineoverridevirtual

Execute the plugin behaviour

Implements OvUI::Plugins::IPlugin.

Member Data Documentation

◆ DestroyedEvent

OvTools::Eventing::Event<std::string> BrowserItemContextualMenu::DestroyedEvent

◆ filePath

std::string BrowserItemContextualMenu::filePath

◆ m_protected

bool BrowserItemContextualMenu::m_protected

◆ RenamedEvent

OvTools::Eventing::Event<std::string, std::string> BrowserItemContextualMenu::RenamedEvent

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