Package org.eclipse.jst.jsf.common.ui.internal.dialogs

Examples of org.eclipse.jst.jsf.common.ui.internal.dialogs.CommonResourceDialog


  protected Object openDialogBox(Control cellEditorWindow) {
    Shell shell = cellEditorWindow.getShell();
    int style = "".equals(_separator) ? SWT.NONE : SWT.MULTI | SWT.H_SCROLL //$NON-NLS-1$
        | SWT.V_SCROLL;
    CommonResourceDialog dialog = new CommonResourceDialog(shell, _project,
        style);
    dialog.setTitle(ResourceBoundle.getString("FileCellEditor.Title")); //$NON-NLS-1$
    dialog.setSuffixs(_suffixs);
    dialog.setResourceDescription(_resourceDescription);
    if (dialog.open() == Window.OK) {
      Object[] result = dialog.getResult();
      StringBuffer buffer = new StringBuffer();
      for (int i = 0; i < result.length; i++) {
        IPath path = ((IFile) result[i]).getLocation();

        IPath referredPath = null;
View Full Code Here

TOP

Related Classes of org.eclipse.jst.jsf.common.ui.internal.dialogs.CommonResourceDialog

Copyright © 2018 www.massapicom. 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.