Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » setInitialSelections in ElementListSelectionDialog does not work
setInitialSelections in ElementListSelectionDialog does not work [message #460164] Mon, 22 August 2005 12:44
Michiel van Immerzeel is currently offline Michiel van ImmerzeelFriend
Messages: 2
Registered: July 2009
Junior Member

I am trying to set an initial selection in a ElementListSelectionDialog
with this code:

ElementListSelectionDialog dialog = new
dialog.setInitialSelections(new Object[] {oneOfTheElements});;

The initial selection is however not set.

When I look into the code I see that the elements are evetually set in a
job that is queued. I assume that setting of the elements is not yet done
when the initial selection is set (because this one is not waiten for the
job to finish).

Is this a bug or am I doing someting wrong?
Previous Topic:First ToolItem has raised border in SWT standalone app
Next Topic:Popupcelleditor
Goto Forum:

Current Time: Thu May 06 19:55:14 GMT 2021

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

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

Back to the top