Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Question about TextCellEditor's text control
Question about TextCellEditor's text control [message #524914] Sun, 04 April 2010 02:28
Seema  is currently offline Seema Friend
Messages: 14
Registered: December 2009
Junior Member
Hi,
I have a scrolledform (frmHexadecimalValueEditor ) that has a table The table has a column whose editor is a TextCellEditor. In case I enter a wrong value I display an error message on the form using

control = textCellEditor.getControl():

frmHexadecimalValueEditor.getMessageManager().addMessage("SetHexValue",errorMsg, null,IMessageProvider.ERROR, control);


Now , when I correct the value entered in the cell , then I would like to remove the error message. My code for this looks like this:


frmHexadecimalValueEditor.getMessageManager().removeMessage("SetHexValue", control);



The probelm is the control returned by the textCellEditor is a different text control, so it does not remove the error message. My question is does the text control for that cellEditor change everytime, the cell is edited ?

Thanks in advance.
Previous Topic:[Databinding] Why isn't there an ObservableValueEditingSupport.create() that takes update strategies
Next Topic:Delayed second click = Edit cell for TableViewer
Goto Forum:
  


Current Time: Fri Sep 20 12:02:45 GMT 2024

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

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

Back to the top