public class DomUIFactoryImpl extends DomUIFactory
EXTENSION_POINT_NAME, GET_STRING_METHOD, GET_VALUE_METHOD, SET_STRING_METHOD, SET_VALUE_METHOD
Constructor and Description |
---|
DomUIFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
CaptionComponent |
addErrorPanel(CaptionComponent captionComponent,
DomElement... elements)
Adds an error-checking square that is usually found in the top-right ange of a text editor
to the specified CaptionComponent.
|
protected javax.swing.table.TableCellEditor |
createCellEditor(DomElement element,
java.lang.Class type) |
BaseControl |
createCustomControl(java.lang.reflect.Type type,
DomWrapper<java.lang.String> wrapper,
boolean commitOnEveryChange) |
BackgroundEditorHighlighter |
createDomHighlighter(Project project,
PerspectiveFileEditor editor,
DomElement element) |
UserActivityWatcher |
createEditorAwareUserActivityWatcher() |
BaseControl |
createTextControl(DomWrapper<java.lang.String> wrapper,
boolean commitOnEveryChange) |
void |
registerCustomCellEditor(java.lang.Class aClass,
Function<DomElement,javax.swing.table.TableCellEditor> creator) |
void |
registerCustomControl(java.lang.Class aClass,
Function<DomWrapper<java.lang.String>,BaseControl> creator) |
void |
setupErrorOutdatingUserActivityWatcher(CommittablePanel panel,
DomElement... elements) |
createCellEditor, createCollectionControl, createColumnInfo, createControl, createControl, createLargeDescriptionControl, createSmallDescriptionControl, createTextControl, createTextControl, findMethod, getDomUIFactory
protected javax.swing.table.TableCellEditor createCellEditor(DomElement element, java.lang.Class type)
createCellEditor
in class DomUIFactory
public final UserActivityWatcher createEditorAwareUserActivityWatcher()
createEditorAwareUserActivityWatcher
in class DomUIFactory
public void setupErrorOutdatingUserActivityWatcher(CommittablePanel panel, DomElement... elements)
setupErrorOutdatingUserActivityWatcher
in class DomUIFactory
public BaseControl createCustomControl(java.lang.reflect.Type type, DomWrapper<java.lang.String> wrapper, boolean commitOnEveryChange)
createCustomControl
in class DomUIFactory
public CaptionComponent addErrorPanel(CaptionComponent captionComponent, DomElement... elements)
DomUIFactory
addErrorPanel
in class DomUIFactory
captionComponent
- The component to add error panel toelements
- DOM elements that will be error-checkedpublic BackgroundEditorHighlighter createDomHighlighter(Project project, PerspectiveFileEditor editor, DomElement element)
createDomHighlighter
in class DomUIFactory
public BaseControl createTextControl(DomWrapper<java.lang.String> wrapper, boolean commitOnEveryChange)
createTextControl
in class DomUIFactory
public void registerCustomControl(java.lang.Class aClass, Function<DomWrapper<java.lang.String>,BaseControl> creator)
registerCustomControl
in class DomUIFactory
public void registerCustomCellEditor(java.lang.Class aClass, Function<DomElement,javax.swing.table.TableCellEditor> creator)
registerCustomCellEditor
in class DomUIFactory