Skip to main content
jochens5907408
Known Participant
November 28, 2016
Question

How to create Object instances of class A at class B

  • November 28, 2016
  • 0 replies
  • 219 views

At my Plug-In I use the StartupShutdownService to create my menu.

From that menu the parsing of an order-XML is implemented.

From the XCatSAXContentHandler::EndElement of the Order-XML the document,according the size retrieved from the XML will be created.

Beside the settings for the output-file+distination, alloved fonts and allowed colors, I need the signaling of the selection of the two possible menus File:Save and File:Save As.

Therefor I've implemented a UIEIObserver-class. That class suddenly should be instanciated with the application object to receive the mentioned events.

If that will not be able, I kindly ask you to let me know.

But at the moment I'm not able get an instance of me UIEIObserver-Class at the XCatSAXContentHandler::EndElement, because the UIEObeserver is not found (not vissible).

As I have a similar failure between StartUpShutdownServevice and the XCatSAXContenHandler to signal the result of the succesfull parsing to the final message of the StartupSutdownService, it seem to me as a matter of vissibility.

I use at all my classes the std namespace.

What to do to be able tio interact between different classes of a Plug-In?

This topic has been closed for replies.