}
public void readSettings(Object obj) {
if ( obj instanceof TemplateWizard ) {
TemplateWizard templatewizard = ( TemplateWizard ) obj;
DataObject dataobject = null;
DataFolder datafolder = null;
try {
dataobject = templatewizard.getTemplate();
data.setTarget( dataobject );
datafolder = templatewizard.getTargetFolder();
data.setTargetFolder( datafolder );
data.setClassName( templatewizard.getTargetName() );
}
catch( IOException ioexception ) {
}
if ( dataobject == null || datafolder == null )