this.un3 = un3;
}
+ public boolean isVisible() {
+ if (un1 != null)
+ return un1.isVisible();
+ if (un2 != null)
+ return un2.isVisible();
+ if (un3 != null)
+ return un3.isVisible();
+ return false;
+ }
+
+ public void setVisible(boolean visible) {
+ if (un1 != null)
+ un1.setVisible(visible);
+ if (un2 != null)
+ un2.setVisible(visible);
+ if (un3 != null)
+ un3.setVisible(visible);
+ }
+
+
public static UpdateNode3 getCombinedTree(ModelUpdate update) throws DatabaseException {
UpdateTree updateTree1 = update.getUpdateTree();
UpdateTree updateTree2 = update.getUpdateTree2();