EDOBE XDOM PMML Manuel d'utilisateur Page 43

  • 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 42
43
}
}
/**
* Method called by the dialog to save properties in Model
*/
public void saveProperties()
throws NodeDialog.DialogException {
super.saveProperties();
XTProps props = getNodeModel().getXTProps();
// clear old selected values
props.removeProperty(new String []
{ThirdCopyEngineNode.COLUMNS_ATTRIBUTE_TAG});
// Save the names of the selected columns
Object [] selectedValues =
listBox.getSelectedValues();
for (int i=0; i < selectedValues.length; i++) {
props.set(new String []
{ThirdCopyEngineNode.COLUMNS_ATTRIBUTE_TAG,
(String) selectedValues[i]}, "");
}
// Clear out the list to release memory
listModel.clear();
}
/**
* Create the first options page. We hardcode label text
* in this example. It's preferable to put the text in
* an external ResourceBundle for potential
* internationalization.
*/
public JPanel createOptionsPanel() {
JPanel optionsPanel = new JPanel(new GridBagLayout());
optionsPanel.setBorder(
BorderFactory.createEmptyBorder(5,5,5,5));
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 97 98

Commentaires sur ces manuels

Pas de commentaire