EDOBE XDOM PMML Manuel d'utilisateur Page 42

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 41
42
private ThirdCopyDialog() {
super();
pack();
setMinimumSize(new Dimension(500,500));
}
/**
* Restore the list of column names and selection state.
*/
public void restoreProperties() {
super.restoreProperties();
Vector inputNames = null;
try {
// The ActivityNodeModel is stored as the "model"
// in the NodeDialog. We get info from it.
inputNames = getNodeModel().getInputMetaData(0
).getColumnNames();
}
catch (Exception e) {
e.printStackTrace();
inputNames = new Vector();
}
Vector selectionNames = getNodeModel().getXTProps(
).getSubProperties(
ThirdCopyEngineNode.COLUMNS_ATTRIBUTE_TAG);
listModel.clear();
listModel.setSize(inputNames.size());
// Select any columns listed in the selection names.
String curName = null;
for (int i=0; i<inputNames.size(); i++) {
curName = (String) inputNames.get(i);
listModel.add(i, curName);
if (selectionNames.contains(curName)) {
listBox.addSelectionInterval(i, i);
}
Vue de la page 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 97 98

Commentaires sur ces manuels

Pas de commentaire