public ExportQuery getExportQuery ( ) { return QueryGenerator . export ( ) . query ( state . getAql ( ) . getValue ( ) ) . corpora ( state . getSelectedCorpora ( ) . getValue ( ) ) . left ( state . getLeftContext ( ) . getValue ( ) ) . right ( state . getRightContext ( ) . getValue ( ) ) . segmentation ( state . getVisibleBaseText ( ) . getValue ( ) ) . exporter ( state . getExporter ( ) . getValue ( ) ) . annotations ( state . getExportAnnotationKeys ( ) . getValue ( ) ) . param ( state . getExportParameters ( ) . getValue ( ) ) . alignmc ( state . getAlignmc ( ) . getValue ( ) ) . build ( ) ; }
Get the current query as it is defined by the UI controls .