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.RunnableRaw 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 RawTextEditorCompositeeditorprotected org.eclipse.swt.widgets.Shellshell
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 voidcreateContents()Create contents of the dialog.KStringopen()Open the dialog.voidrun()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:
runin interfacejava.lang.Runnable