Examples of UISWTViewEventListener


Examples of org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener

  public void setIView(IView iview) {
    this.iview = iview;
    if (iview instanceof ViewTitleInfo) {
      setViewTitleInfo((ViewTitleInfo) iview);
    } else if (iview instanceof UISWTViewImpl) {
      UISWTViewEventListener eventListener = ((UISWTViewImpl) iview).getEventListener();
      if (eventListener instanceof ViewTitleInfo) {
        setViewTitleInfo((ViewTitleInfo) eventListener);
      }
    }
   
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener

    }
    if ((eventListener instanceof ViewTitleInfo) && viewTitleInfo == null) {
      setViewTitleInfo((ViewTitleInfo) eventListener);
    }

    UISWTViewEventListener eventListenerDelegate = _eventListener;
    /*
    UISWTViewEventListener eventListenerDelegate = new UISWTViewEventListener() {
      public boolean eventOccurred(UISWTViewEvent event) {
        switch (event.getType()) {
          case UISWTViewEvent.TYPE_CREATE:
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener

        Map<String, UISWTViewEventListenerHolder> mapSubViews = allViews.get(parentID);
        if (mapSubViews != null) {
          Object[] viewIDs = mapSubViews.keySet().toArray();
          for (int j = 0; j < viewIDs.length; j++) {
            String viewID = (String) viewIDs[j];
            UISWTViewEventListener l = (UISWTViewEventListener) mapSubViews.get(viewID);
            if (l != null) {
              // TODO: Datasource
              // TODO: Multiple open

              boolean open = COConfigurationManager.getBooleanParameter(
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener

    // Call plugin listeners
    if (pluginViews != null) {
      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) {
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener

      Map pluginViews = null;
      pluginViews = uiSWTinstance.getViewListeners(UISWTInstance.VIEW_TOPBAR);
      if (pluginViews != null) {
        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);
View Full Code Here

Examples of org.gudy.azureus2.ui.swt.plugins.UISWTViewEventListener

      public void runSupport() {
        if (mdi.showEntryByID(_id)) {
          return;
        }
        if (UISWTViewEventListener.class.isAssignableFrom(cla)) {
          UISWTViewEventListener l = null;
          try {
            Constructor<?> constructor = cla.getConstructor(new Class[] {
              data.getClass()
            });
            l = (UISWTViewEventListener) constructor.newInstance(new Object[] {
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.