Package org.pentaho.di.ui.core
Class SimpleFileSelection
java.lang.Object
org.eclipse.swt.events.SelectionAdapter
org.pentaho.di.ui.core.SimpleFileSelection
- All Implemented Interfaces:
EventListener,org.eclipse.swt.events.SelectionListener,org.eclipse.swt.internal.SWTEventListener
public class SimpleFileSelection
extends org.eclipse.swt.events.SelectionAdapter
- Author:
- Thomas Hoedl(asc042)
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleFileSelection(org.eclipse.swt.widgets.Shell shell, TextVar textVar) Constructor.SimpleFileSelection(org.eclipse.swt.widgets.Shell shell, TextVar textVar, String... filterNames) Constructor.SimpleFileSelection(org.eclipse.swt.widgets.Shell shell, TextVar textVar, String[] filterExtensions, String[] filterNames) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidwidgetSelected(org.eclipse.swt.events.SelectionEvent event) Methods inherited from class org.eclipse.swt.events.SelectionAdapter
widgetDefaultSelected
-
Field Details
-
DEFAULT_FILTER_EXTENSION
The default filter extension.- See Also:
-
DEFAULT_FILTER_NAME
The default file extension.- See Also:
-
-
Constructor Details
-
SimpleFileSelection
public SimpleFileSelection(org.eclipse.swt.widgets.Shell shell, TextVar textVar, String[] filterExtensions, String[] filterNames) throws IllegalArgumentException Constructor.- Parameters:
shell- shell to set.textVar- text variable to edit.filterExtensions- filter extensions to set.filterNames- filter names to set.- Throws:
IllegalArgumentException- if shell or text variable is null.
-
SimpleFileSelection
public SimpleFileSelection(org.eclipse.swt.widgets.Shell shell, TextVar textVar) throws IllegalArgumentException Constructor.- Parameters:
shell- the shell to set.textVar- the text variable to edit.- Throws:
IllegalArgumentException- if shell or text variable is null.
-
SimpleFileSelection
public SimpleFileSelection(org.eclipse.swt.widgets.Shell shell, TextVar textVar, String... filterNames) throws IllegalArgumentException Constructor.- Parameters:
shell- the shell to set.textVar- the text variable to edit.filterNames- the filter names to use.- Throws:
IllegalArgumentException- if shell or text variable is null.
-
-
Method Details
-
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent event) - Specified by:
widgetSelectedin interfaceorg.eclipse.swt.events.SelectionListener- Overrides:
widgetSelectedin classorg.eclipse.swt.events.SelectionAdapter- See Also:
-
SelectionAdapter.widgetSelected(org.eclipse.swt.events.SelectionEvent)
-