int w = widget.getWidth();
int h = widget.getHeight();
if (e.getX() > w / 2 - 16 && e.getX() < w / 2 && e.getY() > h / 2 - 16 && e.getY() < h / 2) {
adaptable.setProperty("popup.state", "up");
adaptable.repaintDesigner();
new HideShowPopupAction(widget).run();
e.consume();
}
}
}
}