Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2 beta
    • Fix Version/s: milestone 1
    • Component/s: java
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      17

      Description

      Need the ability to add arbitrary components to groups. This is really intended
      to support arbitrary components in toolbars without having to fudge around by
      nesting the gui command toolbar in the 'real' toolbar.

      For example.
      <group>
      ...
      <members>
      <member bean="bean.class.Name"/>
      <member factory="factory.class.Name"/>
      </members>
      </group>

      Will need to consider how the group and the application can access the new
      component. For example, if the applicaiton creates the component, the group
      needs an elegant way to get it (preferably without relying on static methods),
      ie through a component factory or something similar.

      CommandManager.setComponentFactory(ComponentFactory f);

      class ComponentFactory
      {
      Component createComponent(String id);
      }

      <member component-factory="my-components-id"/>

      To make this consistent, I should consider using the same mechanism for icons as
      well.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            pietschy
            Reporter:
            pietschy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: