Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] Changes to StructuredTextViewerConfiguration in this week's IBuild


The org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration API was cleaned up more to protect clients from overriding methods that already or may in the future provide specialized function/features.
For more details, please see the JavaDoc of the methods and the associated bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=115444

The following methods were made final in StructuredTextViewerConfiguration:
getAnnotationHover
getConfiguredDocumentPartitioning
getContentAssistant*
getHyperlinkPresenter
getInformationControlCreator
getInformationPresenter*
getPresentationReconciler
getReconciler*
getUndoManager

*To add additional content assist processors, clients can use the new protected method:
getContentAssistProcessors(ISourceViewer, String)

*To add additional information providers, clients can use the new protected method:
getInformationProvider(ISourceViewer, String)

*To add additional reconciler strategies, clients can use the following (provisional) extension point:
org.eclipse.wst.sse.ui.extensions.sourcevalidation

Also, StructuredTextViewerConfiguration no longer implements IExecutableExtension (so setInitializationData(IConfigurationElement, String, Object) was also deleted)
Clients can implement IExecutableExtension if they want that functionality.



Back to the top