Skip to main content



      Home
Home » Eclipse Projects » JFace » [CellEditor] Find the currently active CellEditor in a TableViewer (3.3 API)
[CellEditor] Find the currently active CellEditor in a TableViewer (3.3 API) [message #22551] Wed, 22 July 2009 08:52 Go to next message
Eclipse UserFriend
Originally posted by: bjoern.bjoernfischer.de

Hello everybody,
I have different CellEditors attached to the columns of my TableViewer
via TableEditingSupport (TableViewerEditor.create(...) /
column.setEditingSupport(...)).

At runtime I want to invoke a method on the currently active CellEditor
(in this case show the dialog of a customized DialogCellEditor). Is
there a way to find the currently active CellEditor programmatically? I
cannot use the method TableViewer#getCellEditors() since it is part of
the legacy (3.2) API and I have not found a 3.3 pendant.

Regards,
Björn
Re: [CellEditor] Find the currently active CellEditor in a TableViewer (3.3 API) [message #23790 is a reply to message #22551] Fri, 24 July 2009 03:14 Go to previous message
Eclipse UserFriend
Originally posted by: bjoern.bjoernfischer.de

Really nobody who can help me? Is there no way to get the active
CellEditor from a TableViewer? Currently I use a very dirty workaround
that should really not go in a released version :-(

I hope someone has an idea about this. Thanks in advance for any hint.

Regards,
Björn

Björn Fischer schrieb:
> Hello everybody,
> I have different CellEditors attached to the columns of my TableViewer
> via TableEditingSupport (TableViewerEditor.create(...) /
> column.setEditingSupport(...)).
>
> At runtime I want to invoke a method on the currently active CellEditor
> (in this case show the dialog of a customized DialogCellEditor). Is
> there a way to find the currently active CellEditor programmatically? I
> cannot use the method TableViewer#getCellEditors() since it is part of
> the legacy (3.2) API and I have not found a 3.3 pendant.
>
> Regards,
> Björn
Previous Topic:Validate text in TextCellEditor after input
Next Topic:ObservableValueEditingSupport sets model value 1st time even if not changed
Goto Forum:
  


Current Time: Sun May 11 15:51:35 EDT 2025

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

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

Back to the top