Examples of modelUpdated()


Examples of org.openbp.core.model.modelmgr.ModelNotificationObserver.modelUpdated()

    modelMgr.modelUpdated(qualifier, mode);

    for (Iterator it = CollectionUtil.iterator(notificationObservers); it.hasNext();)
    {
      ModelNotificationObserver observer = (ModelNotificationObserver) it.next();
      observer.modelUpdated(qualifier, mode);
    }
  }

  /**
   * Resets all models.
View Full Code Here

Examples of org.openbp.core.model.modelmgr.ModelNotificationService.modelUpdated()

        String eventType = event.getEventType();

        // Notify the server from the model changes
        if (eventType == ModelConnectorEvent.MODEL_ADDED || eventType == ModelConnectorEvent.ITEM_ADDED)
        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.ADDED);
        }
        else if (eventType == ModelConnectorEvent.MODEL_UPDATED || eventType == ModelConnectorEvent.ITEM_UPDATED)
        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.UPDATED);
        }
View Full Code Here

Examples of org.openbp.core.model.modelmgr.ModelNotificationService.modelUpdated()

        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.ADDED);
        }
        else if (eventType == ModelConnectorEvent.MODEL_UPDATED || eventType == ModelConnectorEvent.ITEM_UPDATED)
        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.UPDATED);
        }
        else if (eventType == ModelConnectorEvent.MODEL_REMOVED || eventType == ModelConnectorEvent.ITEM_REMOVED)
        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.REMOVED);
        }
View Full Code Here

Examples of org.openbp.core.model.modelmgr.ModelNotificationService.modelUpdated()

        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.UPDATED);
        }
        else if (eventType == ModelConnectorEvent.MODEL_REMOVED || eventType == ModelConnectorEvent.ITEM_REMOVED)
        {
          mns.modelUpdated(session, qualifier, ModelNotificationService.REMOVED);
        }
        else if (eventType == ModelConnectorEvent.MODEL_RENAMED || eventType == ModelConnectorEvent.ITEM_RENAMED)
        {
          ModelQualifier prevQualifier = event.getPreviousQualifier();
          mns.modelUpdated(session, prevQualifier, ModelNotificationService.REMOVED);
View Full Code Here

Examples of org.openbp.core.model.modelmgr.ModelNotificationService.modelUpdated()

          mns.modelUpdated(session, qualifier, ModelNotificationService.REMOVED);
        }
        else if (eventType == ModelConnectorEvent.MODEL_RENAMED || eventType == ModelConnectorEvent.ITEM_RENAMED)
        {
          ModelQualifier prevQualifier = event.getPreviousQualifier();
          mns.modelUpdated(session, prevQualifier, ModelNotificationService.REMOVED);
          mns.modelUpdated(session, qualifier, ModelNotificationService.ADDED);
        }
      }
      catch (ModelException e)
      {
View Full Code Here

Examples of org.openbp.core.model.modelmgr.ModelNotificationService.modelUpdated()

        }
        else if (eventType == ModelConnectorEvent.MODEL_RENAMED || eventType == ModelConnectorEvent.ITEM_RENAMED)
        {
          ModelQualifier prevQualifier = event.getPreviousQualifier();
          mns.modelUpdated(session, prevQualifier, ModelNotificationService.REMOVED);
          mns.modelUpdated(session, qualifier, ModelNotificationService.ADDED);
        }
      }
      catch (ModelException e)
      {
        ExceptionUtil.printTrace(e);
View Full Code Here

Examples of org.springframework.ide.eclipse.config.core.IConfigEditorPage.modelUpdated()

  private void notifyModelChanged(boolean updateNamespaces) {
    for (Object obj : pages) {
      if (obj instanceof IConfigEditorPage) {
        IConfigEditorPage page = (IConfigEditorPage) obj;
        page.modelUpdated();
        if (updateNamespaces) {
          page.namespacesUpdated();
        }
      }
    }
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.