Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Bug? Side-Affixed border item locator always SOUTH
Bug? Side-Affixed border item locator always SOUTH [message #193128] Tue, 17 June 2008 17:46
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I'm using side-affixed border items with a custom BorderItemLocator.

Problem is: whatever side I set in the graph model, the Locator is
always constructed with SOUTH.

And this is obviously the case, because the GMF template
NodeEditPart.xpt Implementation says for the "addBorderItem" define
explicitly:

org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator locator =
new
org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemLocator (getMainFigure(),
org.eclipse.draw2d.PositionConstants.SOUTH);

Is this hardcoded SOUTH value correct or is it a bug?

Hauke
Previous Topic:Problem with Affixed Parent Side
Next Topic:Validation failed unexpectedly for "Type Model Facet" on generated gmfgen
Goto Forum:
  


Current Time: Thu Apr 25 23:10:37 GMT 2024

Powered by FUDForum. Page generated in 0.03376 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top