*
*
*/
@Override
public void reveal(EditPart part) {
BasicElement elem = (BasicElement) ((GraphicalEditPart) part)
.getModel();
if (elem == null || elem.getParent() == null || elem.getId() == null)
return;
// if model location is not known, jump to its parent iteratively
while (null != elem && !FigureMultipassController.figurePassingObject.getLocationMap().containsKey(elem.getId())) {
elem = elem.getParent();
}
if(elem == null)
return;
Point location = FigureMultipassController.figurePassingObject.getLocationMap().get(elem.getId());
Viewport port = getFigureCanvas().getViewport();
Dimension viewportSize = port.getClientArea().getSize();
if(!FigureRenderLibrary.isVisibleArea(port, location)) {