Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem migrating Indigo to Mars(Problem with 3.x RCP on Mars)
Problem migrating Indigo to Mars [message #1715631] Tue, 24 November 2015 14:31 Go to next message
Eclipse UserFriend
Hi all,

Newcomers forum referred me to your group.

I'm trying to get onto Mars but am unable to make following Indigo solution work,

public class WindowAdvisor extends WorkbenchWindowAdvisor {
@Override
public void preWindowOpen() {
IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
configurer.setInitialSize(new Point(0, 0));
configurer.setShellStyle(0);
}
}

public class BenchAdvisor extends WorkbenchAdvisor {
@Override
public void eventLoopIdle(Display display) {
MyWizardDialog dialog = windowAdvisor.getDialog();
dialog.open();
}
}

The GUI for this app is just a WizardDialog. We needed proper workbench window in order to have slick splash + progress bar startup and taskbar icon. Indigo solution just set workbench window size to zero so user only saw the dialog.

I have tried variations on Mars but cannot eliminate the upper trim of workbench window and/or prevent it flashing when trying shell.setSize(0,0) later in the startup sequence.

Is there an easy way to do this in Mars using 3.x RCP? I had an E4 prototype when Kepler first appeared, it set visible = false for workbench window, but hesitated adding the new technology without more testing.

Let me know what you recommend.

Regards,
Dave.
Re: Problem migrating Indigo to Mars [message #1716183 is a reply to message #1715631] Tue, 01 December 2015 20:22 Go to previous message
Eclipse UserFriend
For any future readers, Patrick Paulin helped me decouple tools from target so using latest eclipse and java should no longer be an issue and we can now work on e3-to-e4. Thanks all.

See http://www.modumind.com/eclipse-rcp-best-practices/ if interested in more info.

[Updated on: Wed, 02 December 2015 08:32] by Moderator

Previous Topic:Eclipse Installer Question
Next Topic:Shortcut to external tools?
Goto Forum:
  


Current Time: Sun Mar 23 21:20:19 EDT 2025

Powered by FUDForum. Page generated in 0.06051 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top