EDOBE XDOM PMML Manuale Utente Pagina 42

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 98
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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);
}
Vedere la pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 97 98

Commenti su questo manuale

Nessun commento