Package com.iizigo.prop.editor.dialog
Class RawTextEditorDialog
- java.lang.Object
- org.eclipse.swt.widgets.Dialog
- com.iizigo.prop.editor.dialog.RawTextEditorDialog
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
RawTextEditorPatternDialog
public class RawTextEditorDialog extends org.eclipse.swt.widgets.Dialog implements java.lang.Runnable
Raw text editor dialog box, showing optional toolbar for insert text fields/images/convert format.- Author:
- Christopher Mindus
Field Summary
Fields Modifier and Type Field Description protected RawTextEditorComposite
editor
protected org.eclipse.swt.widgets.Shell
shell
Constructor Summary
Constructors Constructor Description RawTextEditorDialog(org.eclipse.swt.widgets.Shell parent, ModuleModel model, KString ks, java.lang.Boolean useTags, boolean isPlainOnly, IVSParticipant vsParticipant, EditorTextTable defaultTextTable)
Create the dialog.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createContents()
Create contents of the dialog.KString
open()
Open the dialog.void
run()
The update runnable.
Field Detail
shell
protected org.eclipse.swt.widgets.Shell shell
editor
protected RawTextEditorComposite editor
Constructor Detail
RawTextEditorDialog
public RawTextEditorDialog(org.eclipse.swt.widgets.Shell parent, ModuleModel model, KString ks, java.lang.Boolean useTags, boolean isPlainOnly, IVSParticipant vsParticipant, EditorTextTable defaultTextTable)
Create the dialog.
Method Detail
open
public KString open()
Open the dialog.- Returns:
- the gradient.
createContents
protected void createContents()
Create contents of the dialog.
run
public void run()
The update runnable.- Specified by:
run
in interfacejava.lang.Runnable