Class: ArcadiaUserControl

Inherits:
Object
  • Object
show all
Defined in:
lib/a-core.rb

Direct Known Subclasses

ArcadiaMainMenu, ArcadiaMainToolbar

Defined Under Namespace

Classes: UserItem

Constant Summary collapse

SUF =
'user_control'

Instance Method Summary collapse

Instance Method Details

#itemsObject

end



1054
1055
1056
1057
# File 'lib/a-core.rb', line 1054

def items
  @items = Hash.new if @items.nil?
  @items
end

#new_item(_sender, _args) ⇒ Object



1059
1060
1061
1062
# File 'lib/a-core.rb', line 1059

def new_item(_sender, _args)
  item = self.class::UserItem.new(_sender, _args)
  items[_args['name']]= item if _args['name']
end