Class: MINT::AISingleChoice
- Inherits:
-
AIContainer
- Object
- Interactor
- AIO
- AIOUT
- AIContainer
- MINT::AISingleChoice
- Defined in:
- lib/MINT-core/model/aui/AISingleChoice.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Interactor
Interactor::PUBLISH_ATTRIBUTES
Instance Method Summary collapse
Methods inherited from AIContainer
#child_to_presenting, #children, #children=, #focus_child, #present_children, #suspend_children
Methods inherited from AIO
#exists_next, #exists_parent, #exists_prev, #focus_next, #focus_parent, #focus_previous, getModel, #inform_parent_presenting, #next, #next2str, #parent, #parent2str, #parent=, #previous, #previous2str
Methods inherited from Interactor
class_from_channel_name, #create_attribute_channel_name, create_channel_name, #create_channel_w_name, get, getModel, get_dm, #init_statemachine, #is_in?, #new_states, notify, #process_event, #process_event!, #process_event_vars, #publish_update, #states, #states=, #sync_event, #sync_states, #to_dot, wait
Methods included from InteractorHelpers
#restart_timeout, #start_timeout, #stop_timeout
Instance Method Details
#add(elements) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/MINT-core/model/aui/AISingleChoice.rb', line 9 def add(elements) elements.each do |e| self.children = self.children << e e.parent = self e.save end self.save end |
#getSCXML ⇒ Object
4 5 6 |
# File 'lib/MINT-core/model/aui/AISingleChoice.rb', line 4 def getSCXML "#{File.dirname(__FILE__)}/aisinglechoice.scxml" end |