private Map < String , String > generateCommonConfigPart ( ) { Map < String , String > result = new HashMap <> ( ) ; if ( m_category != null ) { result . put ( CONFIGURATION_CATEGORY , m_category ) ; } // append 'only leafs' to configuration if ( m_onlyLeafs ) { result . put ( CONFIGURATION_ONLYLEAFS , null ) ; } // append 'property' to configuration if ( m_property != null ) { result . put ( CONFIGURATION_PROPERTY , m_property ) ; } // append 'selectionType' to configuration if ( m_selectiontype != null ) { result . put ( CONFIGURATION_SELECTIONTYPE , m_selectiontype ) ; } return result ; }
Helper to generate the common configuration part for client - side and server - side widget .