[Rock-dev] [rock] #155: vizkit: should use the name class as the only widget name

rock noreply at opendfki.de
Mon May 14 11:37:36 CEST 2012


#155: vizkit: should use the name class as the only widget name
----------------------------+------------------------------------
 Reporter:  sylvain.joyeux  |       Owner:  rock-dev-mailing-list
     Type:  enhancement     |      Status:  closed
 Priority:  major           |   Milestone:
Component:  base            |  Resolution:  fixed
 Keywords:                  |
----------------------------+------------------------------------
Changes (by Alexander.Duda):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 add support for namespaces
 add support to deprecate a plugin
 remove limitation for vizkit3d plugins (they can be registered under any
 name)

 Vizkit::UiLoader.register_widget_for("name::Plugin","/base/samples/frame/Frame,:config)
 Vizkit::UiLoader.register_deprecate_plugin_clone("Plugin","name::Plugin")

 Vizkit.default_loader.name.Plugin => returns the plugin
 Vizkit.default_loader.create_plugin("name::Plugin") => returns the plugin
 Vizkit.default_loader.Plugin => returns the plugin and displays a
 deprecate warning

-- 
Ticket URL: <http://rock.opendfki.de/ticket/155#comment:1>
rock <http://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list