Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-text-dev] API changes released to HEAD


In order to bring the API that we introduced in the course of 3.0 in a good shape we have released several changes. In order to adapt to these changes you need HEAD of the following text plug-ins:
- org.eclipse.text
- org.eclipse.jface.text
- org.eclipse.ui.workbench.texteditor
- org.eclipse.ui.editors

The same information can be found in the build notes files.
Kai


--------------------------------------------------------

plug-in: org.eclipse.text

- pkg: org.eclipse.jface.text
        - renamed FindReplaceDocumentAdapter.search to FindReplaceDocumentAdapter.find
        - changed FindReplaceDocumentAdapter.findReplace to private
        - merged FindReplaceOperationCode into FindReplaceDocumentAdapter, removed FindReplaceOperationCode
        - deleted deprecated classes whose Javadoc stated that these classes were internal
                - ChildDocument
                - ChildDocumentManager
                - ParentChildMapping
                - CoordinatesTranslator
                - Fragment
                - FragmentUpdater
                - ProjectionDocument
                - ProjectionDocumentManager
                - ProjectionPosition
                - ProjectionPositionUpdater
                - ProjectionTextStore

- pkg: org.eclipse.jface.text.link
        - removed ExclusivePositionUpdater
        - marked InclusivePositionUpdater as internal class using Javadoc
        - renamed LinkedEnvironment to LinkedModeModel
                - renamed methods accordingly
          - renamed LinkedManager to LinkedModeManager
          - renamed ILinkedListener to ILinkedModeListener
        - renamed LinkedUIControl to LinkedModeUI
        - removed LinkedPositionGroup.createPosition methods
                - use LinkedPositionGroup.addPosition instead

- pkg: org.eclipse.jface.text.templates
        - renamed ContextType to TemplateContextType
        - renamed GlobalVariables to GlobalTemplateVariables
        - renamed SimpleVariableResolver to SimpleTemplateVariableResolver


----------------------------------------

plug-in: org.eclipse.jface.text

- pkg: org.eclipse.jface.text
        - renamed IAnnotationHoverExtension.getInformationControlCreator to IAnnotationHoverExtension.getHoverControlCreator
        - renamed ITextHoverExtension.getInformationControlCreator to ITextHoverExtension.getHoverControlCreator

- pkg: org.eclipse.jface.text.formatter
        - merged IContentFormatterExtension2 into IContentFormatterExtension
        - removed IContentFormatterExtension.getPartitioning
        - changed configuration methods of MultipassContentFormatter: substituted IFormattingStrategy for IFormattingStrategyExtension, added assert statements
        - deprecated ContentFormatter

- pkg: org.eclipse.jface.text.source
        - deleted deprecated classes whose Javadoc stated that these classes were internal
                - OutlinerRulerColumn
                - ProjectionAnnotation
                - ProjectionSourceViewer

- pkg: org.eclipse.jface.text.reconciler
        - deleted DocumentAdapter
        - renamed AnnotationEvent to VerticalRulerEvent
        - renamed VerticalRulerEvent.getAnnotation to VerticalRulerEvent.getSelectedAnnotation
        - renamed VerticalRulerEvent.setAnnotation to VerticalRulerEvent.setSelectedAnnotation
        - CompositeRuler no longer implements IVerticalRulerListener
        - renamed CompositeRuler.annotationSelected to CompositeRuler.fireAnnotationSelected
        - renamed CompositeRuler.annotationDefaultSelected to CompositeRuler.fireAnnotationDefaultSelected
        - renamed CompositeRuler.annotationContextMenuAboutToShow to CompositeRuler.fireAnnotationContextMenuAboutToShow
        - changed constructor of AnnotationExpandHover to accept CompositeRuler rather than IVerticalRulerInfo and IVerticalRulerListener

- pkg: org.eclipse.jface.text.contentassist (more changes to come)
        - moved AbstractControlContentAssistSubjectAdapter to package org.eclipse.jface.contentassist
        - moved ComboContentAssistSubjectAdapter to package org.eclipse.jface.contentassist
        - moved ContentAssistant to package org.eclipse.jface.contentassist
        - moved IContentAssistProcessorExtension to package org.eclipse.jface.contentassist
        - moved IContentAssistSubject to package org.eclipse.jface.contentassist
        - moved IContextInformationPresenterExtension to package org.eclipse.jface.contentassist
        - moved IContextInformationValidatorExtension to package org.eclipse.jface.contentassist
        - moved TextContentAssistSubjectAdapter to package org.eclipse.jface.contentassist

-----------------------------------------------

plug-in: org.eclipse.ui.workbench.texteditor

- pkg: org.eclipse.ui.texteditor.templates
        - changed EditTemplateDialog to package visible
        - changed TemplateContentProvider to package visible
       
- org.eclipse.ui.texteditor
        - removed ChainedPreferenceStore (there is a copy in JDT UI)
        - removed PreferencesAdapter (there is copy in JDT UI)
        - deprecated InfoForm
        - renamed SelectMarkerRulerAction2 to SelectAnnotationRulerAction
        - renamed SmartEnterAction to InsertLineAction

- org.eclipse.ui.texteditor.link
        - removed EditorTarget
        - replaced EditorHistoryUpdater with EditorLinkedModeUI
                - clients no longer configure a LinkedModeUI with the EditorHistoryUpdater but instantiate EditorLinedModeUI

-------------------------------------------------

plug-in: org.eclipse.ui.editors

- pkg: org.eclipse.ui.texteditor
        - moved AnnotationType to package org.eclipse.ui.internal.texteditor
        - moved AnnotationTypeHierarchy to package org.eclipse.ui.internal.texteditor
        - moved DelegatingAnnotationPreference to package org.eclipse.ui.internal.texteditor
        - marked  AnnotationPreferenceLookup.getAnnotationPreferenceFragment as internal method using Javadoc
        - renamed ExtendedTextEditor to AbstractDecoratedTextEditor
        - renamed ExtendedTextEditorPreferenceConstants to AbstractDecoratedTextEditorPreferenceConstants

- pkg: org.eclipse.ui.editors.text
        - removed EditorUI.getAnnotationTypeHierarchy
        - moved WorkspaceOperationRunner to package org.eclipse.ui.internal.editors.text
        - moved UISynchronizationContext to package org.eclipse.ui.internal.editors.text

Back to the top