Package entagged.tageditor.tools.renaming.model

Examples of entagged.tageditor.tools.renaming.model.DefaultTreeModel


   */
  protected JTree getSourceTree() {
    if (sourceTree == null) {
      DirectoryDescriptor[] results = fileRenamer.getResult()
          .getFileSystemRoots();
      DefaultTreeModel model = new DefaultTreeModel(results,
          new DefaultFilter(true), LangageManager
              .getProperty("tagrename.sourcetree"));
      this.sourceTree = new JTree(model);
      this.sourceTree.getSelectionModel().setSelectionMode(
          TreeSelectionModel.SINGLE_TREE_SELECTION);
View Full Code Here


   */
  protected JTree getTargetTree() {
    if (targetTree == null) {
      DirectoryDescriptor[] results = fileRenamer.getResult()
          .getFileSystemRoots();
      DefaultTreeModel model = new DefaultTreeModel(results,
          new TargetTreeFilter(fileRenamer.getConfig()),
          LangageManager.getProperty("tagrename.targettree"));
      this.targetTree = new JTree(model);
      this.targetTree.getSelectionModel().setSelectionMode(
          TreeSelectionModel.SINGLE_TREE_SELECTION);
View Full Code Here

   * conjunction with
   * {@link entagged.tageditor.tools.renaming.model.TargetTreeFilter}.<br>
   * This is what the user has seen and confirmed.
   */
  private void renameFiles() {
    DefaultTreeModel treemodel = new DefaultTreeModel(processingResult
        .getFileSystemRoots(), new TargetTreeFilter(getConfig()),
        "arbitrary");
    Object currentParent = treemodel.getRoot();
    /*
     * Create gui
     */
    final ListingProgressDialog lpd = new ListingProgressDialog(parentFrame);
    lpd.setModal(true);
View Full Code Here

TOP

Related Classes of entagged.tageditor.tools.renaming.model.DefaultTreeModel

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.