Examples of UISWTViewImpl


Examples of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl

        String[] sNames = (String[]) pluginViews.keySet().toArray(new String[0]);
        for (int i = 0; i < sNames.length; i++) {
          UISWTViewEventListener l = (UISWTViewEventListener) pluginViews.get(sNames[i]);
          if (l != null) {
            try {
              UISWTViewImpl view = new UISWTViewImpl(
                  UISWTInstance.VIEW_MYTORRENTS, sNames[i], l);
              addSection(view);
            } catch (Exception e) {
              // skip
            }
          }
        }
      }
    }
   

    // Initialize view when user selects it
    folder.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        folder.getShell().setCursor(e.display.getSystemCursor(SWT.CURSOR_WAIT));
        try {
          // Send one last refresh to previous tab, just in case it
          // wants to do something when view goes invisible
          refresh();
 
          CTabItem item = (CTabItem)e.item;
          if (item != null) {
            IView view = (IView)item.getData("IView");
            activeView = view;
            
            if (item.getControl() == null) {
              view.initialize(folder);
              item.setControl(view.getComposite());
            }
           
            item.getControl().setFocus();

            UIFunctionsSWT uiFunctions = UIFunctionsManagerSWT.getUIFunctionsSWT();
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl

    */
    if (iview != null) {
      return;
    }
    try {
      IView iview = new UISWTViewImpl(parentID, id, eventListenerDelegate,
          datasource);
      setIView(iview);

      IViewInfo foundViewInfo = PluginsMenuHelper.getInstance().findIViewInfo(
          eventListener);

      String title;
      if (foundViewInfo != null) {
        title = foundViewInfo.name;
      } else {
        title = iview.getFullTitle();
      }
      ((UISWTViewImpl) iview).setTitle(title);
      setTitle(title);
    } catch (Exception e) {
      Debug.out(e);
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl

      String[] sNames = pluginViews.keySet().toArray(new String[0]);
      for (int i = 0; i < sNames.length; i++) {
        UISWTViewEventListener l = pluginViews.get(sNames[i]);
        if (l != null) {
          try {
            UISWTViewImpl view = new UISWTViewImpl(sTableID, sNames[i], l);
            addTabView(view);
          } catch (Exception e) {
            // skip, plugin probably specifically asked to not be added
          }
        }
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTViewImpl

        String[] sNames = (String[]) pluginViews.keySet().toArray(new String[0]);
        for (int i = 0; i < sNames.length; i++) {
          UISWTViewEventListener l = (UISWTViewEventListener) pluginViews.get(sNames[i]);
          if (l != null) {
            try {
              UISWTViewImpl view = new UISWTViewImpl(UISWTInstance.VIEW_TOPBAR,
                  sNames[i], l);
              addTopBarView(view, cPluginArea);
              if (toActiveView-- == 0) {
                activateTopBar(view);
                if (listPlugins != null) {
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.