[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: TableViewer display problem in Master/Detail block

Thank you very much. :)
It works beautifully.

and sorry for put you to inconvenience in reading post.
I changed setting to UTF-8 :)

and Thank you again.

Jung.

Tom Schindl:
Jung schrieb:
This is stack trace


Ok. This means that JFace tries to disassociate an element item relation where on item exists in the viewer. It has nothing to do with drawing! For a possible reason please see below.

org.eclipse.jface.util.Assert$AssertionFailedException: null argument;
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:149)
at org.eclipse.jface.util.Assert.isNotNull(Assert.java:125)
at

[...]

Table table = toolkit.createTable(client, SWT.V_SCROLL);
		gld = new GridData(GridData.FILL_BOTH);
		gld.widthHint = 20;
		gld.heightHint = 100;
		table.setLayoutData(gld);
		
		TableViewer viewer = new TableViewer(table, SWT.BORDER);

The next line is not right! You are not supposed to set the item-count for tables who are non-virtual!

		viewer.setItemCount(16);
		viewer.setContentProvider(new SecurityTableContentProvider());
		viewer.setLabelProvider(new SecurityTableLabelProvider());
		

One more thing could you please somehow change the encoding in your mails to e.g. Unicode when posting, currently you are using EUC-KR?

Tom