Examples of markDirty()


Examples of org.datanucleus.store.ExecutionContext.markDirty()

                    {
                        // Only update the other side if not already being deleted
                        if (!ec.getApiAdapter().isDeleted(otherSM.getObject()) && !otherSM.isDeleting())
                        {
                            // Make sure the other object is updated in any caches
                            ec.markDirty(otherSM, false);

                            // Make sure the other object has the collection loaded so does this change
                            otherSM.isLoaded(relatedMmds[0].getAbsoluteFieldNumber());
                            Collection otherColl = (Collection)otherSM.provideField(relatedMmds[0].getAbsoluteFieldNumber());
                            if (otherColl != null)
View Full Code Here

Examples of org.eclipse.jface.action.IContributionManager.markDirty()

        IContributionItem item = (IContributionItem) i.next();
        if (item instanceof ContributionItem) {
          item.setVisible(set);
          IContributionManager manager = ((ContributionItem) item)
              .getParent();
          manager.markDirty();
          manager.update(false);
          if (!coolBarManager.isDirty()) {
            coolBarManager.markDirty();
          }
          item.update(ICoolBarManager.SIZE);
View Full Code Here

Examples of org.eclipse.jface.action.IContributionManager.markDirty()

     * @since 3.1
     */
    private void invalidateParent() {
        IContributionManager parent = getParent();
        if (parent != null) {
      parent.markDirty();
    }
    }

    /* (non-Javadoc)
     * @see org.eclipse.ui.activities.IActivityManagerListener#activityManagerChanged(org.eclipse.ui.activities.ActivityManagerEvent)
View Full Code Here

Examples of org.eclipse.jface.action.IContributionManager.markDirty()

      } else if (item instanceof MenuManager) {
        parent = ((MenuManager) item).getParent();
      }
      if (parent != null) {
        parent.markDirty();
        managersAwaitingUpdates.add(parent);
      }
    }

    /*
 
View Full Code Here

Examples of org.eclipse.jface.action.ICoolBarManager.markDirty()

          // as this object
          if (actionSetItem.getActionSetId().equals(actionSetId)) {
            item.setVisible(set);
            coolItemToolBarMgr.markDirty();
            if (!coolBarManager.isDirty()) {
              coolBarManager.markDirty();
            }
          }
        }
      }
      // Update the manager
View Full Code Here

Examples of org.eclipse.jface.action.ICoolBarManager.markDirty()

          IContributionManager manager = ((ContributionItem) item)
              .getParent();
          manager.markDirty();
          manager.update(false);
          if (!coolBarManager.isDirty()) {
            coolBarManager.markDirty();
          }
          item.update(ICoolBarManager.SIZE);
        }

      }
View Full Code Here

Examples of org.eclipse.jface.action.ICoolBarManager.markDirty()

      for (int i = 0; i < items.length; i++) {
        IContributionItem item = items[i];
        item.setVisible(visible || !forceVisibility);
        coolItemToolBarMgr.markDirty();
        if (!coolBarManager.isDirty()) {
          coolBarManager.markDirty();
        }
      }
      // Update the manager
      coolItemToolBarMgr.update(false);
      if (toolBarContributionItem != null) {
View Full Code Here

Examples of org.eclipse.jface.action.IStatusLineManager.markDirty()

    IStatusLineManager statusLineManager = actionBars.getStatusLineManager();
    if( statusLineManager == null )
      return;
   
    statusLineManager.setErrorMessage(msg);
    statusLineManager.markDirty();
    statusLineManager.update(true);
  }
 
  @Override
  public void dispose() {
View Full Code Here

Examples of org.eclipse.jface.action.IToolBarManager.markDirty()

        }
       
        // force the toolbar to refresh
        //
        IToolBarManager tbm = getViewSite().getActionBars().getToolBarManager();
        tbm.markDirty();
        tbm.update(true);
        getViewSite().getActionBars().updateActionBars();

        for( IContributionItem item : tbm.getItems() ) {
            ActionContributionItem action = (ActionContributionItem) item;
View Full Code Here

Examples of org.eclipse.jface.internal.provisional.action.ICoolBarManager2.markDirty()

          }
          // Add new item into cool bar manager
          if (newItem != null) {
            coolBarLayout.add(newItem);
            newItem.setParent(coolBarMgr);
            coolBarMgr.markDirty();
          }
        }

        // We need to check if we have everything we need in the layout.
        final ArrayList finalLayout = new ArrayList();
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.