Klasse CustomSelectionAdapter
java.lang.Object
org.eclipse.swt.events.SelectionAdapter
org.oxt.toolbox.helpers.CustomSelectionAdapter
- Alle implementierten Schnittstellen:
EventListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class CustomSelectionAdapter
extends org.eclipse.swt.events.SelectionAdapter
Class to define a custom selection adapter
for file(s) selection dialog to process either the
validation report or visualization.
- Autor:
- Dr. Jan C. Thiele
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungCustomSelectionAdapter
(org.eclipse.swt.widgets.Shell s) Constructor.CustomSelectionAdapter
(org.eclipse.swt.widgets.Shell s, String currentInvoice, String currentInvoicePath, org.apache.logging.log4j.Logger logger) Constructor with parameters. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungorg.eclipse.swt.widgets.FileDialog
Method to create and return file open dialog.fileSavePdfSelection
(String initialFile, String initialPath) Method to create save pdf dialog and return file path.fileSaveSelection
(String initialFile, String initialPath) Method to create save dialog and return file path.Von Klasse geerbte Methoden org.eclipse.swt.events.SelectionAdapter
widgetDefaultSelected, widgetSelected
-
Felddetails
-
Konstruktordetails
-
CustomSelectionAdapter
public CustomSelectionAdapter(org.eclipse.swt.widgets.Shell s) Constructor.- Parameter:
s
- Shell widget
-
CustomSelectionAdapter
public CustomSelectionAdapter(org.eclipse.swt.widgets.Shell s, String currentInvoice, String currentInvoicePath, org.apache.logging.log4j.Logger logger) Constructor with parameters.- Parameter:
s
- shellcurrentInvoice
- name of current invoicecurrentInvoicePath
- path of current invoice filelogger
- logger instance
-
-
Methodendetails
-
fileOpenSelection
public org.eclipse.swt.widgets.FileDialog fileOpenSelection()Method to create and return file open dialog.- Gibt zurück:
- file open dialog
-
fileSaveSelection
-
fileSavePdfSelection
-