Package com.aelitis.azureus.ui.mdi

Examples of com.aelitis.azureus.ui.mdi.MultipleDocumentInterface.closeEntry()


      public void handleEvent(Event event) {
        MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
        if (mdi != null) {
          MdiEntry currentEntry = mdi.getCurrentEntry();
          if (currentEntry != null && currentEntry.isCloseable()) {
            mdi.closeEntry(currentEntry.getId());
          }
        }
      }
    });
    menu.addMenuListener(new MenuListener() {
View Full Code Here


        int i = id.lastIndexOf('.');
        if (i > 0) {
          id = id.substring(i + 1);
        }
      }
      mdi.closeEntry(id);

    } catch (Exception e) {
      Logger.log(new LogEvent(LOGID, "closePluginView", e));
    }
View Full Code Here

    try {
      MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
      if (mdi == null) {
        return;
      }
      mdi.closeEntry(sViewID);
     
    } catch (Exception e) {
      Logger.log(new LogEvent(LOGID, "closePluginViews", e));
    }
View Full Code Here

    MdiEntry[] sideBarEntries = mdi.getEntries();
    for (int i = 0; i < sideBarEntries.length; i++) {
      MdiEntry entry = sideBarEntries[i];
      String id = entry.getId();
      if (id != null && id.startsWith("DMDetails_")) {
        mdi.closeEntry(id);
      }
    }

  }
 
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.