| | import com.keenwrite.FileEditorTab; |
| | import com.keenwrite.FileType; |
| | -import com.keenwrite.preview.HTMLPreviewPane; |
| | +import com.keenwrite.preview.HtmlPreview; |
| | import com.keenwrite.processors.markdown.CaretPosition; |
| | |
 |
| | */ |
| | public class ProcessorContext { |
| | - private final HTMLPreviewPane mPreviewPane; |
| | + private final HtmlPreview mHtmlPreview; |
| | private final Map<String, String> mResolvedMap; |
| | private final ExportFormat mExportFormat; |
 |
| | * all parameters. |
| | * |
| | - * @param previewPane Where to display the final (HTML) output. |
| | + * @param htmlPreview Where to display the final (HTML) output. |
| | * @param resolvedMap Fully expanded interpolated strings. |
| | * @param tab Tab containing path to the document to process. |
| | * @param format Indicate configuration options for export format. |
| | */ |
| | public ProcessorContext( |
| | - final HTMLPreviewPane previewPane, |
| | + final HtmlPreview htmlPreview, |
| | final Map<String, String> resolvedMap, |
| | final FileEditorTab tab, |
| | final ExportFormat format ) { |
| | - assert previewPane != null; |
| | + assert htmlPreview != null; |
| | assert resolvedMap != null; |
| | assert tab != null; |
| | assert format != null; |
| | |
| | - mPreviewPane = previewPane; |
| | + mHtmlPreview = htmlPreview; |
| | mResolvedMap = resolvedMap; |
| | mTab = tab; |
 |
| | } |
| | |
| | - HTMLPreviewPane getPreviewPane() { |
| | - return mPreviewPane; |
| | + HtmlPreview getPreview() { |
| | + return mHtmlPreview; |
| | } |
| | |