[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform] Re: Is it possible to continously refresh a view?
|
- From: robert.castley@xxxxxxxxx (Robert Castley)
- Date: Thu, 16 Mar 2006 09:47:34 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Gentlemen,
Thanks very much for responding. Can I be really cheeky and ask if you
have a code snippet?
In View.java I currently have the following:
public void createPartControl(Composite parent) {
System.currentTimeMillis();
XmlRpcRequest request1 = null;
try {
request1 = new XmlRpcRequest();
System.out.println(request1);
} catch (RuntimeException e1) {
System.out.println(e1.getMessage());
}
try {
final Composite bottom = new Composite(parent, SWT.BORDER);
bottom.setLayoutData(new GridData(GridData.BEGINNING,
GridData.FILL, false, false));
bottom.setLayout(new FillLayout());
table = new Table(bottom, SWT.MULTI | SWT.BORDER
| SWT.V_SCROLL | SWT.H_SCROLL);
......
} catch (RuntimeException e2) {
System.err.println(e2);
System.exit(-1);
}
}
Would I be able to wrap the refresh around this or does it need to go
elsewhere?
Many thanks in advance.
- Robert