Instead of closing my Eclipse RCP application when clicking on the close button [X] I'd like the application to be minimized.
In the ExitAddon
I've tried this:
@Override
public boolean close(MWindow window) {
window.getTags().add(IPresentationEngine.MINIMIZED);
return false;
}
But it doesn't do the trick.
Is that possible to do and how?