Package com.sun.star.frame

Examples of com.sun.star.frame.XFrame.initialize()


            xFrame = (XFrame)UnoRuntime.queryInterface(XFrame.class,xMSF.createInstance("com.sun.star.frame.Frame"));
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        xFrame.initialize(xWindow);
       
        //from now this frame is useable ...
        //and not part of the desktop tree.
        //You are alone with him .-)
       
View Full Code Here


            XInterface oFrame = (XInterface) xMSF.createInstance("com.sun.star.frame.Frame");
           
            XFrame xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
           
            xFrame.setName("ObjectInspector");
            xFrame.initialize(xWindow);
           
            XFramesSupplier xFramesSup = (XFramesSupplier) UnoRuntime.queryInterface(XFramesSupplier.class, StarDesktop);
           
            XFrames xFrames = xFramesSup.getFrames();
            xFrames.append(xFrame);
View Full Code Here

            XInterface oFrame = (XInterface) xMSF.createInstance("com.sun.star.frame.Frame");
           
            XFrame xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
           
            xFrame.setName("ObjectInspector");
            xFrame.initialize(xWindow);
           
            XFramesSupplier xFramesSup = (XFramesSupplier) UnoRuntime.queryInterface(XFramesSupplier.class, StarDesktop);
           
            XFrames xFrames = xFramesSup.getFrames();
            xFrames.append(xFrame);
View Full Code Here

        catch (Exception e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        xFrame.initialize(xWindow);

        //from now this frame is useable ...
        //and not part of the desktop tree.
        //You are alone with him .-)
View Full Code Here

            XInterface oFrame = (XInterface) xMSF.createInstance("com.sun.star.frame.Frame");
           
            XFrame xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
           
            xFrame.setName("ObjectInspector");
            xFrame.initialize(xWindow);
           
            XFramesSupplier xFramesSup = (XFramesSupplier) UnoRuntime.queryInterface(XFramesSupplier.class, StarDesktop);
           
            XFrames xFrames = xFramesSup.getFrames();
            xFrames.append(xFrame);
View Full Code Here

        catch (Exception e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        xFrame.initialize(xWindow);

        //from now this frame is useable ...
        //and not part of the desktop tree.
        //You are alone with him .-)
View Full Code Here

        if(LOGGER.isLoggable(Level.FINEST))
          LOGGER.finest("Creating UNO XFrame interface.");
        XFrame xFrame = (XFrame) UnoRuntime
            .queryInterface(XFrame.class, object);
        xFrame.getContainerWindow();
        xFrame.initialize(xWindow);
        xFrame.setName(xFrame.toString());
        if(LOGGER.isLoggable(Level.FINEST))
          LOGGER.finest("Creating desktop service.");
        Object desktop = getXMultiServiceFactory().createInstance(
            "com.sun.star.frame.Desktop"); //$NON-NLS-1$
View Full Code Here

        if (LOGGER.isLoggable(Level.FINEST))
          LOGGER.finest("Creating UNO XFrame interface.");
        XFrame xFrame = (XFrame) UnoRuntime.queryInterface(
            XFrame.class, object);
        xFrame.getContainerWindow();
        xFrame.initialize(xWindow);
        xFrame.setName(xFrame.toString());
        if (LOGGER.isLoggable(Level.FINEST))
          LOGGER.finest("Creating desktop service.");
        Object desktop = getXMultiServiceFactory().createInstance(
            "com.sun.star.frame.Desktop"); //$NON-NLS-1$
View Full Code Here

        catch (Exception e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        xFrame.initialize(xWindow);

        //from now this frame is useable ...
        //and not part of the desktop tree.
        //You are alone with him .-)
View Full Code Here

            xFrame = (XFrame)UnoRuntime.queryInterface(XFrame.class,xMSF.createInstance("com.sun.star.frame.Frame"));
        } catch (Exception e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        xFrame.initialize(xWindow);
       
        //from now this frame is useable ...
        //and not part of the desktop tree.
        //You are alone with him .-)
       
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.