Community
Participate
Working Groups
} else {
bounds = openControl.getBounds();
Point absPosition = openControl.toDisplay(openControl.getLocation());
bounds.x = absPosition.x - bounds.x;
bounds.x = absPosition.x - bounds.x * (Window.getDefaultOrientation() == SWT.RIGHT_TO_LEFT ? -1 : 1);
bounds.y = absPosition.y - bounds.y;
}
this.controlBounds = bounds;
public void handleException(Throwable exception) {
CommonsUiPlugin.getDefault().getLog().log(
CommonsUiPlugin.getDefault()
new Status(IStatus.ERROR, CommonsUiPlugin.ID_PLUGIN,
.getLog()
.log(new Status(IStatus.ERROR, CommonsUiPlugin.ID_PLUGIN,
"Error while notifying IInPlaceCloseListener", exception)); //$NON-NLS-1$
});