Examples of EvaluationEventListener


Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

  /**
   * Ensure that each time when we try to associate this component with some parent (during parsing
   * and refresh), we ensure that it is configured.
   */
  private void ensureConfigured_directlyBeforeAssociation() {
    m_javaInfo.addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isPossibleAssociation(node)) {
          configure();
        }
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

          ensureCenterWidget();
        }
      }
    });
    // when association of container is going to be executed during "refresh"
    addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isActive() && node instanceof Statement) {
          Association association = getContainer().getAssociation();
          if (association != null && association.getStatement() == node) {
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

          ensureCheckItems_model();
        }
      }
    });
    // ensure that at one and only one CheckItem object is checked
    addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isButtonInvocation(node)) {
          ensureCheckItems_object();
        }
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

  /**
   * Ensure that each time when we try to associate this component with some parent (during parsing
   * and refresh), we ensure that it is configured.
   */
  private void ensureConfigured_directlyBeforeAssociation() {
    m_javaInfo.addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isPossibleAssociation(node)) {
          configure();
        }
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

   * Each time when we try to associate this <code>TreeGrid</code> with some parent (during parsing
   * and refresh), we ensure that we have <code>ColumnConfig</code> with
   * <code>TreeGridCellRenderer</code>.
   */
  private void ensureTreeColumn_directlyBeforeAssociation() {
    addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isPossibleAssociation(node)) {
          ensureTreeColumn();
        }
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

  //
  // Listeners
  //
  ////////////////////////////////////////////////////////////////////////////
  private void ensureAtLeastOneChildField_directlyBeforeAssociation() {
    addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isPossibleAssociation(node)) {
          ensureAtLeastOneChildField();
        }
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

  //
  // Listeners
  //
  ////////////////////////////////////////////////////////////////////////////
  private void ensureNotEmpty_beforeAssociation() {
    addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isPossibleAssociation(node)) {
          ensureNotEmpty();
        }
View Full Code Here

Examples of org.eclipse.wb.core.model.broadcast.EvaluationEventListener

  /**
   * Ensure that each time when we try to associate this component with some parent (during parsing
   * and refresh), we ensure that it is configured.
   */
  private void ensureConfigured_directlyBeforeAssociation() {
    m_javaInfo.addBroadcastListener(new EvaluationEventListener() {
      @Override
      public void evaluateBefore(EvaluationContext context, ASTNode node) throws Exception {
        if (isPossibleAssociation(node)) {
          configure();
        }
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.