NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::PDM::CustomWebAppMenuHandler Class Reference

Represents Custom WebApp Menu Handler class
Created in NX11.0.0. More...

Inheritance diagram for NXOpen::PDM::CustomWebAppMenuHandler:
NXOpen::TransientObject

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...
 

Detailed Description

Represents Custom WebApp Menu Handler class
Created in NX11.0.0.


Member Typedef Documentation

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

Constructor & Destructor Documentation

virtual NXOpen::PDM::CustomWebAppMenuHandler::~CustomWebAppMenuHandler ( )
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

Member Function Documentation

NXString NXOpen::PDM::CustomWebAppMenuHandler::GetCommandName ( )

Returns the command name.

Returns
the command name
Created in NX11.0.0.

License requirements : None
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

Parameters
uidsSelected 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

Parameters
webappCbwebapp cb

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.