Subject: Accessing CustomPart from SapphireWizard subclass |
Author: Greg Amerson |
Date: Thu, 23 January 2014 04:37 |
Hey everyone,
I have a SapphireWizard subclass. In the SDEF I'm declaring a Custom Part. This custom part has some data that it edits that isn't related to the model (it is setting IWorkingSet[] information for a new project). I'd like to access this custom part to get the working set information out of it. However, once I'm in the SapphireWizard subclass's performFinish() I don't see a way to access the Custom Part class through exposed API.
Right now I'm using reflection to get SapphireWizard.part field and then going to the first WizardPagePart and then iterating through its children() list until I find my custom part class, and then accessing the an API on my Custom Part class
Is there a better way to communicate to the Custom Part without going through model? Or if not, could we make a SapphireWizard.part() a part of API?
|
[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]
|