Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gmf-dev] [GMF - API CHANGE] Bugzilla 116490 LayoutService should be public


Description:
I've made some changes to the LayoutService to make some classes public in order to make our api consistant.  Currently there is a DiagramUtil class that is a bit of dumping ground for general diagram task (creation, layout, etc.).  It is more consistent and intuitive to have these methods available on the associated Service for that functionality.

Summary of changes: (Old api is currently preserved in deprecated form)
- Move LayoutService in public namespace (org.eclipse.gmf.runtime.diagram.ui.services.layout).
        - added new layout methods from DiagramUtil and deprecated old ones (in DiagramUtil).
        - nenamed layoutNodes to layoutLayoutNodes to indicate types passed into List.
- Renamed AbstractLayoutProvider to AbstractLayoutEditPartProvider
- Added new abstract class AbstractLayoutNodeProvider for providers that wish to work with notation objects only.
        - renamed getViewsToSizesMap to getNodeToSizeMap (previously in AbstractLayoutProvider)
- Renamed ILayoutNodesOperation to ILayoutNodeOperation
- Renamed ILayoutNodesProvider to ILayoutNodeProvider
- Moved LayoutNodesOperation to internal namespace




New API Availability:

Now (in gmf-head)

Old API Removal:

Friday, Dec 16th, 2005

Tracking:
                       

Bugzilla 116490

Clients Taken Care of:
       

GMF

Other Clients' Action:
       

Replace usage of deprecated API with new API.


________________________________________
Steven R. Shaw
Rational Modeling Platform Diagram Layer Lead
Rational Software | IBM Software Group
770 Palladium Drive, Kanata, ON, Canada, K2V 1C8
tel: 613.591.7979
steveshaw@xxxxxxxxxx

Back to the top