Displaying a message in grid view when no rows are created [message #43072] |
Sat, 10 November 2007 11:19  |
Eclipse User |
|
|
|
Hello,
In my (RCP)application selection of some items in the outline view(which
provides the input to the grid view), rows will not be created in grid
view (grid appears empty here except the header)... Is it possible to put
a message on this view (similar to the scenario, where a message appears
in the outline view of eclipse when no files are opened)..?
Thanks & Regards,
Supreetha.H.R
|
|
|
Re: Displaying a message in grid view when no rows are created [message #43208 is a reply to message #43072] |
Mon, 12 November 2007 10:47  |
Eclipse User |
|
|
|
Hi Supreetha,
I believe the outline view works the way it does by replacing the tree
with a label (perhaps using StackLayout). You could do that or actually
put a paint listener on the Grid and paint whatever message you want.
-Chris
Supreetha H R wrote:
> Hello,
>
> In my (RCP)application selection of some items in the outline view(which
> provides the input to the grid view), rows will not be created in grid
> view (grid appears empty here except the header)... Is it possible to
> put a message on this view (similar to the scenario, where a message
> appears in the outline view of eclipse when no files are opened)..?
>
> Thanks & Regards,
> Supreetha.H.R
>
|
|
|
Re: Displaying a message in grid view when no rows are created [message #586337 is a reply to message #43072] |
Mon, 12 November 2007 10:47  |
Eclipse User |
|
|
|
Hi Supreetha,
I believe the outline view works the way it does by replacing the tree
with a label (perhaps using StackLayout). You could do that or actually
put a paint listener on the Grid and paint whatever message you want.
-Chris
Supreetha H R wrote:
> Hello,
>
> In my (RCP)application selection of some items in the outline view(which
> provides the input to the grid view), rows will not be created in grid
> view (grid appears empty here except the header)... Is it possible to
> put a message on this view (similar to the scenario, where a message
> appears in the outline view of eclipse when no files are opened)..?
>
> Thanks & Regards,
> Supreetha.H.R
>
|
|
|
Powered by
FUDForum. Page generated in 0.03361 seconds