net.sourceforge.toscanaj.dbviewer
Class ProgramCallDatabaseViewer
java.lang.Object
net.sourceforge.toscanaj.dbviewer.ProgramCallDatabaseViewer
- All Implemented Interfaces:
- DatabaseViewer
- public class ProgramCallDatabaseViewer
- extends java.lang.Object
- implements DatabaseViewer
Calls an external program as database viewer.
A definition for this viewer looks like this:
In the example the program called "browser" will be started with the content
of the field "descriptionUrl". The delimiters define how the fields are
marked, they can be completely different and they are allowed to contain more
than one character.
Note: the external program is at the moment started in the same thread, the
UI will block as long as the external program runs.
Only the first object in the view will be used for a program call, the others
will be ignored.
- To do:
- Handle multiple results somehow.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgramCallDatabaseViewer
public ProgramCallDatabaseViewer()
initialize
public void initialize(DatabaseViewerManager manager)
- Specified by:
initialize
in interface DatabaseViewer
showView
public void showView(java.lang.String whereClause)
throws DatabaseViewerException
- Specified by:
showView
in interface DatabaseViewer
- Throws:
DatabaseViewerException
The ToscanaJ project