Skip to content

Commit

Permalink
Merge pull request pentaho#4395 from kurtwalker/BACKLOG-18361
Browse files Browse the repository at this point in the history
[BACKLOG-18361] - extracting title method for overriding in get recor…
  • Loading branch information
DFieldFL authored Sep 15, 2017
2 parents e9c7e87 + 6134340 commit f752929
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2016 by Pentaho : http://www.pentaho.com
* Copyright (C) 2002-2017 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
Expand Down Expand Up @@ -88,7 +88,7 @@ public void modifyText( ModifyEvent e ) {
formLayout.marginHeight = Const.FORM_MARGIN;

shell.setLayout( formLayout );
shell.setText( BaseMessages.getString( PKG, "RowsFromResultDialog.Shell.Title" ) );
shell.setText( getTitle() );

int middle = props.getMiddlePct();
int margin = Const.MARGIN;
Expand Down Expand Up @@ -201,6 +201,10 @@ public void shellClosed( ShellEvent e ) {
return stepname;
}

public String getTitle() {
return BaseMessages.getString( PKG, "RowsFromResultDialog.Shell.Title" );
}

/**
* Copy information from the meta-data input to the dialog fields.
*/
Expand Down

0 comments on commit f752929

Please sign in to comment.