public void dbRelationshipChanged(RelationshipEvent e) { updateRelationshipCell(e.getRelationship()); }
public void objRelationshipChanged(RelationshipEvent e) { table.select(e.getRelationship()); }
public void objRelationshipRemoved(RelationshipEvent e) { removeRelationshipCell(e.getRelationship()); }
public void objRelationshipRemoved(RelationshipEvent e) { ObjRelationshipTableModel model = (ObjRelationshipTableModel) table.getModel(); int ind = model.getObjectList().indexOf((ObjRelationship)e.getRelationship()); model.removeRow((ObjRelationship) e.getRelationship()); table.select(ind); }
public void dbRelationshipRemoved(RelationshipEvent e) { DbRelationshipTableModel model = (DbRelationshipTableModel) table.getModel(); int ind = model.getObjectList().indexOf(e.getRelationship()); model.removeRelationship(e.getRelationship()); table.select(ind); }
public void objRelationshipChanged(RelationshipEvent e) { remapRelationship(e); updateRelationshipCell(e.getRelationship()); }
public void dbRelationshipRemoved(RelationshipEvent e) { remapRelationship(e); removeRelationshipCell(e.getRelationship()); }
/** * Checks if entity name has changed, then changes map key */ protected void remapRelationship(RelationshipEvent e) { if (e.isNameChange()) { relCells.put(getQualifiedName(e.getRelationship()), relCells.remove(e.getEntity().getName() + "." + e.getOldName())); } }
public void dbRelationshipAdded(RelationshipEvent e) { rebuildTable((DbEntity) e.getEntity()); table.select(e.getRelationship()); }
public void objRelationshipAdded(RelationshipEvent e) { rebuildTable((ObjEntity) e.getEntity()); table.select(e.getRelationship()); }
Relationship rel = e.getRelationship();
public void dbRelationshipChanged(RelationshipEvent e) { if (e.getSource() != this) { if (!(table.getModel() instanceof DbRelationshipTableModel)) { rebuildTable((DbEntity) e.getEntity()); } table.select(e.getRelationship()); DbRelationshipTableModel model = (DbRelationshipTableModel) table.getModel(); model.fireTableDataChanged(); } }
Relationship rel = e.getRelationship();