@Override
    protected void defineWidgets() {

        super.defineWidgets();

        // widgets to display
        if (m_fieldconfiguration.getName() == null) {
            addWidget(new CmsWidgetDialogParameter(m_fieldconfiguration, "name", PAGES[0], new CmsInputWidget()));
        } else {
            addWidget(new CmsWidgetDialogParameter(m_fieldconfiguration, "name", PAGES[0], new CmsDisplayWidget()));
        }
        addWidget(
            new CmsWidgetDialogParameter(
                m_fieldconfiguration,
                "description",
                "",
                PAGES[0],
                new CmsInputWidget(),
                0,
                1));
    }
@ Override protected void defineWidgets ( ) { super . defineWidgets ( ) ; if ( m_fieldconfiguration . getName ( ) == null ) { addWidget ( new CmsWidgetDialogParameter ( m_fieldconfiguration , "name" , PAGES [ 0 ] , new CmsInputWidget ( ) ) ) ; } else { addWidget ( new CmsWidgetDialogParameter ( m_fieldconfiguration , "name" , PAGES [ 0 ] , new CmsDisplayWidget ( ) ) ) ; } addWidget ( new CmsWidgetDialogParameter ( m_fieldconfiguration , "description" , "" , PAGES [ 0 ] , new CmsInputWidget ( ) , 0 , 1 ) ) ; }
Creates the list of widgets for this dialog.<p>