Class: Syskit::GUI::ModelViews::ProfileElementView

Inherits:
ComponentNetworkView show all
Defined in:
lib/syskit/gui/model_views/profile.rb

Constant Summary

Constants inherited from ComponentNetworkBaseView

ComponentNetworkBaseView::Button, ComponentNetworkBaseView::DATA_SERVICE_WITHOUT_NAMES_TEMPLATE, ComponentNetworkBaseView::DATA_SERVICE_WITH_NAMES_TEMPLATE

Instance Attribute Summary

Attributes inherited from ComponentNetworkView

#dataflow_options, #hierarchy_options, #plan, #task

Attributes inherited from ComponentNetworkBaseView

#current_model, #page, #plan

Instance Method Summary collapse

Methods inherited from ComponentNetworkView

#initialize, #process_options, #render_plan, #view_partial_plans=, #view_partial_plans?

Methods inherited from ComponentNetworkBaseView

#buttonClicked, #clear, common_graph_buttons, #compute_system_network, #disable, #enable, find_definition_place, graph_annotation_buttons, html_defined_in, #initialize, #instanciate_model, #list_services, make_annotation_buttons, #push_plan, #render_data_services, #render_require_section, #save_svg, task_annotation_buttons

Constructor Details

This class inherits a constructor from Syskit::GUI::ComponentNetworkView

Instance Method Details

#render(model, *args, **options) ⇒ Object



113
114
115
116
# File 'lib/syskit/gui/model_views/profile.rb', line 113

def render(model, *args, **options)
    page.push "#{model.name || "<unnamed>"}(#{model.model.name})", page.main_doc(model.doc || ""), id: options[:id]
    super
end