Jump to: navigation, search

New Help for Old Friends IX

Revision as of 18:59, 12 June 2013 by Brian.vosburgh.oracle.com (Talk | contribs) (JPA Core (Provisional API))


This page collects notes and pointers to changes coming up in the WTP 3.6 (Luna) release.

This page acts as a central "jumping off" point for those adopters of WTP that are moving up from a previous version of WTP. Most of this information may be already contained in various mailing lists and Bugzilla reports, but it is believed best to have a central place to get people started. Adopters: if you run into trouble or notice things that are not covered here, please update this page and/or let us know (such as by opening a bug, or sending a note to wtp-dev). Web Tools is a Platform and we strive to provide compatible API evolution with clear migration paths, instructions, etc.

One thing we have learned in the past is that some adopters do not move with us to every new release. Some early adopters went from 0.7 directly to 1.5, for example. Unfortunately, it is difficult to present the information in that way, covering multiple changes across multiple version ranges, so those types of migrations have to read about migrating to each version.

Note: as these notes develop and grow in number, they may occasionally be re-organized into categories, etc.


Common UI (Provisional API)

  • reworked item provider interfaces:
    • new interface ItemContentProvider
    • ItemTreeContentProvider
      • now extends ItemContentProvider
      • Manager now extends ItemContentProvider.Manager
        • method updateChildren(Object) changed to childrenChanged(Object, Iterable, Iterable)
      • Factory now extends ItemStructuredContentProvider.Factory
        • method buildProvider(Object, Manager) changed to buildProvider(Object, Object, Manager)
    • ItemStructuredContentProvider
      • now extends ItemContentProvider
      • Manager now extends ItemContentProvider.Manager
        • method updateElements(Object) changed to elementsChanged(Object, Iterable, Iterable)
    • ItemLabelProvider
      • Manager
        • method updateLabel(Object) changed to labelChanged(Object)
        • new method getViewer()
    • ItemExtendedLabelProvider
      • Manager
        • method updateDescription(Object) changed to descriptionChanged(Object)

JPA Core (Provisional API)

  • XmlPersistenceUnit
    • added method sortClasses()
  • reworked the API for converting mapping relationship settings so it is more clear what types of objects are converted to and from:
    • OverrideRelationship
      • removed method initializeOnSpecified(SpecifiedOverrideRelationship)
    • Relationship
      • removed method initializeOn(SpecifiedRelationship)
    • SpecifiedAssociationOverride
      • removed method initializeFrom(AssociationOverride)
      • removed method initializeFromVirtual(AssociationOverride)
    • SpecifiedAttributeOverride
      • removed method initializeFrom(AttributeOverride)
      • removed method initializeFromVirtual(AttributeOverride)
    • SpecifiedColumn
      • added method initializeFrom(VirtualColumn)
    • SpecifiedJoinColumn
      • added method initializeFrom(VirtualJoinColumn)
      • removed method initializeFrom(JoinColumn)
      • removed method initializeFromVirtual(JoinColumn)
    • SpecifiedJoinColumnRelationshipStrategy
      • added method initializeFrom(VirtualJoinColumnRelationshipStrategy)
      • removed method initializeFrom(JoinColumnRelationshipStrategy)
      • removed method initializeFromVirtual(JoinColumnRelationshipStrategy)
    • SpecifiedJoinTable
      • added method initializeFrom(VirtualJoinTable)
      • removed method initializeFrom(JoinTable)
      • removed method initializeFromVirtual(JoinTable)
    • SpecifiedJoinTableRelationshipStrategy
      • added method initializeFrom(VirtualJoinTableRelationshipStrategy)
      • removed method initializeFrom(JoinTableRelationshipStrategy)
      • removed method initializeFromVirtual(JoinTableRelationshipStrategy)
    • SpecifiedMappedByRelationshipStrategy
      • removed method initializeFrom(SpecifiedMappedByRelationshipStrategy)
    • SpecifiedOverrideRelationship
      • added method initializeFrom(VirtualOverrideRelationship)
      • removed method initializeFromVirtual(OverrideRelationship)
      • removed method initializeFromVirtualJoinColumnRelationship(JoinColumnRelationship)
      • removed method initializeFromVirtualJoinTableRelationship(JoinTableRelationship)
    • JavaSpecifiedAssociationOverride
      • added method initializeFrom(JavaVirtualAssociationOverride)
    • JavaSpecifiedAttributeOverride
      • added method initializeFrom(JavaVirtualAttributeOverride)
    • OrmMappedByRelationship
      • added method getMappedByStrategy()
    • OrmMappingRelationship
      • added method initializeFrom(OrmMappingRelationship)
      • added method initializeOn(OrmMappingRelationship)
      • added method initializeFromJoinColumnRelationship(OrmJoinColumnRelationship)
      • added method initializeFromJoinTableRelationship(OrmJoinTableRelationship)
      • added method initializeFromMappedByRelationship(OrmMappedByRelationship)
      • added method initializeFromPrimaryKeyJoinColumnRelationship(OrmPrimaryKeyJoinColumnRelationship)
    • OrmSpecifiedAssociationOverride
      • added method initializeFrom(OrmVirtualAssociationOverride)
    • OrmSpecifiedAttributeOverride
      • added method initializeFrom(OrmVirtualAttributeOverride)
      • added method initializeFrom(OrmSpecifiedAttributeOverride)
    • OrmSpecifiedColumn
      • added method initializeFrom(OrmSpecifiedColumn)
    • OrmSpecifiedJoinColumn
      • added method initializeFrom(OrmSpecifiedJoinColumn)
    • OrmSpecifiedJoinColumnRelationshipStrategy
      • added method initializeFrom(OrmSpecifiedJoinColumnRelationshipStrategy)
    • OrmSpecifiedJoinTable
      • added method initializeFrom(OrmSpecifiedJoinTable)
    • OrmSpecifiedJoinTableRelationshipStrategy
      • added method initializeFrom(OrmSpecifiedJoinTableRelationshipStrategy)
    • OrmSpecifiedMappedByRelationshipStrategy
      • added method initializeFrom(OrmSpecifiedMappedByRelationshipStrategy)
    • OrmSpecifiedPrimaryKeyJoinColumn
      • added method initializeFrom(OrmSpecifiedPrimaryKeyJoinColumn)
      • added method initializeFrom(OrmVirtualPrimaryKeyJoinColumn)
      • removed method initializeFrom(PrimaryKeyJoinColumn)
    • OrmSpecifiedPrimaryKeyJoinColumnRelationshipStrategy
      • added method initializeFrom(OrmSpecifiedPrimaryKeyJoinColumnRelationshipStrategy)
    • OrmSpecifiedSecondaryTable
      • added method initializeFrom(OrmVirtualSecondaryTable)
      • removed method initializeFrom(SecondaryTable)
    • OrmCollectionTable2_0
      • added method initializeFrom(OrmCollectionTable2_0)
      • removed method initializeFrom(CollectionTable2_0)

JAXB Core (Provisional API)

  • JaxbProjectManager
    • added method getJaxbWorkspace()

JAXB UI (Provisional API)

  • New interfaces
    • JaxbProjectsModel
    • JaxbProjectModel


This document covers ONLY changes between WTP 3.6 and WTP 3.5. See also: