AuboStudio SDK  0.6.3
program_node_view.h
浏览该文件的文档.
1#ifndef AUBO_SCOPE_PROGRAM_NODE_VIEW_H
2#define AUBO_SCOPE_PROGRAM_NODE_VIEW_H
3
6
7namespace arcs {
8namespace aubo_scope {
9typedef long WidgetHandle;
11
12/**
13 * API for a program node View which defines the UI for the corresponding {@link
14 * ProgramNodeContribution}. The instance of {@link SwingProgramNodeView} is a
15 * shared entity between several contributions.
16 */
18{
19public:
20 virtual ~ProgramNodeView() = default;
21
22 /**
23 * Build the UI for the corresponding {@link ProgramNodeContribution} on the
24 * provided panel. Use the contribution for your logic and data model
25 * manipulations.
26 *
27 * @param panel the panel to build the UI on
28 * @param provider the provider for corresponding program node contribution
29 * currently selected (in the program tree)
30 */
31 virtual void buildUi(
32 WidgetHandle panel,
34};
35
36} // namespace aubo_scope
37} // namespace arcs
38
39#endif // AUBO_SCOPE_PROGRAM_NODE_VIEW_H
#define ARCS_CLASS_FORWARD(C)
Macro that forward declares a class and defines the respective smartpointers through ARCS_DECLARE_PTR...
API for a program node View which defines the UI for the corresponding ProgramNodeContribution.
virtual ~ProgramNodeView()=default
virtual void buildUi(WidgetHandle panel, ContributionProviderPtr< ProgramNodeContribution > provider)=0
Build the UI for the corresponding ProgramNodeContribution on the provided panel.
std::shared_ptr< ContributionProvider< T > > ContributionProviderPtr