NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
CustomPopupMenuHandler.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// CustomPopupMenuHandler.ja
9//
10// 生成者:
11// apiwrap
12//
13// 警告:
14// 此文件为自动生成 - 请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <vector>
19#include <NXOpen/NXString.hxx>
20#include <NXOpen/Callback.hxx>
21#include <NXOpen/CustomPopupMenu.hxx>
22#include <NXOpen/CustomPopupMenuItem.hxx>
23#include <NXOpen/TransientObject.hxx>
24#include <NXOpen/TreeListNode.hxx>
25#include <NXOpen/libnxopenuicpp_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
36 class CustomPopupMenu;
38 class TreeListNode;
39 class CustomPopupMenuHandlerImpl;
43 class NXOPENUICPPEXPORT CustomPopupMenuHandler : public NXOpen::TransientObject
44 {
45 public:
49 public:
53 private: CustomPopupMenuHandlerImpl * m_custompopupmenuhandler_impl;
55 public: explicit CustomPopupMenuHandler(void *ptr);
57
61 (
63 );
68 (
70 );
74 public: void GetSelectedNodes
75 (
76 std::vector<NXOpen::TreeListNode *> & selectedNodes
77 );
82 (
83 );
87 public: virtual ~CustomPopupMenuHandler();
92 (
93 int menuId ,
94 const NXString & menuName
95 );
100 (
101 int menuId ,
102 const char * menuName
103 );
108 (
109 int menuItemId ,
110 const NXString & menuItemName
111 );
116 (
117 int menuItemId ,
118 const char * menuItemName
119 );
123 public: void AddMenuSeparator
124 (
125 );
126 }; //lint !e1712 类未定义默认构造函数
127}
128#ifdef _MSC_VER
129#pragma warning(pop)
130#endif
131#ifdef __GNUC__
132#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
133#pragma GCC diagnostic warning "-Wdeprecated-declarations"
134#endif
135#endif
136#undef EXPORTLIBRARY