|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.productivity.tools.ui.RichDocumentViewFactory
Provides a method to launch a Lotus® Symphony view and access the view instance.
The following example uses the RichDocumentViewFactory:
The
String fileName = "c:\\temp.odt";
RichDocumentViewFactory.openView(fileName, false );
RichDocumentView
gained by RichDocumentViewFactory
doesn't support
NewOperation
,LoadOperation
and CloseOperation
.
Constructor Summary | |
---|---|
RichDocumentViewFactory()
|
Method Summary | |
---|---|
static void |
closeView(RichDocumentView view)
Closes the specified view. |
static RichDocumentView[] |
getViews()
Return a list of opened views. |
static RichDocumentView |
openView(RichDocumentType type)
Opens an instance of the Lotus Symphony view as an Eclipse view. |
static RichDocumentView |
openView(java.lang.String fileName,
boolean asTemplate)
Opens an instance of the Lotus Symphony view as an Eclipse view with given file name. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RichDocumentViewFactory()
Method Detail |
public static RichDocumentView openView(RichDocumentType type)
type
- specifies the document type to be opened
RichDocumentView
.RichDocumentType
public static RichDocumentView openView(java.lang.String fileName, boolean asTemplate)
fileName
- specifies the file name on a local diskasTemplate
- specifies whether the file is opened directly or used
as a template to create a new view. Specify false to open the file directly.
RichDocumentView
.RichDocumentType
public static RichDocumentView[] getViews()
public static void closeView(RichDocumentView view)
view
- specifies the target RichDocumentView
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |