| Difficulties with StructuredTextEditor in a MultiPageEditorPart [message #211601] |
Wed, 02 April 2008 17:30  |
|
Originally posted by: jfolap.gmail.com
I have a MultiPageEditorPart which offers a GraphicalEditorWithFlyoutPalette
and a StructuredTextEditor. Things work pretty good except that the Source
menu has problems when my StructuredTextEditor is active. The menu labels
are not being retrieved nor do the actions function as expected.
For example, the "Source" menu shows "ToggleComment.label",
"AddBlockComment.label", etc. Only "Shift Right", "Shift Left", and
"Format" appear and function as expected. Clicking any of the problemmatic
actions, such as "ToggleComment.label", has no effect.
I assume I need to do something with the action contributor of the
StructuredTextEditor when the multipage editor makes it the active part.
However, I am not sure what that is.
Any help would be appreciated.
Thank you
|
|
|
| Re: Difficulties with StructuredTextEditor in a MultiPageEditorPart [message #211776 is a reply to message #211601] |
Thu, 03 April 2008 14:31   |
 |
Nitin Dahyabhai Messages: 1843 Registered: July 2009 |
Senior Member |
|
|
john wrote:
> I have a MultiPageEditorPart which offers a GraphicalEditorWithFlyoutPalette
> and a StructuredTextEditor. Things work pretty good except that the Source
> menu has problems when my StructuredTextEditor is active. The menu labels
> are not being retrieved nor do the actions function as expected.
>
> For example, the "Source" menu shows "ToggleComment.label",
> "AddBlockComment.label", etc. Only "Shift Right", "Shift Left", and
> "Format" appear and function as expected. Clicking any of the problemmatic
> actions, such as "ToggleComment.label", has no effect.
>
> I assume I need to do something with the action contributor of the
> StructuredTextEditor when the multipage editor makes it the active part.
> However, I am not sure what that is.
>
> Any help would be appreciated.
>
> Thank you
Which version are you using? Have you told the StructuredTextEditor
about your main editor part?
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
---
Nitin Dahyabhai
Eclipse WTP, IBM
|
|
|
| Re: Difficulties with StructuredTextEditor in a MultiPageEditorPart [message #211836 is a reply to message #211776] |
Fri, 04 April 2008 18:22   |
|
Originally posted by: john.palof.logiclibrary.com
Thank you for replying.
Yes, I set my MultiPageEditorPart as the StructuredTextEditor's content
via setEditorPart.
Regarding the version (excerpts from Configuration Details):
Feature:
org.eclipse.wst (1.5.1.v200609111500-X3TmmF3AeboB5EW) "Web Standard Tools
(WST)"
Plugins:
org.eclipse.wst.sse.core (1.1.100.v200609182120) "Structured Text Model"
[Active]
org.eclipse.wst.sse.doc.user (1.0.203.v200608300230) "Structured text
editor and snippets documentation" [Resolved]
org.eclipse.wst.sse.ui (1.0.200.v200609211325) "Structured Source Editor"
[Active]
org.eclipse.wst.sse.ui.infopop (1.0.101.v200605040131) "SSE infopops"
[Resolved]
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02496 seconds