OleClientSite.this

Create an OleClientSite child widget to edit the specified file using the specified OLE Document application. Use style bits to select a particular look or set of properties. <p> <b>IMPORTANT:</b> This method is <em>not</em> part of the public API for <code>OleClientSite</code>. It is marked public only so that it can be shared within the packages provided by SWT. It is not available on all platforms, and should never be called from application code. </p> @param parent a composite widget; must be an OleFrame @param style the bitwise OR'ing of widget styles @param progId the unique program identifier of am OLE Document application; the value of the ProgID key or the value of the VersionIndependentProgID key specified in the registry for the desired OLE Document (for example, the VersionIndependentProgID for Word is Word.Document) @param file the file that is to be opened in this OLE Document

@exception IllegalArgumentException <ul><li>ERROR_NULL_ARGUMENT when the parent is null <li>ERROR_INVALID_ARGUMENT when the parent is not an OleFrame</ul> @exception SWTException <ul><li>ERROR_THREAD_INVALID_ACCESS when called from the wrong thread <li>ERROR_INVALID_CLASSID when the progId does not map to a registered CLSID <li>ERROR_CANNOT_CREATE_OBJECT when failed to create OLE Object <li>ERROR_CANNOT_OPEN_FILE when failed to open file </ul>

  1. this(Composite parent, int style, File file)
  2. this(Composite parent, int style, String progId)
  3. this(Composite parent, int style, String progId, File file)
    class OleClientSite
    this
    (
    ,
    int style
    ,
    String progId
    ,
    File file
    )

Meta