"It would also be nice if you would join the community " +
"on the website and check out the Forums to discuss " +
"features, suggestions or bugs.\n\n");
headline.setLayoutData(new GridData(SWT.FILL,SWT.FILL,true,false));
Link websiteLink = new Link(shell,SWT.NULL);
websiteLink.setText("Visit <A>GOIM Website: " + GOIMPlugin.goimSiteURL + "</A>");
websiteLink.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false));
Link mucLink = new Link(shell,SWT.NULL);
mucLink.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false));
mucLink.setText("You can also join our <A>Multi User Chatroom " +
GOIMPlugin.defaultGOIMroom + "</A>");
Link editVCard = new Link(shell,SWT.NULL);
editVCard.setLayoutData(new GridData(SWT.FILL,SWT.CENTER,false,false));
editVCard.setText("You should also <A>edit your vCard</A>.\n" +
"The vCard stores your public information which can be " +
"retrieved by others.");
websiteLink.addListener(SWT.Selection,new Listener() {
public void handleEvent(Event event) {
try {
PlatformUI.getWorkbench().getBrowserSupport().getExternalBrowser().openURL(new URL(GOIMPlugin.goimSiteURL));
} catch (Exception e) {
throw new RuntimeException(e);
}
}
});
mucLink.addListener(SWT.Selection,new Listener() {
public void handleEvent(Event event) {
String name = GOIMPlugin.defaultGOIMroom;
MUCUtils.joinMUCRoom(activeAccount, name, null);
}
});
editVCard.addListener(SWT.Selection,new Listener() {
public void handleEvent(Event event) {
new vCardGUI(activeAccount);
}
});
}