private void populateStep1 ( ) { this . insertRoadmapItem ( 0 , true , I18nLabelsLoader . REPORT_STEP_LOGIN , 1 ) ; int y = 6 ; this . insertFixedTextBold ( this , DEFAULT_PosX , y , DEFAULT_WIDTH_LARGE , STEP_LOGIN , I18nLabelsLoader . REPORT_STEP_LOGIN ) ; y += 12 ; // plus one line this . insertMultilineFixedText ( this , DEFAULT_PosX , y , DEFAULT_WIDTH_LARGE , 8 * 18 , STEP_LOGIN , I18nLabelsLoader . ADDON_LOGIN_INFO ) ; y += 8 * 18 ; // plus 15 lines this . insertFixedHyperlink ( this , DEFAULT_PosX , y , DEFAULT_WIDTH_LARGE , STEP_LOGIN , I18nLabelsLoader . ADDON_REPORT_FROM_BROWSER , Resources . getProperty ( "COMMUNITY_ROOT" ) + "/reports/new/" + theCommunityLogic . getEscapedText ( ) ) ; y += 18 ; this . insertFixedHyperlink ( this , DEFAULT_PosX , y , DEFAULT_WIDTH_LARGE , STEP_LOGIN , I18nLabelsLoader . ADDON_LOGIN_REGISTER , Resources . getProperty ( "COMMUNITY_ROOT" ) + "/register" ) ; y += 12 ; this . insertFixedHyperlink ( this , DEFAULT_PosX , y , DEFAULT_WIDTH_LARGE , STEP_LOGIN , I18nLabelsLoader . ADDON_LOGIN_LICENSE , I18nLabelsLoader . ADDON_LOGIN_LICENSEURL ) ; y += 12 ; this . insertFixedText ( this , DEFAULT_PosX , y + 2 , 40 , 1 , I18nLabelsLoader . ADDON_LOGIN_USER ) ; String userName = getCommunityUsername ( ) ; if ( userName == null ) { userName = "" ; } XTextListener textListener = new AuthUserPasswdTextListener ( ) ; userNameText = this . insertEditField ( textListener , this , DEFAULT_PosX + 40 , y , 60 , STEP_LOGIN , userName ) ; y += 14 ; this . insertFixedText ( this , DEFAULT_PosX , y + 2 , 40 , 1 , I18nLabelsLoader . ADDON_LOGIN_PASSWORD ) ; userPasswordText = this . insertSecretEditField ( textListener , this , DEFAULT_PosX + 40 , y , 60 , STEP_LOGIN , "" ) ; y += 14 ; authButton = this . insertButton ( new AuthLoginButtonListener ( ) , DEFAULT_PosX + 40 + 60 + 10 , y - 12 , 40 , STEP_LOGIN , I18nLabelsLoader . ADDON_LOGIN_ALLOW , ( ( short ) PushButtonType . STANDARD_value ) ) ; y += 4 ; this . insertFixedText ( this , DEFAULT_PosX , y , DEFAULT_WIDTH_LARGE , STEP_LOGIN , I18nLabelsLoader . ADDON_LOGIN_STATUS ) ; authStatusLabel = this . insertHiddenFixedStatusText ( this , DEFAULT_PosX + 40 , y , DEFAULT_WIDTH_LARGE , STEP_LOGIN , I18nLabelsLoader . ADDON_LOGIN_STATUS_NOTAUTH , false ) ; authProgressBar = this . insertProgressBar ( DEFAULT_PosX , DEFAULT_DIALOG_HEIGHT - 26 - 8 , DEFAULT_WIDTH_LARGE , 1 , 100 ) ; }
Populate the step one that we put loggin stuf