Examples of ArrayAssociation


Examples of org.eclipse.wb.core.model.association.ArrayAssociation

      if (javaInfo instanceof ColumnConfigInfo && javaInfo.getParent() == null) {
        ColumnConfigInfo column = (ColumnConfigInfo) javaInfo;
        for (Expression arrayExpression : arrayExpressions) {
          if (column.isRepresentedBy(arrayExpression)) {
            addChild(column);
            column.setAssociation(new ArrayAssociation(columnsArray));
          }
        }
      }
    }
  }
View Full Code Here

Examples of org.eclipse.wb.core.model.association.ArrayAssociation

    StatementTarget statementTarget =
        new StatementTarget(AstNodeUtils.getEnclosingStatement(columnsArray), true);
    String source = column.getCreationSupport().add_getSource(new NodeTarget(statementTarget));
    getCreateItemExpression(column, arrayInitializer, index, source);
    // set association
    column.setAssociation(new ArrayAssociation(columnsArray));
    // fire after event
    getBroadcastJava().addAfter(this, column);
    getBroadcast(ObjectInfoChildAddAfter.class).invoke(this, column);
  }
View Full Code Here

Examples of org.eclipse.wb.core.model.association.ArrayAssociation

      }
      Assert.isNotNull(source, "No source found for.");
      getCreateItemExpression(column, arrayInitializer, newIndex, source);
    }
    // set association
    column.setAssociation(new ArrayAssociation(columnsArray));
    // fire after event
    getBroadcastJava().moveAfter(column, oldParent, this);
    getBroadcastObject().childMoveAfter(getParent(), column, nextColumn, oldIndex, newIndex);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.