Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » The CellEditor can't editor(TableViewer)
The CellEditor can't editor [message #852968] Sun, 22 April 2012 10:45 Go to next message
Ou liang is currently offline Ou liang
Messages: 5
Registered: April 2012
Junior Member
Hi all,
when I create a cellEditor in a TableViewer,but it has no effect。The code below:
tableViewer.setColumnProperties(properties);
tableViewer.setCellEditors(getCellEditors(tableViewer));
tableViewer.setCellModifier(getCellModifier());
and it even can't enter the method canModify(Object element, String property) of the class ICellModifier;

Thanks
Ou liang
Re: The CellEditor can't editor [message #853576 is a reply to message #852968] Mon, 23 April 2012 02:19 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5262
Registered: July 2009
Senior Member
Is your table created with SWT.FULL_SELECTION and this the JDT newsgroup
please ask jface question in the jface one

Tom

Am 22.04.12 16:45, schrieb Ou liang:
> Hi all,
> when I create a cellEditor in a TableViewer,but it has no effect。The
> code below:
> tableViewer.setColumnProperties(properties);
> tableViewer.setCellEditors(getCellEditors(tableViewer));
> tableViewer.setCellModifier(getCellModifier());
> and it even can't enter the method canModify(Object element, String
> property) of the class ICellModifier;
>
> Thanks
> Ou liang
Re: The CellEditor can't editor [message #853990 is a reply to message #853576] Mon, 23 April 2012 10:40 Go to previous message
Ou liang is currently offline Ou liang
Messages: 5
Registered: April 2012
Junior Member
OK,Thanks for your reply.and I will put it to the jface forums.
Previous Topic:Editing library in build path
Next Topic:'org.eclipse.wst.xml.core 0.0.0' but it could not be found
Goto Forum:
  


Current Time: Fri Aug 01 22:38:54 EDT 2014

Powered by FUDForum. Page generated in 0.01555 seconds