|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.swt.widgets.Widget
org.eclipse.swt.widgets.Control
org.eclipse.swt.widgets.Scrollable
org.eclipse.swt.widgets.Composite
ag.ion.noa4e.ui.widgets.OfficePanel
public class OfficePanel
The office panel can be used in order to integrate the OpenOffice.org User Interface into the SWT environment.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.swt.widgets.Control |
|---|
view |
| Constructor Summary | |
|---|---|
OfficePanel(org.eclipse.swt.widgets.Composite parent,
int style)
Constructs new OfficePanel. |
|
| Method Summary | |
|---|---|
protected void |
buildProgressIndicator(org.eclipse.swt.widgets.Composite parent)
Builds progress indicator. |
void |
dispose()
Disposes the office panel. |
protected void |
documentLoadingOperationDone()
Is called after a document loading operation was done. |
IDocument |
getDocument()
Returns current document. |
IFrame |
getFrame()
Returns current office frame. |
org.eclipse.core.runtime.IStatus |
getLastLoadingStatus()
Returns status of the last document loading. |
protected IOfficeApplication |
getOfficeApplication()
Returns office application. |
protected org.eclipse.core.runtime.IProgressMonitor |
getProgressMonitor()
Returns progress monitor. |
protected void |
hideProgressIndicator()
Hides the progress indicator. |
void |
loadDocument(boolean fork,
java.lang.String documentPath,
IDocumentDescriptor documentDescriptor)
Loads document into the office panel. |
void |
setBuildAlwaysNewFrames(boolean buildAlwaysNewFrames)
Sets information whether a new frame should be builded for new loaded documents. |
boolean |
setFocus()
Sets focus to the office panel. |
void |
setLayout(org.eclipse.swt.widgets.Layout layout)
Sets the layout which is associated with the receiver to be the argument which may be null. |
protected void |
showProgressIndicator()
Shows progress indicator. |
void |
showProgressIndicator(boolean showProgressIndicator)
Sets information whether a progress indicator should be shown during document loading. |
protected org.eclipse.core.runtime.IStatus |
startOfficeApplication(IOfficeApplication officeApplication)
Starts office application. |
| Methods inherited from class org.eclipse.swt.widgets.Composite |
|---|
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setLayoutDeferred, setTabList |
| Methods inherited from class org.eclipse.swt.widgets.Scrollable |
|---|
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar |
| Methods inherited from class org.eclipse.swt.widgets.Control |
|---|
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update |
| Methods inherited from class org.eclipse.swt.widgets.Widget |
|---|
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OfficePanel(org.eclipse.swt.widgets.Composite parent,
int style)
parent - parent to be usedstyle - style to be used| Method Detail |
|---|
public IFrame getFrame()
public IDocument getDocument()
public boolean setFocus()
setFocus in class org.eclipse.swt.widgets.Compositepublic void setBuildAlwaysNewFrames(boolean buildAlwaysNewFrames)
false.
buildAlwaysNewFrames - information whether a new frame should be builded for new loaded documentspublic void showProgressIndicator(boolean showProgressIndicator)
true.
showProgressIndicator - information whether a progress indicator should be shown during document loading
public final void loadDocument(boolean fork,
java.lang.String documentPath,
IDocumentDescriptor documentDescriptor)
fork - information whether the loading should be done in an own threaddocumentPath - path of the document to be loadeddocumentDescriptor - document descriptor to be usedpublic void dispose()
dispose in class org.eclipse.swt.widgets.Widgetpublic org.eclipse.core.runtime.IStatus getLastLoadingStatus()
public void setLayout(org.eclipse.swt.widgets.Layout layout)
setLayout in class org.eclipse.swt.widgets.Compositelayout - the receiver's new layout or null
org.eclipse.swt.SWTException - protected void documentLoadingOperationDone()
protected org.eclipse.core.runtime.IProgressMonitor getProgressMonitor()
protected IOfficeApplication getOfficeApplication()
protected org.eclipse.core.runtime.IStatus startOfficeApplication(IOfficeApplication officeApplication)
officeApplication - office application to be started
protected void buildProgressIndicator(org.eclipse.swt.widgets.Composite parent)
parent - parent to be usedprotected void showProgressIndicator()
protected void hideProgressIndicator()
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||