Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Adapting XmlMultiPageEditorPart
Adapting XmlMultiPageEditorPart [message #177049] Tue, 15 August 2006 14:37 Go to next message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Hi,

I am having problems adapting the XmlMultiPageEditorPart. It will only
allow me to adapt the textEditor contained within it. If you look at the
code in XmlMultiPageEditorPart.getAdapter(class), it does not follow the
contract given in IWorkbenchPart.getAdapter(Class):

/**
*Subclasses may override this method (however, if they do so, they should
*invoke the method on their superclass to ensure that the Platform's
adapter *manager is consulted).
**/

Any clues as to why this is not done for XmlMultiPageEditorPart? If I
later ask for IWorkbenchPage.getActivePart() I am returned the
XmlMultiPageEditorPart. How would I determine whether the TextEditor is
the active part?

thanks,
Karen
Re: Adapting XmlMultiPageEditorPart [message #177427 is a reply to message #177049] Fri, 18 August 2006 15:41 Go to previous messageGo to next message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
My post has mysteriously disappeared from the newsgroup, bumping it
Re: Adapting XmlMultiPageEditorPart [message #177435 is a reply to message #177427] Fri, 18 August 2006 15:42 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Trying again:

Hi,

I am having problems adapting the XmlMultiPageEditorPart. It will only
allow me to adapt the textEditor contained within it. If you look at the
code in XmlMultiPageEditorPart.getAdapter(class), it does not follow the
contract given in IWorkbenchPart.getAdapter(Class):

/**
*Subclasses may override this method (however, if they do so, they should
*invoke the method on their superclass to ensure that the Platform's
adapter *manager is consulted).
**/

Any clues as to why this is not done for XmlMultiPageEditorPart? If I
later ask for IWorkbenchPage.getActivePart() I am returned the
XmlMultiPageEditorPart. How would I determine whether the TextEditor is
the active part?

thanks,
Karen
Previous Topic:WSDL Generation
Next Topic:no input boxes to enter parameter values in web services explorer
Goto Forum:
  


Current Time: Fri Apr 26 22:01:01 GMT 2024

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

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

Back to the top