public static class EmbeddedEditorFactory.Builder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected EmbeddedEditorActions.Factory |
actionFactory |
protected String[] |
annotationTypes |
protected org.eclipse.jface.text.source.ICharacterPairMatcher |
characterPairMatcher |
protected com.google.inject.Provider<org.eclipse.jface.text.IDocumentPartitioner> |
documentPartitionerProvider |
protected com.google.inject.Provider<XtextDocument> |
documentProvider |
protected boolean |
editorBuild |
protected HighlightingHelper |
highlightingHelper |
protected IValidationIssueProcessor |
issueProcessor |
protected IssueResolutionProvider |
issueResolutionProvider |
protected IPreferenceStoreAccess |
preferenceStoreAccess |
protected Boolean |
readonly |
protected IEditedResourceProvider |
resourceProvider |
protected IResourceValidator |
resourceValidator |
protected com.google.inject.Provider<XtextSourceViewerConfiguration> |
sourceViewerConfigurationProvider |
protected XtextSourceViewer.Factory |
sourceViewerFactory |
protected static int |
VERTICAL_RULER_WIDTH
The width of the vertical ruler.
|
| Constructor and Description |
|---|
EmbeddedEditorFactory.Builder() |
protected static final int VERTICAL_RULER_WIDTH
@Inject protected XtextSourceViewer.Factory sourceViewerFactory
@Inject protected com.google.inject.Provider<XtextSourceViewerConfiguration> sourceViewerConfigurationProvider
@Inject protected com.google.inject.Provider<XtextDocument> documentProvider
@Inject protected com.google.inject.Provider<org.eclipse.jface.text.IDocumentPartitioner> documentPartitionerProvider
@Inject protected IResourceValidator resourceValidator
@Inject protected IPreferenceStoreAccess preferenceStoreAccess
@Inject protected IssueResolutionProvider issueResolutionProvider
@Inject protected org.eclipse.jface.text.source.ICharacterPairMatcher characterPairMatcher
@Inject protected EmbeddedEditorActions.Factory actionFactory
@Inject protected HighlightingHelper highlightingHelper
protected IEditedResourceProvider resourceProvider
protected String[] annotationTypes
protected Boolean readonly
protected boolean editorBuild
protected IValidationIssueProcessor issueProcessor
public EmbeddedEditorFactory.Builder showErrorAndWarningAnnotations()
public EmbeddedEditorFactory.Builder showAnnotations(String... annotationTypes)
public EmbeddedEditorFactory.Builder processIssuesBy(IValidationIssueProcessor issueProcessor)
public EmbeddedEditorFactory.Builder readOnly()
public EmbeddedEditorFactory.Builder withResourceValidator(IResourceValidator resourceValidator)
public EmbeddedEditor withParent(org.eclipse.swt.widgets.Composite parent)
protected void afterCreatePartialEditor(XtextSourceViewer viewer, XtextDocument document, org.eclipse.jface.text.source.CompositeRuler verticalRuler, EmbeddedEditorActions actions)
protected void updateUndoAction(EmbeddedEditorActions actions)
protected void uninstallUndoRedoSupport(OperationHistoryListener listener)
protected OperationHistoryListener installUndoRedoSupport(org.eclipse.jface.text.source.SourceViewer viewer, org.eclipse.jface.text.IDocument document, EmbeddedEditorActions actions)
protected void setResourceProvider(IEditedResourceProvider resourceProvider)
protected org.eclipse.jface.text.source.ISharedTextColors getSharedColors()
protected EmbeddedEditorActions initializeActions(org.eclipse.jface.text.source.SourceViewer viewer)
Copyright © 2016. All Rights Reserved.