Examples of update()


Examples of org.eclipse.ecf.filetransfer.ui.FileTransfersView.update()

          } else if (e instanceof IIncomingFileTransferEvent) {
            final FileTransfersView ftv = (FileTransfersView) workbenchPage.findView(FileTransfersView.ID);
            if (ftv != null) {
              workbenchPage.getWorkbenchWindow().getShell().getDisplay().asyncExec(new Runnable() {
                public void run() {
                  ftv.update(((IIncomingFileTransferEvent) e).getSource());
                }
              });
            }
          }
        }
View Full Code Here

Examples of org.eclipse.ecf.pubsub.model.impl.LocalAgent.update()

        if (value != null) {
          LocalAgent model = (LocalAgent) getStructuredSelection().getFirstElement();
          AppendableList list = (AppendableList) model.getData();
          if (list.add(value)) {
            try {
              model.update(value);
            } catch (IOException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
            }
          }
View Full Code Here

Examples of org.eclipse.graphiti.features.IUpdateFeature.update()

    if (pe == null) {
      Activator.getLogger().debug("Warning could not find PictogramElement for selectedNode: " + selectedNode);
    }
    UpdateContext ctx = new UpdateContext(pe);
    IUpdateFeature updateFeature = designEditor.getFeatureProvider().getUpdateFeature(ctx);
    updateFeature.update(ctx);
  }
}
View Full Code Here

Examples of org.eclipse.jface.action.ContributionManager.update()

      }

     
    };   
    ms.populateContributionManager(manager, _menuId);
    manager.update(true);
  }
 
  public static void create(ScrolledForm form, FormToolkit toolkit, IEditorPart editor, String menuId) {
    WGADesignExportSection section = new WGADesignExportSection(menuId);
    section.init(form, toolkit, editor);
View Full Code Here

Examples of org.eclipse.jface.action.IContributionItem.update()

        public void updateEnabledAllowed() {
            // update the items in the map
            IContributionItem[] items = EditorMenuManager.super.getItems();
            for (int i = 0; i < items.length; i++) {
                IContributionItem item = items[i];
                item.update(IContributionManagerOverrides.P_ENABLED);
            }
            // update the wrapped menus
            if (wrappers != null) {
                for (int i = 0; i < wrappers.size(); i++) {
                    EditorMenuManager manager = (EditorMenuManager) wrappers
View Full Code Here

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

        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.ICoolBarManager.update()

        for (int j = 0; j < items.length; j++) {
          if (items[j] instanceof ToolBarContributionItem) {
            IToolBarManager tbm = ((ToolBarContributionItem) items[j])
                .getToolBarManager();
            if (mgr == tbm) {
              cb.update(true);
              return true;
            }
          }
        }
      }
View Full Code Here

Examples of org.eclipse.jface.action.IMenuManager.update()

          scheduler.setChecked(visible);
          IMenuManager otherManagerReference = CIShellApplication.getMenuManager();
          if(otherManagerReference == null) {
            System.err.println("The menu manager is still null. Surprise.");
          } else {
            otherManagerReference.update(true);
          }
        }
      });
      waitForBundleContext = false;
    }
View Full Code Here

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

                        StatusLineManager parent = (StatusLineManager) sub.getParent();
                        parent.setErrorMessage(message);
                        parent.update(true);
                    } else {
                        statusLineManager.setErrorMessage(message);
                        statusLineManager.update(true);
                    }
                }
            });
        }
    }
View Full Code Here

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

       
        // 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;
            action.getAction().setEnabled(action.getAction().isEnabled());
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.