Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » any way to insert hyperLink into a opening FormPage ?
any way to insert hyperLink into a opening FormPage ? [message #523732] Mon, 29 March 2010 06:03
yizhang  is currently offline yizhang Friend
Messages: 2
Registered: March 2010
Junior Member
Can any one help me with updating the Hyperlink in a openning Formpage?

my work is to read Hyperlink from database and put them into
FormPage. If user click a update button, the Hyperlink in the Formpage should update.

currently I use a composite to contain the Hyperlinks .
I have try to update composite
call pack() method of composite
and redrow the composite
These ways are not working.

public Control createControl(){
Composite composite = toolkit.createComposite(composite);
databaseList = readfromDatabase();
for (String input : databaseLists)
Hyperlink link = toolkit.createHyperlink(composite, input, SWT.UNDERLINE_LINK);

button.addListener(new Listener(){
  //refresh composite code.

this composite hold all the links. my button suppose to update the links if some one click this button.

I have try to redraw this composite ,
call composite.pack(),
recreate control ,

They are not working.

any way to insert hyperLink into a opening FormPage ?

Previous Topic:Wizard maximum width
Next Topic:Treeviewer Scrollbar vanishing act
Goto Forum:

Current Time: Wed Apr 25 18:00:21 GMT 2018

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

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