Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » IM user list like widget
IM user list like widget [message #454926] Mon, 02 May 2005 20:16 Go to next message
Johan Tibell is currently offline Johan TibellFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I'm making a small IM like application and I'm in need of a user list
widget similar to the one in MSN Messenger, a small icon and a text
label. I'm trying to decide which road to go:

1. Extend List to add an image in addition to the text label.
2. Use JFace and extend ListView to add the behaviour.
3. Make a custom widget and make a list by putting several such widgets
in a container with a RowLayout.

It is important that the text label is selectable, just like with the
standard List.

1 and 2 are kinda similar and I'll probably go for number two but I'd
like to get some input. Have anyone done something similar already?

Regards,

Johan Tibell
Re: IM user list like widget [message #454929 is a reply to message #454926] Tue, 03 May 2005 00:35 Go to previous message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="serif">You might want to try the pre-existing Table
widget.&nbsp; That should give you all the functionality you need.<br>
<br>
Daniel<br>
</font><br>
Johan Tibell wrote:
<blockquote cite="midd5624h$q0t$1@news.eclipse.org" type="cite">Hi,
<br>
<br>
I'm making a small IM like application and I'm in need of a user list
widget similar to the one in MSN Messenger, a small icon and a text
label. I'm trying to decide which road to go:
<br>
<br>
1. Extend List to add an image in addition to the text label.
<br>
2. Use JFace and extend ListView to add the behaviour.
<br>
3. Make a custom widget and make a list by putting several such widgets
in a container with a RowLayout.
<br>
<br>
It is important that the text label is selectable, just like with the
standard List.
<br>
<br>
1 and 2 are kinda similar and I'll probably go for number two but I'd
like to get some input. Have anyone done something similar already?
<br>
<br>
Regards,
<br>
<br>
Johan Tibell
<br>
</blockquote>
</body>
</html>
Previous Topic:how to update the shell after invoke setSize()??
Next Topic:How to know if application already running?
Goto Forum:
  


Current Time: Fri Apr 26 21:17:44 GMT 2024

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

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

Back to the top