NX Open C++ Reference Guide
|
Represents Custom WebApp Menu Handler class
Created in NX11.0.0.
More...
Public Types | |
typedef NXOpen::Callback0< int > | CustomWebAppInvokedCallback |
This callback will be invoked by NX when user clicks on a custom webapp menu item. More... | |
Public Member Functions | |
NXString | GetCommandName () |
Returns the command name. More... | |
void | GetSelectedUids (std::vector< NXString > &uids) |
Returns the unique identifier of the uids in PDM Created in NX11.0.0. More... | |
void | RegisterCustomWebAppInvokedCallback (const NXOpen::PDM::CustomWebAppMenuHandler::CustomWebAppInvokedCallback &webappCb) |
Registers the add_custom_web_app_menu_callback callback method with the webApp menu handler object. More... | |
virtual | ~CustomWebAppMenuHandler () |
Frees the object from memory. More... | |
Public Member Functions inherited from NXOpen::TransientObject | |
void * | GetHandle () |
Handle of the internal object represented by this object. More... | |
Represents Custom WebApp Menu Handler class
Created in NX11.0.0.
This callback will be invoked by NX when user clicks on a custom webapp menu item.
The picked menu and object(s) selected can be queried from within this callback.The custom implementation can perform appropriate action associated with this menu pick.
Created in NX11.0.0.
License requirements : None
|
virtual |
Frees the object from memory.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX11.0.0.
License requirements : None
NXString NXOpen::PDM::CustomWebAppMenuHandler::GetCommandName | ( | ) |
Returns the command name.
void NXOpen::PDM::CustomWebAppMenuHandler::GetSelectedUids | ( | std::vector< NXString > & | uids | ) |
Returns the unique identifier of the uids in PDM
Created in NX11.0.0.
License requirements : None
uids | Selected uids |
void NXOpen::PDM::CustomWebAppMenuHandler::RegisterCustomWebAppInvokedCallback | ( | const NXOpen::PDM::CustomWebAppMenuHandler::CustomWebAppInvokedCallback & | webappCb | ) |
Registers the add_custom_web_app_menu_callback callback method with the webApp menu handler object.
Created in NX11.0.0.
License requirements : None
webappCb | webapp cb |