return (Dockable)c;
return DockingManager.getDockable(c);
}
protected void createPreviewPolygon(DragOperation token, DockingPort port, Dockable hover, String region) {
DragPreview preview = getPreviewDelegate(token.getDockable(), port);
if(preview==null)
previewPoly = null;
else {
Map dragContext = getDragContext(token);
previewPoly = preview.createPreviewPolygon(token.getDockable(), port, hover, region, this, dragContext);
}
}