Package com.sun.star.lang

Examples of com.sun.star.lang.XMain


    Object object = compContext.getObject();

    if(compContext._uno_url != null) // see, if we have to export the object
      export(compContext._xMultiServiceFactory, compContext._uno_url, object, compContext._singleAccept);
    else {
      XMain xMain = (XMain)UnoRuntime.queryInterface(XMain.class, object);

      if(xMain != null)
        xMain.run(new String[0]);

      System.out.println("result: " + object);
    }
  }
View Full Code Here


    Object object = compContext.getObject();

    if(compContext._uno_url != null) // see, if we have to export the object
      export(compContext._xMultiServiceFactory, compContext._uno_url, object, compContext._singleAccept);
    else {
      XMain xMain = (XMain)UnoRuntime.queryInterface(XMain.class, object);

      if(xMain != null)
        xMain.run(new String[0]);

      System.out.println("result: " + object);
    }
  }
View Full Code Here

    Object object = compContext.getObject();

    if(compContext._uno_url != null) // see, if we have to export the object
      export(compContext._xMultiServiceFactory, compContext._uno_url, object, compContext._singleAccept);
    else {
      XMain xMain = (XMain)UnoRuntime.queryInterface(XMain.class, object);

      if(xMain != null)
        xMain.run(new String[0]);

      System.out.println("result: " + object);
    }
  }
View Full Code Here

    Object object = compContext.getObject();

    if(compContext._uno_url != null) // see, if we have to export the object
      export(compContext._xMultiServiceFactory, compContext._uno_url, object, compContext._singleAccept);
    else {
      XMain xMain = (XMain)UnoRuntime.queryInterface(XMain.class, object);

      if(xMain != null)
        xMain.run(new String[0]);

      System.out.println("result: " + object);
    }
  }
View Full Code Here

TOP

Related Classes of com.sun.star.lang.XMain

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.