Package tv.porst.swfretools.dissector.gui.main.models

Examples of tv.porst.swfretools.dissector.gui.main.models.LoadedFile


    if (node == null) {
      throw new IllegalArgumentException("Node argument must not be null.");
    }

    final LoadedFile loadedFile = FlashTreeHelpers.getLoadedFile(node);

    if (node instanceof FlashFileNode) {
      final FlashFileNodeMenu menu = new FlashFileNodeMenu(SwingUtilities.getWindowAncestor(tree), loadedFile);

      menu.show(tree, x, y);
View Full Code Here


   * @param file The file to open.
   */
  public static void openFile(final FlashTree tree, final FileModel model, final File file) {

    try {
      final LoadedFile loadedFile = model.openFile(file);

      // After loading the file, the new node in the tree should
      // be selected. This is not done in the event handler because
      // in the future there will be other ways to load files and
      // those should not display the node selection behavior.
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.dissector.gui.main.models.LoadedFile

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.