public class DefaultMenuBuilder extends java.lang.Object implements MenuBuilder
DefaultMenuBuilder.| Constructor and Description |
|---|
DefaultMenuBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAboutItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
AboutAction
|
void |
addClearFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
ClearFileAction
|
void |
addClipboardItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
CutAction
CopyAction
PasteAction
DuplicateAction
DeleteAction
|
void |
addCloseFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
CloseFileAction
|
void |
addExitItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
ExitAction
|
void |
addExportFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
ExportFileAction
|
void |
addFindItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
AbstractFindAction
|
void |
addHelpItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing.
|
void |
addLoadFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
LoadFileAction
LoadDirectoryAction
|
void |
addNewFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
NewFileAction
|
void |
addNewWindowItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
NewWindowAction
|
void |
addOpenFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
OpenFileAction
OpenDirectoryAction
|
void |
addOtherEditItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing.
|
void |
addOtherFileItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing.
|
void |
addOtherMenus(java.util.List<javax.swing.JMenu> m,
Application app,
View v)
Does nothing.
|
void |
addOtherViewItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing.
|
void |
addOtherWindowItems(javax.swing.JMenu m,
Application app,
View v)
Does nothing.
|
void |
addPreferencesItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
AbstractPreferencesAction
|
void |
addPrintFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
PrintFileAction
|
void |
addSaveFileItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
SaveFileAction
SaveFileAsAction
|
void |
addSelectionItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
SelectAllAction
ClearSelectionAction
|
void |
addUndoItems(javax.swing.JMenu m,
Application app,
View v)
Adds items for the following actions to the menu:
UndoAction
RedoAction
|
public void addPreferencesItems(javax.swing.JMenu m,
Application app,
View v)
addPreferencesItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addExitItems(javax.swing.JMenu m,
Application app,
View v)
addExitItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addClearFileItems(javax.swing.JMenu m,
Application app,
View v)
addClearFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addNewWindowItems(javax.swing.JMenu m,
Application app,
View v)
addNewWindowItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addNewFileItems(javax.swing.JMenu m,
Application app,
View v)
addNewFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addLoadFileItems(javax.swing.JMenu m,
Application app,
View v)
addLoadFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOpenFileItems(javax.swing.JMenu m,
Application app,
View v)
addOpenFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addCloseFileItems(javax.swing.JMenu m,
Application app,
View v)
addCloseFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addSaveFileItems(javax.swing.JMenu m,
Application app,
View v)
addSaveFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addExportFileItems(javax.swing.JMenu m,
Application app,
View v)
addExportFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addPrintFileItems(javax.swing.JMenu m,
Application app,
View v)
addPrintFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherFileItems(javax.swing.JMenu m,
Application app,
View v)
addOtherFileItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addUndoItems(javax.swing.JMenu m,
Application app,
View v)
addUndoItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addClipboardItems(javax.swing.JMenu m,
Application app,
View v)
addClipboardItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addSelectionItems(javax.swing.JMenu m,
Application app,
View v)
addSelectionItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addFindItems(javax.swing.JMenu m,
Application app,
View v)
addFindItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherEditItems(javax.swing.JMenu m,
Application app,
View v)
addOtherEditItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherViewItems(javax.swing.JMenu m,
Application app,
View v)
addOtherViewItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherMenus(java.util.List<javax.swing.JMenu> m,
Application app,
View v)
addOtherMenus in interface MenuBuilderm - A (potentially non-empty) list of menus.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addOtherWindowItems(javax.swing.JMenu m,
Application app,
View v)
addOtherWindowItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addHelpItems(javax.swing.JMenu m,
Application app,
View v)
addHelpItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.public void addAboutItems(javax.swing.JMenu m,
Application app,
View v)
addAboutItems in interface MenuBuilderm - A (potentially non-empty) menu.app - The Application for which the menu is built.v - A view the menu is used exclusively for a specific view, null
if the menu is shared by all views.