Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use IS classes and methods in IA

 
D kiran kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi ,

I am migrating my project from IS to IA as part of this I am trying to use existing code, below is my existing code, can any one please suggest me how to use IS classes and methods in IA, if these classes and methods are not present in IA is there any replacement classes and methods in IA

classes and methods are highlighted with colour

package com.installshield.ocrm_installer.event.dialog.swing;

import com.installshield.ui.controls.*;
import com.installshield.database.runtime.*;
import com.epiphany.installer.ismpx.toolkit.*;
import com.epiphany.installer.ismpx.dialog.*;


public class PanelEnterSQLServerMetaDatabaseInfo {

public void queryEnterEnterSQLServerMetaDatabaseInfo(com.installshield.event.ISQueryContext arg0) {
}

public void initializeUIEnterSQLServerMetaDatabaseInfo(com.installshield.event.ui.ISDialogContext arg0) {

try {
EP_ISLogUtil.logStartWizardDialogEvent( this );
ISPanel panel = arg0.getISPanel();
ISTextField textFieldControl = panel.getTextField( textFieldName ); EP_ISDialogUtil.swingLoadTextFieldControl(
EP_ISDialogUtil.SWING_CONTROL_NAME_ENTER_SQLSERVER_META_DATABASE_INFO_TEXTFIELD_SERVER_NAME,
EP_ISContext.PROPERTY_NAME_ENTER_SQL_SERVER_META_SERVER_NAME,
panel );

}
catch (Exception e) {
EP_ISDialogUtil.swingProcessErrorInitializeUI( this, arg0.getWizard(), e );
}
}

public void queryExitEnterSQLServerMetaDatabaseInfo(com.installshield.event.ui.ISDialogQueryContext arg0) {

try {
ISPanel panel = arg0.getISPanel();
ISDatabase propertyDatabase = arg0.getServices().getISDatabase();
EP_ISDialogUtil.swingSaveTextFieldControl(
EP_ISDialogUtil.SWING_CONTROL_NAME_ENTER_SQLSERVER_META_DATABASE_INFO_TEXTFIELD_SERVER_NAME,
EP_ISContext.PROPERTY_NAME_ENTER_SQL_SERVER_META_SERVER_NAME,
panel,
propertyDatabase );


boolean validated = EP_ISDialogEnterSQLServerMetaDatabaseInfo.swingValidate( arg0.getWizard() );
arg0.setReturnValue( validated );
}
catch (Exception e) {
EP_ISDialogUtil.swingProcessErrorQueryExit( this, arg0.getWizard(), e );
}
}
}

Last edited by kdasari; 03-20-2013 at 09:27 AM.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic