Examples of notifyListeners()


Examples of com.dci.intellij.dbn.browser.model.BrowserTreeModel.notifyListeners()

    }

    public void rebuild() {
        BrowserTreeModel treeModel = browserTree.getModel();
        BrowserTreeNode rootNode = treeModel.getRoot();
        treeModel.notifyListeners(rootNode, TreeEventType.STRUCTURE_CHANGED);
    }

    public void dispose() {
        super.dispose();
        EventManager.unsubscribe(objectDisplaySettingsListener);
View Full Code Here

Examples of com.sun.tools.javac.util.Options.notifyListeners()

                    // in case of errors
                    throw new IllegalArgumentException(flag);
            }
        }

        optionTable.notifyListeners();
    }

    public int run(InputStream in, OutputStream out, OutputStream err, String... arguments) {
        if (err == null)
            err = System.err;
View Full Code Here

Examples of edu.hawaii.ics.csdl.jupiter.model.reviewissue.ReviewIssueModel.notifyListeners()

      }
      if (isReviewMarker) {
        log.debug("review marker was moved along with resource change.");
        ReviewIssueModelManager reviewIssueModelManager = ReviewIssueModelManager.getInstance();
        ReviewIssueModel reviewIssueModel = reviewIssueModelManager.getCurrentModel();
        reviewIssueModel.notifyListeners(ReviewIssueModelEvent.EDIT);
      }
      return true; // visit the children
    }

}
View Full Code Here

Examples of edu.mit.blocks.workspace.Workspace.notifyListeners()

            parent.validate();
        }

        block.setParentWidget(null);
        Workspace workspace = block.getWorkspace();
        workspace.notifyListeners(new WorkspaceEvent(workspace, widget, block.getBlockID(), WorkspaceEvent.BLOCK_REMOVED));

    }

    public static RenderableBlock cloneBlock(Block myblock) {
        String mygenusname = myblock.getGenusName();
View Full Code Here

Examples of net.floodlightcontroller.storage.IStorageSourceService.notifyListeners()

                    new TypeReference<List<StorageSourceNotification>>(){});
       
        IStorageSourceService storageSource =
            (IStorageSourceService)getContext().getAttributes().
                get(IStorageSourceService.class.getCanonicalName());
        storageSource.notifyListeners(notifications);
       
        HashMap<String, Object> model = new HashMap<String,Object>();
        model.put("output", "OK");
        return model;
    }
View Full Code Here

Examples of org.apache.oodt.cas.workflow.gui.perspective.view.View.notifyListeners()

      this.tabbedPane.addChangeListener(new ChangeListener() {

        public void stateChanged(ChangeEvent e) {
          View activeView = (View) BuildPanel.this.tabbedPane
              .getSelectedComponent();
          activeView.notifyListeners();
        }

      });

      treeView.setPreferredSize(new Dimension(WIDTH / 10, HEIGHT / 2));
View Full Code Here

Examples of org.eclipse.swt.custom.StyledText.notifyListeners()

    StyledText text = editor.getViewer().getTextWidget();
    text.setCaretOffset(document.getLineOffset(line));
    text.insert(" ");

    long preEnd = System.currentTimeMillis();
    text.notifyListeners(SWT.KeyDown, new Event());
    long postEnd = System.currentTimeMillis();

    // One data should be in the collection (the selected package declaration):
    assertEquals(1, tracker.getData().size());
View Full Code Here

Examples of org.eclipse.swt.widgets.Button.notifyListeners()

        if (container instanceof Dialog) {
          Dialog d = (Dialog) container;
          Button button = findButton(d.buttonBar,
              IDialogConstants.NEXT_ID);
          if (button != null)
            button.notifyListeners(SWT.Selection, new Event());
        }
      }
    });
    viewer.addSelectionChangedListener(this);
View Full Code Here

Examples of org.eclipse.swt.widgets.Button.notifyListeners()

  public static void pushButton(Dialog dialog, int id) {
    Shell shell = dialog.getShell();
    Button button = findButton(shell.getChildren(), id, shell);
    if( !button.isEnabled() )
      throw new RuntimeException("Error button to press is not enabled"); //$NON-NLS-1$
    button.notifyListeners(SWT.Selection, new Event());
  }

  public static Button findButton(Dialog dialog, int id) {
    Shell shell = dialog.getShell();
    Button found = findButton(shell.getChildren(), id, shell);
View Full Code Here

Examples of org.eclipse.swt.widgets.Button.notifyListeners()

  public static void pushButton(Dialog dialog, int id) {
    Shell shell = dialog.getShell();
    Button button = findButton(shell.getChildren(), id, shell);
    if( !button.isEnabled() )
      throw new RuntimeException("Error button to press is not enabled"); //$NON-NLS-1$
    button.notifyListeners(SWT.Selection, new Event());
  }

  public static Button findButton(Dialog dialog, int id) {
    Shell shell = dialog.getShell();
    Button found = findButton(shell.getChildren(), id, shell);
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.