Community
Participate
Working Groups
We should consider removing org.eclipse.gmf.runtime.diagram.ui.util.DrawConstant. I think we could use org.eclipse.draw2d.PositionConstants instead.
Description: - The DrawConstant class is basically a duplicate of GEF's PositionConstants class so it is being removed and we recommend using the PositionConstants class instead. - References in GMF have been changed. The only public API references were in IBorderItemLocator and BorderItemLocator. New API Availability: now Old API Removal: Feb 17, 2006 Other Clients' Action: Change references to DrawConstant to be an int from org.eclipse.draw2d.PositionConstants. IBorderItemLocator public DrawConstant getCurrentSide() --> public int getCurrentSideOfParent() BorderItemLocator public BorderItemLocator(IFigure parentFigure, DrawConstant preferredSide) --> public BorderItemLocator(IFigure parentFigure, DrawConstant preferredSide) public static DrawConstant findClosestSide(Rectangle proposedLocation, Rectangle parentBorder) --> public static int findClosestSideOfParent(Rectangle proposedLocation, Rectangle parentBorder) protected Point getPreferredLocation(DrawConstant side, IFigure borderItem) --> protected Point getPreferredLocation(int side, IFigure borderItem) public DrawConstant getPreferredSide() --> public int getPreferredSideOfParent() public void setPreferredSide(DrawConstant preferredSide) --> public void setPreferredSideOfParent(int preferredSide) public DrawConstant getCurrentSide() --> public int getCurrentSideOfParent() public void setCurrentSide(DrawConstant side) --> public void setCurrentSideOfParent(int side)
[target cleanup] 1.0 M5 was the original target milestone for this bug
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug