[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [FR-devel] FreeRIDE internals
From: |
Curt Hibbs |
Subject: |
RE: [FR-devel] FreeRIDE internals |
Date: |
Fri, 7 Nov 2003 07:38:45 -0600 |
Dmitry V. Sabanin wrote:
>
> My question was not about my own plugins and menu there. I'm
> interested in
> CoreCommands plugin, as I'm trying to understand how FR works.
> I see in HelloWorld example:
>
> tools_menu = plugin['/system/ui/components/MenuPane?[/Tools
> menu]?'].manager
> tools_menu.add_command('Examples/Hello?')
>
> But I don't see any of this code in core_commands.rb, then where
> menu for core
> commands gets created? (that's the question :)
The core commands are bound to menu items in a YAML config file:
freeride/plugins/rubyide_gui/component_layout.yaml
Also, many of those same commands are also bound to toolbar icons in another
YAML config file:
freeride/plugins/rubyide_fox_gui/toolbar.yaml
Curt