Examples of MdiEntry


Examples of com.aelitis.azureus.ui.mdi.MdiEntry

      });
    }

    MultipleDocumentInterfaceSWT mdi = UIFunctionsManagerSWT.getUIFunctionsSWT().getMDISWT();
    if (mdi != null) {
      MdiEntry entry = mdi.getEntryFromSkinObject(skinObject);
      if (entry != null) {
        entry.addToolbarEnabler(SBC_LibraryView.this);
      }
    }

    SkinViewManager.addListener(ToolBarView.class,
        new SkinViewManager.SkinViewManagerListener() {
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

    if (DEBUG) {
      System.out.println("URL is now " + url + " via " + Debug.getCompressedStackTrace());
    }

    MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
    MdiEntry currentEntry = mdi.getCurrentEntry();

    if (browserSkinObject != null && (forceSet || entry == currentEntry)) {
      browserSkinObject.setURL(url);
    }
  }
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

  public Object skinObjectShown(SWTSkinObject skinObject, Object params) {
    super.skinObjectShown(skinObject, params);

    MultipleDocumentInterfaceSWT mdi = UIFunctionsManagerSWT.getUIFunctionsSWT().getMDISWT();
    if (mdi != null) {
      MdiEntry entry = mdi.getEntryFromSkinObject(skinObject);
      if (entry != null) {
        entry.addToolbarEnabler(this);
      }
    }
   
    if (view instanceof IViewExtension) {
      ((IViewExtension) view).viewActivated();
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

 
  // @see com.aelitis.azureus.ui.swt.views.skin.SkinView#skinObjectHidden(com.aelitis.azureus.ui.swt.skin.SWTSkinObject, java.lang.Object)
  public Object skinObjectHidden(SWTSkinObject skinObject, Object params) {
    MultipleDocumentInterfaceSWT mdi = UIFunctionsManagerSWT.getUIFunctionsSWT().getMDISWT();
    if (mdi != null) {
      MdiEntry entry = mdi.getEntryFromSkinObject(skinObject);
      if (entry != null) {
        entry.removeToolbarEnabler( this );
      }
    }

    if (view instanceof IViewExtension) {
      ((IViewExtension) view).viewDeactivated();
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

      // Some/All OSes will auto-set treeitem's expanded flag to false if there
      // is no children.  To workaround, we store expanded state internally and
      // set parent to expanded when a child is added
      TreeItem parentItem = treeItem.getParentItem();
      if (parentItem != null) {
        MdiEntry parentEntry = (MdiEntry) parentItem.getData("MdiEntry");
        if (parentEntry.isExpanded()) {
          parentItem.setExpanded(true);
        }
      }

      setExpanded(isExpanded());
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

      TreeItem[] children = swtItem.getItems();
      for (TreeItem child : children) {
        if (child.isDisposed()) {
          continue;
        }
        MdiEntry entry = (MdiEntry) child.getData("MdiEntry");
        if (entry != null) {
          entry.close(true);
        }
      }
    }
   
    final Tree tree = sidebar.getTree();
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

  }

  public boolean swt_isVisible() {
    TreeItem parentItem = swtItem.getParentItem();
    if (parentItem != null) {
      MdiEntry parentEntry = (MdiEntry) parentItem.getData("MdiEntry");
      if (!parentEntry.isExpanded()) {
        return false;
      }
    }
    return true; // todo: bounds check
  }
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

    }

    UIFunctions uif = UIFunctionsManager.getUIFunctions();
    MultipleDocumentInterface mdi = uif.getMDI();
    if (mdi != null) {
      MdiEntry entry = mdi.getEntry(MultipleDocumentInterface.SIDEBAR_SECTION_PLUS);
      if (entry != null) {
        entry.setTitleID(hasFullLicence ? "mdi.entry.plus.full"
            : "mdi.entry.plus.free");
        SBC_PlusFTUX view = (SBC_PlusFTUX) SkinViewManager.getByClass(SBC_PlusFTUX.class);
        if (view != null) {
          view.updateLicenceInfo();
        }
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

          new PluginInstallationListener() {
            public void completed() {
              close();

              MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
              MdiEntry entry = mdi.getEntry(SideBar.SIDEBAR_HEADER_DEVICES);
              MdiEntryVitalityImage[] vitalityImages = entry.getVitalityImages();
              for (MdiEntryVitalityImage vi : vitalityImages) {
                if (vi.getImageID().contains("turnon")) {
                  vi.setVisible(false);
                }
              }
View Full Code Here

Examples of com.aelitis.azureus.ui.mdi.MdiEntry

      COConfigurationManager.setParameter(ID + ".viewmode", viewMode);
    }

   
    MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
    MdiEntry entry = mdi.getEntry(SideBar.SIDEBAR_SECTION_ACTIVITIES);
    if (entry != null) {
      entry.setLogID(SideBar.SIDEBAR_SECTION_ACTIVITIES + "-" + viewMode);
    }
  }
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.