public class DocumentActions extends Object
Modifier and Type | Field and Description |
---|---|
Action |
importClipboard
Imports the clipboard content into an empty JGlossFrame.
|
jgloss.ui.gloss.ImportClipboardListener |
importClipboardListener
Menu listener which will update the state of the import clipboard
action when the menu is selected.
|
Action |
importDocument
Imports a document into an empty JGlossFrame.
|
Action |
open
Opens a document created by JGloss in an empty JGlossFrame.
|
OpenRecentMenu.FileSelectedListener |
openRecentListener
Listens to open recent selections.
|
Action |
showWelcomeDialog |
Modifier and Type | Method and Description |
---|---|
static JGlossFrame |
getFrame(JGlossFrame target)
Returns the target frame for an import or open action.
|
public final Action importDocument
public final Action importClipboard
public final jgloss.ui.gloss.ImportClipboardListener importClipboardListener
public final Action open
public final OpenRecentMenu.FileSelectedListener openRecentListener
OpenRecentMenu.createDocumentMenu
.public final Action showWelcomeDialog
public static JGlossFrame getFrame(JGlossFrame target)
JGlossFrame
if
the given target is null
or already contains a document.Copyright © 2001-2013 the JGloss developers. All Rights Reserved.