Skip to main content


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 14:45 Go to next message
Ou liang is currently offline Ou liangFriend
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 06:19 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
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 14:40 Go to previous message
Ou liang is currently offline Ou liangFriend
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: Thu Mar 28 22:18:58 GMT 2024

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

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

Back to the top