AuboCaps  0.6.0
installation_node_view.h
Go to the documentation of this file.
1 #ifndef AUBO_SCOPE_INSTALLATION_NODE_VIEW_H
2 #define AUBO_SCOPE_INSTALLATION_NODE_VIEW_H
3 
6 
7 typedef long WidgetHandle;
8 
9 namespace arcs {
10 namespace aubo_scope {
11 ARCS_CLASS_FORWARD(InstallationNodeView);
12 
13 /**
14  * API for an installation node View which defines the UI for the corresponding
15  * {@link InstallationNodeContribution}
16  *
17  * @param <C> the (generic) type parameter for the interface representing the
18  * type of the
19  * {@link InstallationNodeContribution} for which this view
20  * implements the UI
21  */
23 {
24 public:
25  virtual ~InstallationNodeView() = default;
26 
27  /**
28  * Build the UI for the corresponding {@link InstallationNodeContribution}
29  * on the provided panel. Use the contribution for your logic and data model
30  * manipulations.
31  *
32  * @param panel the panel to build the UI on
33  * @param contribution the corresponding installation node contribution/
34  */
35  virtual void buildUi(WidgetHandle panel,
36  InstallationNodeContributionPtr contribution) = 0;
37 };
38 
39 } // namespace aubo_scope
40 } // namespace arcs
41 
42 #endif // AUBO_SCOPE_INSTALLATION_NODE_VIEW_H
ARCS_CLASS_FORWARD(GripForceCapability)
virtual void buildUi(WidgetHandle panel, InstallationNodeContributionPtr contribution)=0
Build the UI for the corresponding InstallationNodeContribution on the provided panel.
API for an installation node View which defines the UI for the corresponding InstallationNodeContribu...
long WidgetHandle