Announcement Announcement Module
Collapse
No announcement yet.
CommandGroup' createButton method - parameter unused! Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • CommandGroup' createButton method - parameter unused!

    The parameter 'faceDescriptorId' in the createButton method is not used and instead 'getDefaultFaceDescriptorId()' is passed in the class org.springframework.richclient.command.CommandGrou p
    Code:
       public AbstractButton createButton(String faceDescriptorId, ButtonFactory buttonFactory,
                CommandButtonConfigurer buttonConfigurer) {
            return createButton(getDefaultFaceDescriptorId(), buttonFactory, getMenuFactory(), buttonConfigurer);
        }
    I think, this should have been,

    Code:
       public AbstractButton createButton(String faceDescriptorId, ButtonFactory buttonFactory,
                CommandButtonConfigurer buttonConfigurer) {
            return createButton(faceDescriptorId, buttonFactory, getMenuFactory(), buttonConfigurer);
        }
    Regards,
    Prashant
Working...
X