- private EditableDocumentPopup() {
- super();
- addItem("accept", new PopupItem("menu.accept").icon(
- "image.accept.png").action("setDocument?action=accept")
- .confirmation("message.accept.document"));
- addItem(MNU_PROMOTE, new PopupItem(MNU_NAME_PROMOTE).icon(
- "image.publish.png").action("setDocument?action=promote")
- .confirmation("message.promote.document"));
- addSeparator();
- addItem(MNU_RENAME, new PopupItem(MNU_NAME_RENAME)
- .action("edit-document?action=renameDocument"));
- addItem(MNU_ATTACH, new PopupItem(MNU_NAME_ATTACH).icon(IMG_ATTACH)
- .action(ACT_ATTACH));
- addSeparator();
- addItem(MNU_VERSION, new PopupItem(MNU_NAME_VERSION).icon(
- IMG_VERSION).action(ACT_VERSION));
- addItem("replace", new PopupItem("menu.replace").icon(
- "image.replace.png").action(
- "select-file?nextAction=replace"));
- addSeparator();
- addItem(MNU_PURGE, new PopupItem(MNU_NAME_PURGE).action(
- ACT_NOT_YET_IMPLEMENTED).confirmation(
- "message.purge.document"));
- addItem(MNU_REMOVE, new PopupItem(MNU_NAME_REMOVE).icon(IMG_DELETE)
- .action("remove-document").confirmation(
- "message.delete.document"));
- }
-