Package jetbrains.communicator.util

Examples of jetbrains.communicator.util.TreeState


  void updateTree(final GroupEvent updated) {

    UIUtil.invokeLater(new Runnable() {
      public void run() {
        TreeState state = new TreeState(myTree);
        if (updated instanceof GroupEvent.Updated) {
          GroupEvent.Updated evt = ((GroupEvent.Updated) updated);
          state.addReplacement(evt.getOldGroup(), evt.getNewGroup());
        }

        setRoot(new RootNode(myUserModel, myLocalMessageDispatcher));
        state.restore(myTree);
      }
    });
  }
View Full Code Here

TOP

Related Classes of jetbrains.communicator.util.TreeState

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.