return handle;
}
protected final Handle createResizeHandle(int direction, double percent, final Color fillColor) {
ILocator locator = createComponentLocator(direction, percent);
ResizeHandle handle = new ResizeHandle(getHost(), direction, locator) {
@Override
protected Color getBorderColor() {
return IColorConstants.black;
}
@Override
protected Color getFillColor() {
return isPrimary() ? fillColor : IColorConstants.white;
}
};
handle.setDragTrackerTool(new ResizeTracker(direction, REQ_RESIZE));
return handle;
}