Package org.pentaho.di.ui.core.dialog
Class EnterStringsDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
org.pentaho.di.ui.core.dialog.EnterStringsDialog
public class EnterStringsDialog
extends org.eclipse.swt.widgets.Dialog
Shows a dialog that allows you to enter values for a number of strings.
- Author:
- Matt
-
Constructor Summary
ConstructorDescriptionEnterStringsDialog
(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.core.RowMetaAndData strings) Constructs a new dialog -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
getData()
Copy information from the meta-data input to the dialog fields.getTitle()
boolean
org.pentaho.di.core.RowMetaAndData
open()
void
setMessage
(String message) void
setReadOnly
(boolean readOnly) void
setShellImage
(org.eclipse.swt.graphics.Image shellImage) void
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Constructor Details
-
EnterStringsDialog
public EnterStringsDialog(org.eclipse.swt.widgets.Shell parent, int style, org.pentaho.di.core.RowMetaAndData strings) Constructs a new dialog- Parameters:
parent
- The parent shell to link tostyle
- The style in which we want to draw this shell.strings
- The list of rows to change.
-
-
Method Details
-
open
public org.pentaho.di.core.RowMetaAndData open() -
dispose
public void dispose() -
getData
public void getData()Copy information from the meta-data input to the dialog fields. -
isReadOnly
public boolean isReadOnly()- Returns:
- Returns the readOnly.
-
setReadOnly
public void setReadOnly(boolean readOnly) - Parameters:
readOnly
- The readOnly to set.
-
getMessage
- Returns:
- the message
-
setMessage
- Parameters:
message
- the message to set
-
getTitle
- Returns:
- the title
-
setTitle
- Parameters:
title
- the title to set
-
setShellImage
public void setShellImage(org.eclipse.swt.graphics.Image shellImage) - Parameters:
shellImage
- the shellImage to set
-