Question about StructuredTextEditor.createCombinedPreferenceStore? [message #136241] |
Thu, 01 September 2005 08:16  |
Eclipse User |
|
|
|
Hi all,
Why StructuredTextEditor.createCombinedPreferenceStore is private?
and isFoldingEnabled is private too?, that means if in my plugins has
an editor extends StructuredTextEditor, and want to enable folding
support, the only way is to use SSEUIPlugin PreferenceStore, and that
affact all editor extends from StructuredTextEditor, this kind design
is really weird. is there any other ways?
Regards
Eric
|
|
|
|
|
Re: Question about StructuredTextEditor.createCombinedPreferenceStore? [message #136660 is a reply to message #136274] |
Mon, 05 September 2005 21:38   |
Eclipse User |
|
|
|
On Thu, 01 Sep 2005 16:31:47 -0400, Eric Suen <eric_suen_cn@hotmail.com>=
wrote:
> Hi Amy,
>
>>> StructuredTextEditor is actually intended not to be subclassed.
> why? losts of editor extents StructuredTextEditor, for example:
> dtd & xml, if I want XML Editor enable folding, others not, seems no
> way to achieve that...
>
We are working on "removing" those other subclasses you mentioned.
Our philosphy will be to provide ways to add "configuration" to
editors, but not have the Editor Class itself be subclass-supporting API=
..
(In our experience, too hard to evolve).
Of course, once we get to our "starting point" of API's we'll always con=
sider
proposals to improve in the way people want to add things.
|
|
|
Re: Question about StructuredTextEditor.createCombinedPreferenceStore? [message #137423 is a reply to message #136660] |
Thu, 08 September 2005 13:08  |
Eclipse User |
|
|
|
Originally posted by: amywu.us.DELETETHISPART.ibm.com
And to build off what David said about editor configurations and tie it to
folding. We are looking to make folding a configurable part of the editor.
Of course the first goal may be to actually get folding officially in the
source editors:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=73271
There is also a bug open to get the configurable folding to be part of the
base text editor:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=84819
"David Williams" <david_williams@us.ibm.com> wrote in message
news:op.swnqtucrac05ss@dmw2t23.raleigh.ibm.com...
On Thu, 01 Sep 2005 16:31:47 -0400, Eric Suen <eric_suen_cn@hotmail.com>
wrote:
> Hi Amy,
>
>>> StructuredTextEditor is actually intended not to be subclassed.
> why? losts of editor extents StructuredTextEditor, for example:
> dtd & xml, if I want XML Editor enable folding, others not, seems no
> way to achieve that...
>
We are working on "removing" those other subclasses you mentioned.
Our philosphy will be to provide ways to add "configuration" to
editors, but not have the Editor Class itself be subclass-supporting API.
(In our experience, too hard to evolve).
Of course, once we get to our "starting point" of API's we'll always
consider
proposals to improve in the way people want to add things.
|
|
|
Powered by
FUDForum. Page generated in 0.05957 seconds