public String getStoreName() { if (CurUnoDialog != null) { String LocStoreName = xTitleTextBox.getText(); if (!LocStoreName.equals(PropertyNames.EMPTY_STRING)) { StoreName = LocStoreName; } } return StoreName; }
/** This function is called if one of the radio buttons is pressed */ private void toggleSubTemplateControls() { // String sStorePath = PropertyNames.EMPTY_STRING; Short iState = (Short) CurUnoDialog.getControlProperty( "optCreateReportTemplate", PropertyNames.PROPERTY_STATE); boolean bDoTemplateEnable = iState.shortValue() == 1; CurUnoDialog.setControlProperty( "optEditTemplate", PropertyNames.PROPERTY_ENABLED, bDoTemplateEnable); CurUnoDialog.setControlProperty( "optUseTemplate", PropertyNames.PROPERTY_ENABLED, bDoTemplateEnable); CurUnoDialog.setControlProperty( "lblHowProceed", PropertyNames.PROPERTY_ENABLED, bDoTemplateEnable); String sTitle = xTitleTextBox.getText(); boolean bDoEnable = sTitle.equals(PropertyNames.EMPTY_STRING); CurUnoDialog.enableFinishButton(!bDoEnable); }
private void changeReportTitle() { final String TitleName = xTitleTextBox.getText(); CurReportDocument.liveupdate_updateReportTitle(TitleName); CurUnoDialog.enableFinishButton(!PropertyNames.EMPTY_STRING.equals(TitleName)); }