Difficulties with StructuredTextEditor in a MultiPageEditorPart [message #211601] |
Wed, 02 April 2008 21:30 |
Eclipse User |
|
|
|
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 18:31 |
|
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 Web Tools Platform
|
|
|
Re: Difficulties with StructuredTextEditor in a MultiPageEditorPart [message #211836 is a reply to message #211776] |
Fri, 04 April 2008 22:22 |
Eclipse User |
|
|
|
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]
|
|
|
Re: Difficulties with StructuredTextEditor in a MultiPageEditorPart [message #211919 is a reply to message #211836] |
Mon, 07 April 2008 16:57 |
|
John wrote:
> 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]
>
Hmm, best to open a bug report, then. If at all possible, also try
it with the upcoming 3.0M6 build. The menu contribution story has
been revamped to make use of handlers and UI contexts, and it's
possible that the problem is fixed by these changes.
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04465 seconds