EDOBE XDOM PMML Manual de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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);
}
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 97 98

Comentarios a estos manuales

Sin comentarios