private void initializeControl ( ) { /* * To optionally restore the designer state of the previous design session, use * getInitializationDesignerState(); */ // Restores the last saved data set design DataSetDesign dataSetDesign = getInitializationDesign ( ) ; if ( dataSetDesign == null ) return ; // nothing to initialize String queryText = dataSetDesign . getQueryText ( ) ; if ( queryText == null ) return ; // nothing to initialize // initialize control m_queryTextField . setText ( queryText ) ; validateData ( ) ; setMessage ( DEFAULT_MESSAGE ) ; /* * To optionally honor the request for an editable or * read-only design session, use * isSessionEditable(); */ }
Initializes the page control with the last edited data set design .