JFace Viewer(s) for text fields



Dear all

I'm beginning to learn JFace and SWT. I have the following problem:

I have data model describing state of a room:

public class Room {
int getX() { ... }
int getY() { ... }
int getZ() { ... }
}

I want to display information about this room in form of text fields,
however there is nothing in JFace as TextViewer (as e.g. for List --
ListViewer).

How can I handle this situation ?
Room could be an input for viewer(s). Then how viewer(s) and content
provider(s) should looks like ?

Any example or reference would be great help for me.

Regards,

Maciej
.