Skip to main content



      Home
Home » Eclipse Projects » Nebula » Issue in triggering editing activation with ColumnViewerEditorActivationStrategy
Issue in triggering editing activation with ColumnViewerEditorActivationStrategy [message #587001] Mon, 17 December 2007 01:05
Eclipse UserFriend
Hello,

In our RCP application we are making use of GridTableViewer for the grid
represntation. And few columns in the grid are editable. We are making use
of 'ColumnViewerEditorActivationStrategy' to trigger the editing
activation.

I need to enter the editing mode in cell on key pressed(which am able to
using the below code...)
ColumnViewerEditorActivationStrategy actSupport = new
ColumnViewerEditorActivationStrategy(gridViewer) {
protected boolean isEditorActivationEvent(
ColumnViewerEditorActivationEvent event) {
return ( event.eventType ==
ColumnViewerEditorActivationEvent.KEY_PRESSED);
}
};

And using this 'actSupport am creating the GridViewerEditor.

Problem here is, the first keystroke is used to make the cell to enter
into editing mode, because of which am loosing the first key entered and
all the characters after 2nd will be entered in the cell. Is there anyway
to trigger the actvation in cell on any key pressed event, without loosing
the first character?!


Thanks & Regards,
Supreetha H R
Previous Topic:Horisontal scrolling during column draging
Next Topic:Right click event if not fired on DialogCellEditor
Goto Forum:
  


Current Time: Wed Jul 16 00:59:24 EDT 2025

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

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

Back to the top