Package com.aelitis.azureus.core.cnetwork

Examples of com.aelitis.azureus.core.cnetwork.ContentNetwork


      final int h, final boolean allowResize, final boolean isModal) {

    mainWindow.shell.getDisplay().syncExec(new AERunnable() {
      public void runSupport() {
        String realURL = url;
        ContentNetwork cn = ContentNetworkUtils.getContentNetworkFromTarget(target);
        if ( !realURL.startsWith( "http" )
          && !realURL.startsWith("#")) {
          if ("_blank".equals(target)) {
            realURL = cn.getExternalSiteRelativeURL(realURL, false );
          } else {
            realURL = cn.getSiteRelativeURL(realURL, false );
          }
        }
        if (target == null) {
          if (UrlFilter.getInstance().urlCanRPC(realURL)) {
            realURL = cn.appendURLSuffix(realURL, false, true);
          }
          BrowserWindow window = new BrowserWindow(mainWindow.shell, realURL,
              w, h, allowResize, isModal);
          window.waitUntilClosed();
        } else {
View Full Code Here


      final double h, final boolean allowResize, final boolean isModal) {

    mainWindow.shell.getDisplay().syncExec(new AERunnable() {
      public void runSupport() {
        String realURL = url;
        ContentNetwork cn = ContentNetworkUtils.getContentNetworkFromTarget(target);
        if ( !realURL.startsWith( "http" )){
          if ("_blank".equals(target)) {
            realURL = cn.getExternalSiteRelativeURL(realURL, false );
          } else {
            realURL = cn.getSiteRelativeURL(realURL, false );
          }
        }
        if (target == null) {
          if (UrlFilter.getInstance().urlCanRPC(realURL)) {
            realURL = cn.appendURLSuffix(realURL, false, true);
          }
          BrowserWindow window = new BrowserWindow(mainWindow.shell, realURL,
              w, h, allowResize, isModal);
          window.waitUntilClosed();
        } else {
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.core.cnetwork.ContentNetwork

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.