Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-1228

Generic Command Wizard: option to group mandatory parameters first

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.5.0.M3
    • Fix Version/s: 2.5.0.RC1
    • Component/s: None
    • Labels:
      None

      Description

      In the parameter's wizard page, group mandatory parameters first.

      Add an option in the wizard such that subclasses can decide whether to group mandatory parameters first, or create the parameter editors in the order in which the parameters appear in the command descriptor.

        Activity

        Hide
        nisingh Nieraj Singh added a comment -

        Fix committed. Added option in GenericCommandWizard such that mandatory parameters are grouped first. The default is true.

        Show
        nisingh Nieraj Singh added a comment - Fix committed. Added option in GenericCommandWizard such that mandatory parameters are grouped first. The default is true.
        Hide
        nisingh Nieraj Singh added a comment -

        Added SWT Grouping for each of the parameter types. Now there are two SWT Groups, one for Required Parameters, and the other for Optional Parameters. The Groups grab vertical to allow for a scrolled child composite as the content of the composite are generated. If in the future grabbing vertical and vertical scrolling are not needed, the vertical grabbing for the Group can be set to false. By default, Roo Command Wizard shows the two separate Group controls, whereas Grails does not. This is a design decision, but can be changed in the future simply by setting a flag in the Grails Command Wizard constructor.

        Show
        nisingh Nieraj Singh added a comment - Added SWT Grouping for each of the parameter types. Now there are two SWT Groups, one for Required Parameters, and the other for Optional Parameters. The Groups grab vertical to allow for a scrolled child composite as the content of the composite are generated. If in the future grabbing vertical and vertical scrolling are not needed, the vertical grabbing for the Group can be set to false. By default, Roo Command Wizard shows the two separate Group controls, whereas Grails does not. This is a design decision, but can be changed in the future simply by setting a flag in the Grails Command Wizard constructor.

          People

          • Assignee:
            Unassigned
            Reporter:
            nisingh Nieraj Singh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: