Package edu.ncsu.muclipse

Examples of edu.ncsu.muclipse.FileTreeContentProvider


        private String chooseFolder() {
            IProject project = MuClipsePlugin.getProject(txtProject.getText().trim());
            final ElementTreeSelectionDialog dialog =
                    new ElementTreeSelectionDialog(getShell(),
                            new FileLabelProvider(),
                            new FileTreeContentProvider(true));
            dialog.setAllowMultiple(false);
            dialog.setTitle("MuClipse");
            dialog.setMessage("Select a folder");
            dialog.setInput(project);
            dialog.setValidator(new TypedElementSelectionValidator(
View Full Code Here


    private String chooseFile(boolean multiple) {
       //IProject project = MuClipsePlugin.getProject(currentProject);
        final ElementTreeSelectionDialog dialog =
                new ElementTreeSelectionDialog(getShell(),
                        new FileLabelProvider(),
                        new FileTreeContentProvider(false));
        dialog.setAllowMultiple(multiple);
        dialog.setTitle("Choose file");
        dialog.setSorter(new FileViewerSorter());
        //dialog.setInput(project);
        if(multiple) {
View Full Code Here

            IProject project = MuClipsePlugin.getProject(txtProject.getText().trim());
            IFolder input = project.getFolder(txtSelectedFolderSource.getText());
            final ElementTreeSelectionDialog dialog =
                    new ElementTreeSelectionDialog(getShell(),
                            new FileLabelProvider(),
                            new FileTreeContentProvider(false));
            dialog.setAllowMultiple(true);
            dialog.setTitle("MuClipse");
            dialog.setMessage("Select a java class");
            dialog.setInput(input);
            dialog.setValidator(new TypedElementSelectionValidator(
View Full Code Here

        private String chooseFolder() {
            IProject project = MuClipsePlugin.getProject(txtProject.getText().trim());
            final ElementTreeSelectionDialog dialog =
                    new ElementTreeSelectionDialog(getShell(),
                            new FileLabelProvider(),
                            new FileTreeContentProvider(true));
            dialog.setAllowMultiple(false);
            dialog.setTitle("MuClipse");
            dialog.setMessage("Select a folder");
            dialog.setInput(project);
            dialog.setValidator(new TypedElementSelectionValidator(
View Full Code Here

TOP

Related Classes of edu.ncsu.muclipse.FileTreeContentProvider

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.