Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » memorize window size and posotion : RCP application
memorize window size and posotion : RCP application [message #759266] Mon, 28 November 2011 08:05
Louzorios Missing name is currently offline Louzorios Missing name
Messages: 4
Registered: November 2011
Junior Member
Hello,
To memorize window size and possition in my RCP application, i use the following code :

public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {

@Override
public void initialize(IWorkbenchConfigurer configurer) {

super.initialize(configurer);
configurer.setSaveAndRestore(true);
}

// other methods ...
}

When i run the application for the second time it gets closed by itself and the following ERROR message appears :

"MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
"

Another Exeption is launched just before the error message above appeared :

java.lang.RuntimeException: Widget disposed too early for part ImageCreatorView
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Widget.release(Widget.java:808)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:873)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:873)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:873)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:167)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:773)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1290)
at org.eclipse.swt.widgets.Widget.release(Widget.java:811)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:446)
at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:715)
at org.eclipse.swt.widgets.Display.release(Display.java:3804)
at org.eclipse.swt.graphics.Device.dispose(Device.java:295)


Thanks
Previous Topic:problem with ant builder helios
Next Topic:FileNotFoundException -- Eclipse Plugin
Goto Forum:
  


Current Time: Fri Oct 24 07:56:47 GMT 2014

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

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