Hi Glenn, I am pretty sure there is some issue with your code, commonly the use of the top level shell or supplying a null for the shell is a common error. I am happy to look at it but you have to supply a minimal plugin where this problem is exposed.
You can send this minimal plugin to the list. It should only contain an implementation of ViewPart and your code that opens the CDateTime from this view. Alternatively you can put it on Github. I have never heard of method createSubPartControl(Composite parent) do you meant to say createPartControl(Composite parent) Cheers, Wim On Wed, Aug 20, 2014 at 3:38 PM, Burkhardt, Glenn B UTAS < [email protected]> wrote: > I find that if I insert a call to redraw in the picker dispose method, the > workbench menu bar refreshes. This is a workaround, not a fix. The menu > bar still is erased prior to entry to the dispose method. > > private void disposePicker() { > if (content != null) { > if (picker != null) { > picker.dispose(); > picker = null; > } > if (isDropDown()) { > Control c = content; > setContent(null); > c.dispose(); > if (contentShell != null) { > > contentShell.getParent().redraw(); <<<<<====== > workaround > Display.getDefault().asyncExec(new > Runnable() { > public void run() { > if (contentShell > != null > && > !contentShell.isDisposed()) { > > contentShell.dispose(); > > contentShell = null; > } > } > }); > } > } > } > } > _______________________________________________ > nebula-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/nebula-dev >
_______________________________________________ nebula-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/nebula-dev
