Examples of XView


Examples of com.sun.star.awt.XView

    /**
    * Test calls the method.<p>
    * Has <b> OK </b> status if the method returns not null. <p>
    */
    public void _getView() {
        XView the_view = oObj.getView();
        tRes.tested("getView()", the_view != null);
    }
View Full Code Here

Examples of com.sun.star.awt.XView

    /**
    * Test calls the method.<p>
    * Has <b> OK </b> status if the method returns not null. <p>
    */
    public void _getView() {
        XView the_view = oObj.getView();
        tRes.tested("getView()", the_view != null);
    }
View Full Code Here

Examples of com.sun.star.awt.XView

            // set the window attributes...
            // The attribute CLIPCHILDREN causes the parent to not repaint the areas of the children...
            aWindowDescriptor.WindowAttributes = VclWindowPeerAttribute.CLIPCHILDREN + WindowAttribute.BORDER + WindowAttribute.SHOW;
            XWindowPeer xWindowPeer = xToolkit.createWindow(aWindowDescriptor);
            XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xWindowPeer);
            XView xView = (XView) UnoRuntime.queryInterface(XView.class, xWindow);
           
            // create a frame and initialize it with the created window...
            Object oFrame = m_xMCF.createInstanceWithContext("com.sun.star.frame.Frame", m_xContext);
            // The frame should be of global scope because it's within the responsibility to dispose it after usage
            m_xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
View Full Code Here

Examples of com.sun.star.awt.XView

    /**
    * Test calls the method.<p>
    * Has <b> OK </b> status if the method returns not null. <p>
    */
    public void _getView() {
        XView the_view = oObj.getView();
        tRes.tested("getView()", the_view != null);
    }
View Full Code Here

Examples of com.sun.star.awt.XView

            // set the window attributes...
            // The attribute CLIPCHILDREN causes the parent to not repaint the areas of the children...
            aWindowDescriptor.WindowAttributes = VclWindowPeerAttribute.CLIPCHILDREN + WindowAttribute.BORDER + WindowAttribute.SHOW;
            XWindowPeer xWindowPeer = xToolkit.createWindow(aWindowDescriptor);
            XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xWindowPeer);
            XView xView = (XView) UnoRuntime.queryInterface(XView.class, xWindow);
           
            // create a frame and initialize it with the created window...
            Object oFrame = m_xMCF.createInstanceWithContext("com.sun.star.frame.Frame", m_xContext);
            // The frame should be of global scope because it's within the responsibility to dispose it after usage
            m_xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
View Full Code Here

Examples of com.sun.star.awt.XView

            // set the window attributes...
            // The attribute CLIPCHILDREN causes the parent to not repaint the areas of the children...
            aWindowDescriptor.WindowAttributes = VclWindowPeerAttribute.CLIPCHILDREN + WindowAttribute.BORDER + WindowAttribute.SHOW;
            XWindowPeer xWindowPeer = xToolkit.createWindow(aWindowDescriptor);
            XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xWindowPeer);
            XView xView = (XView) UnoRuntime.queryInterface(XView.class, xWindow);
           
            // create a frame and initialize it with the created window...
            Object oFrame = m_xMCF.createInstanceWithContext("com.sun.star.frame.Frame", m_xContext);
            // The frame should be of global scope because it's within the responsibility to dispose it after usage
            m_xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
View Full Code Here

Examples of com.sun.star.awt.XView

            // set the window attributes...
            // The attribute CLIPCHILDREN causes the parent to not repaint the areas of the children...
            aWindowDescriptor.WindowAttributes = VclWindowPeerAttribute.CLIPCHILDREN + WindowAttribute.BORDER + WindowAttribute.SHOW;
            XWindowPeer xWindowPeer = xToolkit.createWindow(aWindowDescriptor);
            XWindow xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class, xWindowPeer);
            XView xView = (XView) UnoRuntime.queryInterface(XView.class, xWindow);
           
            // create a frame and initialize it with the created window...
            Object oFrame = m_xMCF.createInstanceWithContext("com.sun.star.frame.Frame", m_xContext);
            // The frame should be of global scope because it's within the responsibility to dispose it after usage
            m_xFrame = (XFrame) UnoRuntime.queryInterface(XFrame.class, oFrame);
View Full Code Here

Examples of com.sun.star.awt.XView

    /**
    * Test calls the method.<p>
    * Has <b> OK </b> status if the method returns not null. <p>
    */
    public void _getView() {
        XView the_view = oObj.getView();
        tRes.tested("getView()", the_view != null);
    }
View Full Code Here

Examples of com.sun.star.awt.XView

    /**
    * Test calls the method.<p>
    * Has <b> OK </b> status if the method returns not null. <p>
    */
    public void _getView() {
        XView the_view = oObj.getView();
        tRes.tested("getView()", the_view != null);
    }
View Full Code Here

Examples of com.tensegrity.palo.gwt.core.client.models.cubeviews.XView

    WPaloCubeViewConverter converter = new WPaloCubeViewConverter(
        getLoggedInUser(sessionId));
    List<XFolderElement> xFolderElements = new ArrayList<XFolderElement>();
//    ExplorerTreeNode parentFolder = getFolder(xParentFolder);
    for (XView xView : views) {
      XView importedXView = importViewWith(sessionId, converter, xView);
      if (xParentFolder != null) {
        FolderElement folderElement = createFolderElement(sessionId, importedXView,
          xParentFolder, true, isPublic, isEditable);
        xFolderElements.add(createXFolderElement(folderElement,
          importedXView));
        List <String> roleIds = new ArrayList<String>();
        List <String> roleNames = new ArrayList<String>();
        IRoleManagement rm = MapperRegistry.getInstance().getRoleManagement();
        if (isPublic) {
          try {
            Role r = (Role) rm.findByName("VIEWER");
            roleIds.add(r.getId());
            roleNames.add(r.getName());
          } catch (Throwable t) {
          }
        }
        if (isEditable) {
          try {
            Role r = (Role) rm.findByName("EDITOR");
            roleIds.add(r.getId());
            roleNames.add(r.getName());
          } catch (Throwable t) {
          }
        }
        importedXView.setRoleIds(roleIds);
        importedXView.setRoleNames(roleNames);       
      }
    }
    return xFolderElements.toArray(new XFolderElement[0]);
  }
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.