Exemplo n.º 1
0
  private void dataTable(BeanTableSorted from) {
    VariableBean vb = (VariableBean) from.getSelectedBean();
    if (vb == null) return;
    Variable v = vb.vs;
    if (v instanceof Structure) {
      try {
        dataTable.setStructure((Structure) v);
      } catch (Exception ex) {
        ex.printStackTrace();
      }
    } else return;

    dataWindow.show();
  }
Exemplo n.º 2
0
 private Variable getCurrentVariable(BeanTableSorted from) {
   VariableBean vb = (VariableBean) from.getSelectedBean();
   if (vb == null) return null;
   return vb.vs;
 }