* @param component Component father of the JavaHelp Component
*/
public void openHelp(Component component) throws Exception
{ component.setCursor(new Cursor(Cursor.WAIT_CURSOR));
String className = component.getClass().getName();
HelpSet set = null;
if (className.equals("unbbayes.datamining.gui.InvokerMain"))
{ set = new HelpSet(null, getClass().getResource("/help/DataMiningHelp/Data_Mining.hs"));
}
else if (className.equals("unbbayes.datamining.gui.id3.DecisionTreeMain"))
{ set = new HelpSet(null, getClass().getResource("/help/DataMiningHelp/Decision_Tree.hs"));
}
else if (className.equals("unbbayes.datamining.gui.c45.DecisionTreeMain"))
{ set = new HelpSet(null, getClass().getResource("/help/C45Help/C45.hs"));
}
else if (className.equals("unbbayes.datamining.gui.evaluation.EvaluationMain"))
{ set = new HelpSet(null, getClass().getResource("/help/DataMiningHelp/Evaluation.hs"));
}
else if (className.equals("unbbayes.datamining.gui.naivebayes.NaiveBayesMain"))
{ set = new HelpSet(null, getClass().getResource("/help/DataMiningHelp/Naive_Bayes.hs"));
}
else if (className.equals("unbbayes.datamining.gui.preprocessor.PreprocessorMain"))
{ set = new HelpSet(null, getClass().getResource("/help/DataMiningHelp/Preprocessor.hs"));
}
else if (className.equals("unbbayes.datamining.gui.neuralmodel.NeuralModelMain"))
{ set = new HelpSet(null, getClass().getResource("/help/CNMHelp/cnm.hs"));
}
else if (className.equals("unbbayes.datamining.gui.neuralnetwork.NeuralNetworkMain"))
{ set = new HelpSet(null, getClass().getResource("/help/BpnHelp/BpnHelp.hs"));
}
else if (className.equals("unbbayes.gui.UnBBayesFrame"))
{ set = new HelpSet(null, getClass().getResource("/help/JUnBBayes.hs"));
}
else
{
component.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
throw new Exception("HelpSet not found "+this.getClass().getName());