[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: |
Thu, 6 Nov 2003 12:36:29 -0600 |
Dmitry V. Sabanin wrote:
>
> Hi,
> I'm trying to understand FR internal structure and probably hack
> some code.
> It's late now and i can't find out one thing, help me please.
> I see plugin CoreCommands in rubyide_commands dir(core_commands.rb), it
> defines all common commands used through FR, and these commands
> also appear
> in the MenuPane, when FR is started. The question is, where are this
> CoreCommands menus are created from? I've tried to add my own
> 'CoreCommand'
> to a core_commands.rb, but it doesn't appear in the menu. Where
> should I also
> add code to make these happen?
> I know that there exists a MenuPane manager, that adds my own
> menus or menu
> items to a main menu, but there's no such thing used in
> CoreCommands, so I'm
> confused.
>
> Thanks in advance!
You should find everything you need to know in FreeRIDE's HelloWorld HowTo:
http://freeride.rubyforge.org/wiki/wiki.pl?HelloWorld_HowTo
It adds a HelloWorld command to the Tools menu. Also, you could check out
the plugins that other users have created (most of which also add menu
items) at:
http://freeride.rubyforge.org/wiki/wiki.pl?UserPlugins
Curt