Class TerminalUIBuilder
- java.lang.Object
-
- com.e1c.g5.v8.dt.formatter.ui.preferences.page.builders.TerminalUIBuilder
-
- All Implemented Interfaces:
IReformatable
- Direct Known Subclasses:
AbstractPreferenceGroupProvider
,AbstractPreferenceTabItemProvider
public abstract class TerminalUIBuilder extends Object implements IReformatable
This class can create terminal UI elements, that are usuallyIOption
's representations.
-
-
Constructor Summary
Constructors Constructor Description TerminalUIBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyBooleanOption(IOption<Boolean> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation forManagerBasedBooleanOption
on given Composite.protected void
applyIntegerOption(IOption<Integer> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation forManagerBasedIntegerOption
on given Composite.protected void
applyOption(IOption<?> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation of the given option on the given composite parentprotected void
applyStringOption(IOption<String> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation forManagerBasedStringOption
on given Composite.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.e1c.g5.v8.dt.formatter.ui.preferences.page.builders.IReformatable
reformat
-
-
-
-
Method Detail
-
applyOption
protected void applyOption(IOption<?> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation of the given option on the given composite parent- Parameters:
option
- The option of which UI representation shall be created, cannot benull
parent
- The composite parent of the UI element that shall be created, cannot benull
-
applyBooleanOption
protected void applyBooleanOption(IOption<Boolean> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation forManagerBasedBooleanOption
on given Composite.- Parameters:
option
- The option which UI representation shall be created, cannot benull
parent
- The composite on which the UI representation shall be created. Expects parent with grid layout and 2 columns, cannot benull
-
applyIntegerOption
protected void applyIntegerOption(IOption<Integer> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation forManagerBasedIntegerOption
on given Composite.- Parameters:
option
- The option which UI representation shall be created, cannot benull
parent
- The composite on which the UI representation shall be created. Expects parent with grid layout and 2 columns, cannot benull
-
applyStringOption
protected void applyStringOption(IOption<String> option, org.eclipse.swt.widgets.Composite parent)
Creates UI representation forManagerBasedStringOption
on given Composite.- Parameters:
option
- The option which UI representation shall be created, cannot benull
parent
- The composite on which the UI representation shall be created. Expects parent with grid layout and 2 columns, cannot benull
-
-