includeSourceSection.setStringValue( dialog.getPath( ) .substring( 0, dialog.getPath( ).lastIndexOf( "." ) ) );
String path = dialog.getPath( ); if ( path.lastIndexOf( "." ) > 0 ) { path = path.substring( 0, path.lastIndexOf( "." ) ); } includeSourceSection.setStringValue( path );
			public void widgetSelected( SelectionEvent e )			{				final NewResourceFileDialog dialog = new NewResourceFileDialog( );				if ( dialog.open( ) == Window.OK )				{					includeSourceSection.setStringValue( dialog.getPath( )							.substring( 0, dialog.getPath( ).lastIndexOf( "." ) ) ); //$NON-NLS-1$					includeSourceSection.forceFocus( );				}			}