|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTitleAreaDialog
ch.elexis.dialogs.DocumentSelectDialog
public class DocumentSelectDialog
Select a Document or a template Usage: DocumentSelector dsl=new DocumentSelector(shell,mandant,TYPE_xxx); if(dsl.open()==Dialog.OK){ doSomethingWith(dsl.result); }
Field Summary | |
---|---|
static int |
TYPE_CREATE_DOC_WITH_TEMPLATE
create a new document using one of the templates of the given mandator |
static int |
TYPE_LOAD_DOCUMENT
select an existing document out of the list of all documtents of the given mandator |
static int |
TYPE_LOAD_SYSTEMPLATE
open a system template of the given mandator for editing or export |
static int |
TYPE_LOAD_TEMPLATE
open a user template of the given mandator for editing or export |
Constructor Summary | |
---|---|
DocumentSelectDialog(Shell shell,
Person p,
int typ)
Create a new DocumentSelector. |
Method Summary | |
---|---|
void |
create()
|
java.lang.String |
getBetreff()
|
Brief |
getSelectedDocument()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TYPE_LOAD_DOCUMENT
public static final int TYPE_CREATE_DOC_WITH_TEMPLATE
public static final int TYPE_LOAD_TEMPLATE
public static final int TYPE_LOAD_SYSTEMPLATE
Constructor Detail |
---|
public DocumentSelectDialog(Shell shell, Person p, int typ)
p
- the mandator whose templates/letters should be displayedtyp
- type of the selector to display (see TYPE_ constants)Method Detail |
---|
public void create()
public Brief getSelectedDocument()
public java.lang.String getBetreff()
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |