コード例 #1
0
  private String getCurrentValue(String xpath) {
    XmlObject[] paths =
        outlineEditor.getOutlineTable().getXmlObjectTreeModel().getXmlObject().selectPath(xpath);

    String v = "";
    for (XmlObject obj : paths) v += obj.toString();
    return v;
  }
コード例 #2
0
  public void actionPerformed(ActionEvent e) {
    XmlTreeNode tn = outlineEditor.getSelectedTreeNode();
    if (tn == null) return;

    createTransfer(tn);
  }