public static class EmbeddedEditorFactory.Builder
extends java.lang.Object
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 java.lang.String[] annotationTypes
protected java.lang.Boolean readonly
protected boolean editorBuild
protected IValidationIssueProcessor issueProcessor
public EmbeddedEditorFactory.Builder showErrorAndWarningAnnotations()
public EmbeddedEditorFactory.Builder showAnnotations(java.lang.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)