public class EmbeddedDemoApplication extends BasicDemoApplication
This demo also includes a compare view for side by side comparison of a document. The listener
registered here (see postInitCallback(JFrame, BasicJadicePanel)
) will simply synchronize
the loaded document from the "main viewer" to the "compare viewer".
To provide the compare view, the following steps have been done:
CompareToggler
will be registered in the Context
by this class in
postInitCallbackToggleCompareCommand
will perform the action of switching from compare to
non-compare modeModifier and Type | Field and Description |
---|---|
protected BasicJadicePanel |
compareViewer |
protected BasicJadicePanel |
mainViewer |
JADICE_NAME
Constructor and Description |
---|
EmbeddedDemoApplication() |
EmbeddedDemoApplication(DefaultMenuComponentFactory menuComponentFactory) |
EmbeddedDemoApplication(DefaultMenuComponentFactory menuComponentFactory,
String[] args) |
Modifier and Type | Method and Description |
---|---|
protected JFrame |
createFrame(BasicJadicePanel viewerPanel)
Called during initialization to create the main Window.
|
protected void |
postInitCallback(JFrame mainFrame,
BasicJadicePanel mainViewerPanel)
After creating the UI components, this is the last method called by the abstract superclass.
|
addMenuContributions, close, configureAreaSelectionTool, configureBookmarkStore, configureDragAndDrop, configureImportExportHandlers, configureKeyBindingsTool, configureLinkTool, configureStatusBar, configureTextSelectionTool, configureToolManager, createBasicJadicePanel, createBookmarkStore, doConfigureImportExportHandlers, getArgumentValue, getBasicJadicePanel, getFrame, getPresentationRules, getRollingMessagePanelPosition, getSorterToolbarPosition, getTrayPopupMenu, handleArgs, hasTrayIcon, hideTrayPopupMenu, init, installTrayIcon, isTrayVisibilityToggle, main, registerContextListeners, registerInstructionExecutorInventory, registerPropertyChangeListeners, removeTrayIcon, showTrayPopupMenu
protected BasicJadicePanel compareViewer
protected BasicJadicePanel mainViewer
public EmbeddedDemoApplication()
public EmbeddedDemoApplication(DefaultMenuComponentFactory menuComponentFactory)
public EmbeddedDemoApplication(DefaultMenuComponentFactory menuComponentFactory, String[] args)
protected JFrame createFrame(BasicJadicePanel viewerPanel)
BasicDemoApplication
createFrame
in class BasicDemoApplication
viewerPanel
- the viewer panelprotected void postInitCallback(JFrame mainFrame, BasicJadicePanel mainViewerPanel)
postInitCallback
in class BasicDemoApplication
Copyright © 2024 levigo holding gmbh. All rights reserved.