Examples of FileLabelProvider


Examples of de.innovationgate.eclipse.utils.ui.FileLabelProvider

 
 
  private void handleBrowseInitScript() {
    ListDialog dialog = new ListDialog(getManagedForm().getForm().getShell());
    dialog.setContentProvider(new FileStructuredContentProvider(".tmlscript"));
    dialog.setLabelProvider(new FileLabelProvider());
    dialog.setInput(_model.getTMLScriptDirectory());
    dialog.setTitle("Please select an initialisation script");
   
    int result = dialog.open();
    if (result == ListDialog.OK) {
View Full Code Here

Examples of de.innovationgate.eclipse.utils.ui.FileLabelProvider

  }

  private void handleBrowseConnectionScript() {
    ListDialog dialog = new ListDialog(getManagedForm().getForm().getShell());
    dialog.setContentProvider(new FileStructuredContentProvider(".tmlscript"));
    dialog.setLabelProvider(new FileLabelProvider());
    dialog.setInput(_model.getTMLScriptDirectory());
    dialog.setTitle("Please select an connection script");
   
    int result = dialog.open();
    if (result == ListDialog.OK) {
View Full Code Here

Examples of de.innovationgate.eclipse.utils.ui.FileLabelProvider

  }
 
  private void handleBrowseDisconnectionScript() {
    ListDialog dialog = new ListDialog(getManagedForm().getForm().getShell());
    dialog.setContentProvider(new FileStructuredContentProvider(".tmlscript"));
    dialog.setLabelProvider(new FileLabelProvider());
    dialog.setInput(_model.getTMLScriptDirectory());
    dialog.setTitle("Please select a disconnection script");
   
    int result = dialog.open();
    if (result == ListDialog.OK) {
View Full Code Here

Examples of edu.ncsu.muclipse.FileLabelProvider

       
        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);
View Full Code Here

Examples of edu.ncsu.muclipse.FileLabelProvider

   
    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);
View Full Code Here

Examples of edu.ncsu.muclipse.FileLabelProvider

        private String chooseFiles() {
            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);
View Full Code Here

Examples of edu.ncsu.muclipse.FileLabelProvider

       
        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);
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.