Skip to content

Commit

Permalink
Add description labels to path pattern dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ralfstx committed Jun 7, 2012
1 parent e8dc784 commit 60e69e0
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Listener;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.swt.widgets.Text;
Expand Down Expand Up @@ -107,6 +108,9 @@ private void createFileAreaControls( Composite area ) {
filePatternText = new Text( area, SWT.BORDER );
filePatternText.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false ) );
addIndent( filePatternText );
Label label = new Label( area, SWT.NONE );
label.setText( "(* = any string, ? = any character)" );
addIndent( label );
}

private void addFileRadioListeners() {
Expand Down Expand Up @@ -146,6 +150,9 @@ private void createFolderAreaControls( Composite area ) {
folderPatternText = new Text( area, SWT.BORDER );
folderPatternText.setLayoutData( new GridData( SWT.FILL, SWT.CENTER, true, false ) );
addIndent( folderPatternText );
Label label = new Label( area, SWT.NONE );
label.setText( "(empty for project root folder)" );
addIndent( label );
includeSubFoldersCheckbox = new Button( area, SWT.CHECK );
includeSubFoldersCheckbox.setText( "including all subfolders" );
addIndent( includeSubFoldersCheckbox );
Expand Down

0 comments on commit 60e69e0

Please sign in to comment.