public void initialize ( String selectedText ) { LOG . finest ( ">>> initialize" ) ; try { this . theCommunityLogic = new CommunityLogic ( m_xContext , selectedText ) ; // set properties of the dialog String [ ] propNames = new String [ ] { "Height" , // 0 "Moveable" , // 1 "Name" , // 2 "PositionX" , // 3 "PositionY" , // 4 "Step" , // 5 "TabIndex" , // 6 "Title" , // 7 "Width" // 8 } ; Object [ ] propValues = new Object [ ] { new Integer ( DEFAULT_DIALOG_HEIGHT ) , // 0 Boolean . TRUE , // 1 I18nLabelsLoader . ADDON_REPORT_ERROR , // 2 new Integer ( 102 ) , // 3 new Integer ( 41 ) , // 4 new Integer ( - 1 ) , // 5 new Short ( ( short ) 0 ) , // 6 I18nLabelsLoader . ADDON_REPORT_ERROR + " - CoGrOO Comunidade" , // 7 new Integer ( DEFAULT_DIALOG_WIDTH ) // 8 } ; super . initialize ( propNames , propValues ) ; this . createWindowPeer ( ) ; this . addRoadmap ( new RoadmapItemStateChangeListener ( m_xMSFDialogModel ) ) ; populateStep1 ( ) ; populateStep2 ( ) ; populateStep3 ( ) ; populateStep4 ( ) ; addButtons ( ) ; new CheckTokenAndGetCategoriesThread ( ) . start ( ) ; setCurrentStep ( STEP_LOGIN ) ; setControlsState ( ) ; LOG . finest ( "<<< initialize" ) ; } catch ( BasicErrorException e ) { LOGGER . log ( Level . SEVERE , e . getLocalizedMessage ( ) , e ) ; throw new CogrooRuntimeException ( CogrooExceptionMessages . INTERNAL_ERROR , new String [ ] { e . getLocalizedMessage ( ) } ) ; } }
Initializes the dialog with a selected text . The selected text can t be enpty or null .