Package org.nbgit

Examples of org.nbgit.GitProgressSupport.start()


                        NbBundle.getMessage(UpdateAction.class,
                        "MSG_UPDATE_DONE")); // NOI18N
                logger.output(""); // NOI18N
            }
        };
        support.start(rp, repository, org.openide.util.NbBundle.getMessage(UpdateAction.class, "MSG_Update_Progress")); // NOI18N
    }

    public static List<String> updateAll(File root, boolean doForcedUpdate, String revStr) {
        throw new UnsupportedOperationException("Not yet implemented");
    }
View Full Code Here


            public void perform() {
                performRevert(repository, revStr, files, doBackup, this.getLogger());
            }
        };
        support.start(rp, repository.getAbsolutePath(), org.openide.util.NbBundle.getMessage(UpdateAction.class, "MSG_Revert_Progress")); // NOI18N

        return;
    }

    public static void performRevert(File repository, String revStr, File file, boolean doBackup, OutputLogger logger) {
View Full Code Here

                } else if (status == INCLUDING) {
                    config.removeExclusionPaths(paths);
                }
            }
        };
        support.start(rp, "", ""); // NOI18N
    }
}
View Full Code Here

                for (RepositoryRevision.Event event : events) {
                    rollback(event, this);
                }
            }
        };
        support.start(rp, repository, NbBundle.getMessage(SummaryView.class, "MSG_Rollback_Progress")); // NOI18N

    }

    private static void rollback(RepositoryRevision.Event event, GitProgressSupport progress) {
        File file = event.getFile();
View Full Code Here

            public void perform() {
                revertImpl(master, revisions, events, this);
            }
        };
        support.start(rp, url, NbBundle.getMessage(SummaryView.class, "MSG_Revert_Progress")); // NOI18N
    }

    private static void revertImpl(SearchHistoryPanel master, RepositoryRevision[] revisions, RepositoryRevision.Event[] events, GitProgressSupport progress) {
        List<File> revertFiles = new ArrayList<File>();
        boolean doBackup = GitModuleConfig.getDefault().getBackupOnRevertModifications();
View Full Code Here

                } catch (IOException ex) {
                    notifyLater(ex);
                }
            }
        };
        supportCreate.start(rp, root.getAbsolutePath(),
                org.openide.util.NbBundle.getMessage(InitAction.class, "MSG_Create_Progress")); // NOI18N

        GitProgressSupport supportAdd = new GitProgressSupport() {

            public void perform() {
View Full Code Here

                    logger.output(""); // NOI18N
                }
            }
        };

        supportAdd.start(rp, root.getAbsolutePath(),
                org.openide.util.NbBundle.getMessage(InitAction.class, "MSG_Create_Add_Progress")); // NOI18N

        GitProgressSupport supportStatus = new StatusTask(context) {

            @Override
View Full Code Here

                git.refreshAllAnnotations();
            }

        };

        supportStatus.start(rp, root.getAbsolutePath(),
                NbBundle.getMessage(InitAction.class, "MSG_Create_Status_Progress")); // NOI18N

    }

    private List<File> getFileList(Repository repo, File rootFile) throws IOException {
View Full Code Here

            }
        };

        //support.setRepositoryRoot(source);

        return support.start(rp, source.toString(), org.openide.util.NbBundle.getMessage(CloneAction.class, "LBL_Clone_Progress", source)); // NO
    }


    public static void doInit(Repository repo, URIish uri, OutputLogger logger) throws IOException, URISyntaxException {
        repo.create();
View Full Code Here

            }

        };

        /* TODO: Use MessageFormat */
        support.start(rp, root.getAbsolutePath(),
            NbBundle.getMessage(CustomAction.class, "CustomActionProgress") + " " + path.getName()); // NOI18N
    }

    private static void execute(List<String> command, File dir, OutputLogger logger) {
        BufferedReader input = null;
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.