Examples of ShowViewDialogViewerFilter


Examples of org.eclipse.ecf.internal.presence.collab.ui.view.ShowViewDialogViewerFilter

        if (page == null)
          return;
        final ElementTreeSelectionDialog dlg = new ElementTreeSelectionDialog(null, new ShowViewDialogLabelProvider(), new ShowViewDialogTreeContentProvider());
        dlg.setTitle(Messages.ViewShare_VIEWSHARE_VIEW_REQUEST_DIALOG_TITLE);
        dlg.setMessage(Messages.ViewShare_VIEWSHARE_VIEW_REQUEST_DIALOG_MESSAGE);
        dlg.addFilter(new ShowViewDialogViewerFilter());
        dlg.setComparator(new ViewerComparator());
        dlg.setValidator(new ISelectionStatusValidator() {
          public IStatus validate(Object[] selection) {
            for (int i = 0; i < selection.length; ++i)
              if (!(selection[i] instanceof IViewDescriptor))
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.