Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » delete key in AbstractTextEditor
delete key in AbstractTextEditor [message #462821] Thu, 01 February 2007 09:35 Go to next message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

Hello everybody!
I cannot figure out why delete key does not work in AbstractTextEditor.
Could anybody give me a hint what is going on please?
Thanks a lot in advance.
Re: delete key in AbstractTextEditor [message #462825 is a reply to message #462821] Thu, 01 February 2007 10:13 Go to previous message
Eclipse UserFriend
Originally posted by: peter_ossipov.mail.ru

It is a real problem to migrate from a simple SourceViewer to
AbstractTextEditor. You have to overload a lot of methods. A bit too
complicated.
Well, you have to overload this method like I did for example:
/*
* (non-Javadoc)
*
* @see
org.eclipse.ui.texteditor.AbstractDocumentProvider#isModifia ble(java.lang.Object)
*/
@Override
public boolean isModifiable(Object element)
{
return true;
}
}
Peter Osipov wrote:
> Hello everybody!
> I cannot figure out why delete key does not work in
> AbstractTextEditor. Could anybody give me a hint what is going on please?
> Thanks a lot in advance.
Previous Topic:Plugin dependancy problems in RCP application
Next Topic:ProgressBar
Goto Forum:
  


Current Time: Thu Sep 19 14:18:50 GMT 2024

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

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

Back to the top