OleClientSite.this

Create an OleClientSite child widget to edit a blank document using the specified OLE Document application. Use style bits to select a particular look or set of properties.

@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)

@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 </ul>

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

Meta