// Licensed Materials - Property of IBM - some unique copyrights (i.e., the ability // to copy, modify, distribute) may be licensed in certain circumstances // (e.g., sample/template code intended to be used by customers to build upon and // distribute as their own products). // // DOORS - %full_filespec: baseWindowMenu.inc~63.1.1:dxl:ERS#1 % %date_created: Tue Oct 19 06:49:06 2010 % // // (c) Copyright IBM Corporation 1993, 2009. All Rights Reserved. // // U.S. Government Users Restricted Rights: Use, duplication or disclosure restricted // by GSA ADP Schedule Contract with IBM Corp. startConfiguringMenus(dbExplorer) void addIntegrityItem() { createItem(canCheckIntegrityMap, LS_("String_Check_Integrity",NLSTEMP_("Check Integrity...")),'y',null,modKeyCtrl,null,null,LS_("String_Check_the_hierarchy_integrity_under_the_selected_item",NLSTEMP_("Check the hierarchy integrity under the selected item.")), LS_("String_The_integrity_checking_tool_does_not_verify_module_structures",NLSTEMP_("The integrity checking tool does not verify module structures.")), doorsHome (NLS_("/lib/dxl/standard/dbIntegrity/dbIntegrity.dxl"))) } void addPropertiesMenuItem(){ createItem(canEditItemProperties, editItemProperties, LS_("String_Properties",NLSTEMP_("Properties...")),'P', keyF2,modKeyNone, null, null, LS_("String_Edit_the_properties_of_the_selected_item",NLSTEMP_("Edit the properties of the selected item.")), LS_("String_You_have_no_access_to_edit_the_properties_of_the_selected_item",NLSTEMP_("You have no access to edit the properties of the selected item."))) } void addDeleteMenuItems(){ createItem(canUndeleteSelectedItem, UndeleteSelectedItems, LS_("String_Undelete",NLSTEMP_("Undelete")),'U', null, modKeyCtrl, null, null, LS_("String_Undelete_the_selected_item",NLSTEMP_("Undelete the selected item.")), LS_("String_The_item_is_not_deleted_or_you_have_no_access_to_undelete",NLSTEMP_("The item is not deleted or you have no access to undelete."))); createItem(canDeleteSelectedItem, deleteSelectedItems, LS_("String_Delete",NLSTEMP_("Delete")),'D', keyDelete, modKeyNone, null, null, LS_("String_Delete_the_selected_item",NLSTEMP_("Delete the selected item.")), LS_("String_The_item_is_already_deleted_or_you_have_no_access_to_delete",NLSTEMP_("The item is already deleted or you have no access to delete."))); } void addPasteSpecialMenuItems() { createItem(canPasteSpecial, LS_("String_Paste_Special",NLSTEMP_("Paste Special")), 'S', null, modKeyNone, null ,null, LS_("String_Paste_a_formal_module",NLSTEMP_("Paste a formal module.")), LS_("String_The_copied_item_must_be_a_single_formal_module_that_is_not_deleted",NLSTEMP_("The copied item must be a single formal module that is not deleted.")), doorsHome (NLS_("/lib/dxl/utils/clonemod.dxl"))) } void addOpenMenuItems(){ createItem(canOpenFolder, openFolder ,LS_("String_Open",NLSTEMP_("Open")), 'O', 'O',modKeyCtrl, null, null, LS_("String_Open_the_selected_folder",NLSTEMP_("Open the selected folder.")), LS_("String_You_must_select_a_folder_to_open",NLSTEMP_("You must select a folder to open."))) createMenu(canOpenModuleAny, LS_("String_Open",NLSTEMP_("Open")), 'O', null); createItem(canOpenModuleReadOnly ,openReadOnly ,LS_("String_Read_only",NLSTEMP_("Read-only")),'R', 'R', modKeyCtrl, null, null, LS_("String_Open_the_selected_module_read_only",NLSTEMP_("Open the selected module read-only.")), LS_("String_You_have_no_access_to_open_the_selected_module_read_only",NLSTEMP_("You have no access to open the selected module read-only."))) createItem(canOpenModuleShare, openShare, LS_("String_Shareable_Edit",NLSTEMP_("Shareable Edit")),'S', 'S', modKeyCtrl, null, null, LS_("String_Open_the_selected_module_for_shareable_edit",NLSTEMP_("Open the selected module for shareable edit.")), LS_("String_You_have_no_access_to_open_the_selected_module_for_shareable_edit",NLSTEMP_("You have no access to open the selected module for shareable edit."))); createItem(canOpenModuleFull, openEdit, LS_("String_Exclusive_Edit",NLSTEMP_("Exclusive Edit")),'E', 'E', modKeyCtrl, null, null, LS_("String_Open_the_selected_module_for_exclusive_edit",NLSTEMP_("Open the selected module for exclusive edit.")), LS_("String_You_have_no_access_to_open_the_selected_module_for_exclusive_edit",NLSTEMP_("You have no access to open the selected module for exclusive edit."))); end menu // Open } void addClipboardMenuItems(){ createItem(dbExplorerCutMap, dbExplorerCut, LS_("String_Cut",NLSTEMP_("Cut")), 't', 'X', modKeyCtrl, null, null, LS_("String_Cut_the_selected_item_onto_the_clipboard",NLSTEMP_("Cut the selected item onto the clipboard.")), LS_("String_You_have_no_access_to_cut_the_selected_item",NLSTEMP_("You have no access to cut the selected item."))) createItem(dbExplorerCopyMap,dbExplorerCopy, LS_("String_Copy_1",NLSTEMP_("Copy")), 'C', 'C', modKeyCtrl, null, null, LS_("String_Copy_the_selected_item_onto_the_clipboard",NLSTEMP_("Copy the selected item onto the clipboard.")), LS_("String_You_have_no_access_to_copy_the_selected_item",NLSTEMP_("You have no access to copy the selected item."))) createItem(dbExplorerCopyMap, dbExplorerCopyUrl, LS_("String_Copy_URL",NLSTEMP_("Copy URL")), null, null, modKeyCtrl, null, null, LS_("String_Copy_the_URL_of_the_selected_item_onto_the_clipboard",NLSTEMP_("Copy the URL of the selected item onto the clipboard.")), LS_("String_You_have_no_access_to_copy_the_URL_of_the_selected_item",NLSTEMP_("You have no access to copy the URL of the selected item."))) } void addClipboardPasteItem(){ createItem(dbExplorerPasteMap, dbExplorerPaste, LS_("String_Paste",NLSTEMP_("Paste")), 'P', 'V', modKeyCtrl, null, null, LS_("String_Copy_from_the_clipboard_into_the_current_folder",NLSTEMP_("Copy from the clipboard into the current folder.")), LS_("String_You_cannot_paste_the_item_in_the_clipboard_here",NLSTEMP_("You cannot paste the item in the clipboard here."))) } void addSelectAllMenuItem(){ createItem(alwaysOn, LS_("String_Select_All",NLSTEMP_("Select All")), 'A', 'A', modKeyCtrl, null, null, LS_("String_Select_all_items_in_the_current_folder",NLSTEMP_("Select all items in the current folder.")), LS_("String_There_are_no_items_to_select",NLSTEMP_("There are no items to select.")), null) } void addNewMenuItems(){ createMenu(alwaysOn, LS_("String_New_1",NLSTEMP_("New")), 'N', null); createItem(canCreateFolder, newFolder, LS_("String_Folder_1",NLSTEMP_("Folder...")), 'F', null, modKeyCtrl, null, null, LS_("String_Create_a_new_folder_1",NLSTEMP_("Create a new folder.")), LS_("String_You_have_no_access_to_create_a_new_folder_here",NLSTEMP_("You have no access to create a new folder here."))) createItem(canCreateProject, newProject, LS_("String_Project_1",NLSTEMP_("Project...")), 'F', null, modKeyCtrl, null, null,LS_("String_Create_a_new_project",NLSTEMP_("Create a new project.")), LS_("String_You_have_no_access_to_create_a_new_project_here",NLSTEMP_("You have no access to create a new project here."))) separator createItem(canCreateModule, newFormalModule, LS_("String_Formal_Module",NLSTEMP_("Formal Module...")), 'F', 'F', modKeyCtrl, null, null,LS_("String_Create_a_new_formal_module",NLSTEMP_("Create a new formal module.")), LS_("String_You_cannot_create_a_new_formal_module_here",NLSTEMP_("You cannot create a new formal module here."))) createItem(canCreateModule, newLinkModule, LS_("String_Link_Module_1",NLSTEMP_("Link Module...")), 'L', 'L', modKeyCtrl, null, null,LS_("String_Create_a_new_link_module",NLSTEMP_("Create a new link module.")), LS_("String_You_cannot_create_a_new_link_module_here",NLSTEMP_("You cannot create a new link module here."))) separator createItem (canCreateProject, LS_("String_Project_Startup_Wizard_1",NLSTEMP_("Project Startup Wizard...")), 'W', null, modKeyCtrl, null, null, LS_("String_This_wizard_will_guide_you_through_creating_a_new_project",NLSTEMP_("This wizard will guide you through creating a new project.")), LS_("String_You_have_no_permissions_to_create_a_project_or_the_project_might_already_be_open",NLSTEMP_("You have no permissions to create a project or the project might already be open.")), doorsHome (NLS_("/lib/dxl/wizard/project/projwiz.dxl"))) end menu // New } //***************************************************************************** void addRecentModuleItems() //DESCRIPTION : creates Recent Modules... menu items. //RETURNS: none { createItem(recentModuleNoneMap, null, LS_("String_Recent_Modules",NLSTEMP_("Recent Modules")),null, null, modKeyNone, null, null, LS_("String_Recent_Module_List",NLSTEMP_("Recent Module List")), LS_("String_There_are_no_recently_opened_modules",NLSTEMP_("There are no recently opened modules"))) createItem(recentModule1Map, openModule1, (NLS_("1")),'1', null, modKeyNone, null, null, (NLS_("1")),(NLS_("1"))) createItem(recentModule2Map, openModule2, (NLS_("2")),'2', null, modKeyNone, null, null, (NLS_("2")),(NLS_("2"))) createItem(recentModule3Map, openModule3, (NLS_("3")),'3', null, modKeyNone, null, null, (NLS_("3")),(NLS_("3"))) createItem(recentModule4Map, openModule4, (NLS_("4")),'4', null, modKeyNone, null, null, (NLS_("4")),(NLS_("4"))) createItem(recentModule5Map, openModule5, (NLS_("5")),'5', null, modKeyNone, null, null, (NLS_("5")),(NLS_("5"))) createItem(recentModule6Map, openModule6, (NLS_("6")),'6', null, modKeyNone, null, null, (NLS_("6")),(NLS_("6"))) createItem(recentModule7Map, openModule7, (NLS_("7")),'7', null, modKeyNone, null, null, (NLS_("7")),(NLS_("7"))) createItem(recentModule8Map, openModule8, (NLS_("8")),'8', null, modKeyNone, null, null, (NLS_("8")),(NLS_("8"))) createItem(recentModule9Map, openModule9, (NLS_("9")),'9', null, modKeyNone, null, null, (NLS_("9")),(NLS_("9"))) separator } void addRIFImportItem() { createItem(canImportPartition, LS_("String_Import_RIF_Package_1",NLSTEMP_("Import RIF Package...")),'m', null, modKeyCtrl, null, null, LS_("String_Import_a_RIF_Package",NLSTEMP_("Import a RIF Package.")), LS_("String_You_cannot_import_a_RIF_Package_here",NLSTEMP_("You cannot import a RIF Package here.")), doorsHome (NLS_("/lib/dxl/standard/rifPackages/rifDefnAccept.dxl"))) } void createFileMenu(){ createMenu(alwaysOn, LS_("String_File",NLSTEMP_("File")), 'F', null); addNewMenuItems() addOpenMenuItems() createItem(projToFoldMap, projectToFolder, LS_("String_Convert_to_Folder",NLSTEMP_("Convert to Folder")),'C', null, modKeyCtrl, null, null, LS_("String_Convert_the_selected_project_into_a_folder",NLSTEMP_("Convert the selected project into a folder.")), LS_("String_You_have_no_access_to_convert_the_selected_folder",NLSTEMP_("You have no access to convert the selected folder."))) createItem(foldToProjMap, folderToProject, LS_("String_Convert_to_Project",NLSTEMP_("Convert to Project")),'C', null, modKeyCtrl, null, null, LS_("String_Convert_the_selected_folder_into_a_project",NLSTEMP_("Convert the selected folder into a project.")), LS_("String_You_have_no_access_to_convert_the_selected_project",NLSTEMP_("You have no access to convert the selected project."))) separator addDeleteMenuItems() createItem(canPurgeSelectedItem, purgeSelectedItem, LS_("String_Purge_1",NLSTEMP_("Purge...")),'P', null, modKeyCtrl, null, null, LS_("String_Purge_the_selected_item",NLSTEMP_("Purge the selected item.")), LS_("String_The_item_is_not_deleted_or_you_have_no_access_to_purge_the_selected_item",NLSTEMP_("The item is not deleted or you have no access to purge the selected item."))) separator addPropertiesMenuItem() separator createItem(archiveMap, archiveItem, LS_("String_Archive_1",NLSTEMP_("Archive...")),'h', null, modKeyCtrl, null, null, LS_("String_Archive_the_selected_item",NLSTEMP_("Archive the selected item.")), LS_("String_You_have_no_access_to_archive_the_selected_item",NLSTEMP_("You have no access to archive the selected item."))) createMenu(alwaysOn, LS_("String_Restore",NLSTEMP_("Restore")), 'R', null) createItem(restoreProjectMap, restoreProject, LS_("String_Project_1",NLSTEMP_("Project...")),'P', null, modKeyCtrl, null, null, LS_("String_Restore_into_the_current_folder",NLSTEMP_("Restore into the current folder.")), LS_("String_You_cannot_restore_to_this_location",NLSTEMP_("You cannot restore to this location."))) //TBD merge these two menu items createItem(restoreModuleMap, restoreModule, LS_("String_Module_3",NLSTEMP_("Module...")),'M', null, modKeyCtrl, null, null, LS_("String_Restore_into_the_current_folder",NLSTEMP_("Restore into the current folder.")), LS_("String_You_cannot_restore_to_this_location",NLSTEMP_("You cannot restore to this location."))) end menu createItem(canImportPartition, LS_("String_Import_Partition_1",NLSTEMP_("Import Partition...")),'I', null, modKeyCtrl, null, null, LS_("String_Import_a_partition",NLSTEMP_("Import a partition.")), LS_("String_You_cannot_import_a_partition_here",NLSTEMP_("You cannot import a partition here.")), doorsHome (NLS_("/lib/dxl/standard/partition/partAccept.dxl"))) addRIFImportItem() separator addRecentModuleItems() addIntegrityItem() if (doorsname() == (NLS_("Administrator"))) { separator } createItem(alwaysOn, dbExplorerClose, LS_("String_Exit",NLSTEMP_("Exit")),'x', null, modKeyCtrl, null, null, LS_("String_Exit_DOORS",NLSTEMP_("Exit DOORS.")), null) end menu //explorerFileMenu }// createFileMenu() void createEditMenu(){ createMenu(alwaysOn, LS_("String_Edit_1",NLSTEMP_("Edit")), 'E', null) //TBD createItem(undoNothingMap, dbExplorerUndoNothing, LS_("String_Undo",NLSTEMP_("Undo")), 'U', 'Z', modKeyCtrl, null, null, LS_("String_Undo_the_last_operation",NLSTEMP_("Undo the last operation.")), LS_("String_There_is_nothing_to_undo",NLSTEMP_("There is nothing to undo."))) createItem(undoCopyMap, dbExplorerClipUndo, LS_("String_Undo_Copy",NLSTEMP_("Undo Copy")), 'U','Z', modKeyCtrl, null, null, LS_("String_Undo_the_last_Copy",NLSTEMP_("Undo the last Copy.")), LS_("String_There_is_nothing_to_undo",NLSTEMP_("There is nothing to undo."))) createItem(undoCutMap, dbExplorerClipUndo, LS_("String_Undo_Cut",NLSTEMP_("Undo Cut")), 'U', 'Z', modKeyCtrl, null, null, LS_("String_Undo_the_last_Cut",NLSTEMP_("Undo the last Cut.")), LS_("String_There_is_nothing_to_undo",NLSTEMP_("There is nothing to undo."))) separator addClipboardMenuItems() addClipboardPasteItem() addPasteSpecialMenuItems separator createItem(dbExplorerClearClipboardMap, dbExplorerClipClear, LS_("String_Clear",NLSTEMP_("Clear")), 'l', null, modKeyCtrl ,null, null, LS_("String_Clear_items_from_the_clipboard",NLSTEMP_("Clear items from the clipboard.")), LS_("String_There_is_nothing_in_the_clipboard",NLSTEMP_("There is nothing in the clipboard."))) //addSelectAllMenuItem() end menu }//createEditMenu void createNewViewMenu(){ createMenu(alwaysOn,LS_("String_View",NLSTEMP_("View")), 'V', null) createItem(databaseViewMap, toggleDatabaseView, LS_("String_Database_View",NLSTEMP_("Database View")), 'D', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_database_view",NLSTEMP_("Toggle database view.")), LS_("String_You_cannot_switch_to_database_view",NLSTEMP_("You cannot switch to database view."))) createItem(projectViewMap,toggleProjectView, LS_("String_Project_View",NLSTEMP_("Project View")), 'P', null, modKeyCtrl, null ,null, LS_("String_Toggle_project_view",NLSTEMP_("Toggle project view.")), LS_("String_You_cannot_switch_to_project_view",NLSTEMP_("You cannot switch to project view."))) separator createItem(projectsDisplayed, toggleShowProjects,LS_("String_Show_Projects",NLSTEMP_("Show Projects")), 'P', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_display_of_projects",NLSTEMP_("Toggle display of projects.")), null) createItem(foldersDisplayed, toggleShowFolders,LS_("String_Show_Folders",NLSTEMP_("Show Folders")), 'o', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_display_of_folders",NLSTEMP_("Toggle display of folders.")), null) createItem(formalModulesDisplayed, toggleShowFormals,LS_("String_Show_Formal_Modules",NLSTEMP_("Show Formal Modules")), 'F', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_display_of_formal_modules",NLSTEMP_("Toggle display of formal modules.")), null) createItem(linkModulesDisplayed, toggleShowLinkModules, LS_("String_Show_Link_Modules",NLSTEMP_("Show Link Modules")), 'L', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_display_of_link_modules",NLSTEMP_("Toggle display of link modules.")), null) createItem(descriptiveModulesDisplayed,toggleShowDescriptives, LS_("String_Show_Descriptive_Modules",NLSTEMP_("Show Descriptive Modules")), 'D', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_display_of_descriptive_modules",NLSTEMP_("Toggle display of descriptive modules.")), null) separator createItem(showDeletedItemsMap, showDeletedItemsCB, LS_("String_Show_Deleted_Items",NLSTEMP_("Show Deleted Items")), 'S', ddbToggle, modKeyCtrl, null ,null, LS_("String_Toggle_display_of_deleted_items",NLSTEMP_("Toggle display of deleted items.")), null) separator createItem(dbExplorerSortByNameMap, dbExpSortByName, LS_("String_Sort_By_Name",NLSTEMP_("Sort By Name")), 'N', ddbToggle, modKeyCtrl, null ,null, LS_("String_Sort_folder_contents_by_name",NLSTEMP_("Sort folder contents by name.")), null) createItem(dbExplorerSortByTypeMap, dbExpSortByType, LS_("String_Sort_By_Type",NLSTEMP_("Sort By Type")), 'T', ddbToggle, modKeyCtrl, null ,null, LS_("String_Sort_folder_contents_by_item_type",NLSTEMP_("Sort folder contents by item type.")), null) createItem(dbExplorerSortByDescriptionMap, dbExpSortByDescription, LS_("String_Sort_By_Description",NLSTEMP_("Sort By Description")), 'p', ddbToggle, modKeyCtrl, null ,null, LS_("String_Sort_folder_contents_by_description",NLSTEMP_("Sort folder contents by description.")), null) createItem(dbExplorerSortByDeletedMap, dbExpSortByDeleted, LS_("String_Sort_By_Deleted",NLSTEMP_("Sort By Deleted")), 'y', ddbToggle, modKeyCtrl, null ,null, LS_("String_Sort_folder_contents_according_to_whether_items_are_deleted",NLSTEMP_("Sort folder contents according to whether items are deleted.")), LS_("String_You_must_turn_display_of_delete_items_on_to_sort_by_deleted",NLSTEMP_("You must turn display of delete items on to sort by deleted."))) separator createItem(alwaysOn, LS_("String_Customize_Toolbars",NLSTEMP_("Customize Toolbars...")), 'C', 'O', modKeyCtrl | modKeyShift, null, null, LS_("String_Turn_the_visibility_of_various_toolbars_on_off",NLSTEMP_("Turn the visibility of various toolbars on/off.")), null, doorsHome (NLS_("/lib/dxl/standard/toolbars/customizeToolbarsDBExplorer.dxl"))) separator createItem(alwaysOn, refreshDBExplorer, LS_("String_Refresh",NLSTEMP_("Refresh")), 'f', keyF5, modKeyNone, null ,null, LS_("String_Refresh_database_explorer",NLSTEMP_("Refresh database explorer.")), null) end menu //View }//createViewMenu void createNewToolsMenu(){ createMenu(alwaysOn, LS_("String_Tools",NLSTEMP_("Tools")), 'T', null) createItem(alwaysOn, LS_("String_Find_1",NLSTEMP_("Find...")), 'F', null, modKeyCtrl, null, null, LS_("String_Find_modules_and_folders",NLSTEMP_("Find modules and folders.")), null, doorsHome (NLS_("/lib/dxl/standard/dbSearch/dbsearch.dxl"))) createItem(alwaysOn, LS_("String_Options_2",NLSTEMP_("Options...")), 'O', null, modKeyCtrl, null ,null, LS_("String_Edit_settings",NLSTEMP_("Edit settings.")), LS_("String_You_cannot_edit_settings",NLSTEMP_("You cannot edit settings.")), doorsHome (NLS_("/lib/dxl/standard/options/options.dxl"))) createItem(alwaysOn, LS_("String_Manage_Reports_1",NLSTEMP_("Manage Reports...")), 'R', null, modKeyCtrl, null, null, LS_("String_View_or_print_module_reports",NLSTEMP_("View or print module reports.")), null, doorsHome (NLS_("/lib/dxl/standard/reports/manager/manager.dxl"))) createItem(alwaysOn, LS_("String_Manage_Dictionaries",NLSTEMP_("Manage Dictionaries...")), 'D', null, modKeyCtrl, null, null, LS_("String_Manage_additional_spelling_dictionaries",NLSTEMP_("Manage additional spelling dictionaries.")), null, doorsHome (NLS_("/lib/dxl/standard/spelling/manageDictionaries.dxl"))) createItem(manageUsersMap, LS_("String_Manage_Users_1",NLSTEMP_("Manage Users...")), 'U', null, modKeyCtrl, null ,null, LS_("String_Create_delete_and_edit_users",NLSTEMP_("Create, delete and edit users.")), LS_("String_You_cannot_open_the_user_manager",NLSTEMP_("You cannot open the user manager.")), doorsHome (NLS_("/lib/dxl/standard/agents/properties.dxl"))) createItem(canUnlockMap, showUnlockDB, LS_("String_Manage_Locks_1",NLSTEMP_("Manage Locks...")),'k', null, modKeyCtrl, null, null, LS_("String_Manage_locks_in_the_database",NLSTEMP_("Manage locks in the database.")), LS_("String_You_have_no_access_to_manage_locks",NLSTEMP_("You have no access to manage locks."))) createItem(alwaysOn, showDiagnosticLog, LS_("String_Show_Diagnostic_Log",NLSTEMP_("Show Diagnostic Log")), 'W', null, modKeyCtrl, null, null, LS_("String_Show_window_containing_diagnostic_information",NLSTEMP_("Show window containing diagnostic information.")), (NLS_(""))) createMenu(null, null, null, doorsHome (NLS_("/lib/dxl/project"))) bool preSalmonServer = (serverMajorProtocolVersion_() == 9 && serverMinorProtocolVersion_() < 2) createItem(broadcastMessageMap, LS_("String_Broadcast_Message_1",NLSTEMP_("Broadcast Message...")), 'B', null, modKeyCtrl, null ,null, LS_("String_Send_a_message_to_all_connected_clients",NLSTEMP_("Send a message to all connected clients.")), (preSalmonServer ? LS_("String_This_database_server_does_not_support_Broadcast_Messaging",NLSTEMP_("This database server does not support Broadcast Messaging.")) : LS_("String_You_have_insufficient_privileges_to_send_Broadcast_Messages",NLSTEMP_("You have insufficient privileges to send Broadcast Messages."))), doorsHome (NLS_("/lib/dxl/standard/broadcasting/broadcastMsg.dxl"))) separator createMenu(cpsProjectOptionMap, LS_("String_Change_Proposal_System",NLSTEMP_("Change Proposal System")), 'C', null) createMenu(cpsCPManagerMap, LS_("String_Setup",NLSTEMP_("Setup")), null, null) createItem(cpsCreateMap, LS_("String_New_1",NLSTEMP_("New")), 'N', null, modKeyCtrl, null, null, LS_("String_Create_a_new_Change_Proposal_System",NLSTEMP_("Create a new Change Proposal System.")), LS_("String_You_cannot_create_a_Change_Proposal_System",NLSTEMP_("You cannot create a Change Proposal System.")), doorsHome (NLS_("/lib/dxl/standard/cps/setup/create.dxl"))) createItem(cpsConfigureMap, LS_("String_Configure",NLSTEMP_("Configure...")), 'C', null, modKeyCtrl, null, null, LS_("String_Configure_an_existing_Change_Proposal_System",NLSTEMP_("Configure an existing Change Proposal System.")), LS_("String_You_cannot_configure_a_Change_Proposal_System",NLSTEMP_("You cannot configure a Change Proposal System")), doorsHome (NLS_("/lib/dxl/standard/cps/setup/setup.dxl"))) createItem(cpsDeleteMap, LS_("String_Delete",NLSTEMP_("Delete")), 'D', null, modKeyNone, null, null, LS_("String_Delete_an_existing_Change_Proposal_System",NLSTEMP_("Delete an existing Change Proposal System.")), LS_("String_You_cannot_delete_a_Change_Proposal_System",NLSTEMP_("You cannot delete a Change Proposal System")), doorsHome (NLS_("/lib/dxl/standard/cps/setup/delete.dxl"))) end menu // set-up createItem(cpsSuggestionMap, LS_("String_Submit_Suggestion",NLSTEMP_("Submit Suggestion...")), 'S', null, modKeyCtrl, null, null, LS_("String_Submit_a_suggestion_against_an_existing_Change_Proposal_System",NLSTEMP_("Submit a suggestion against an existing Change Proposal System.")), LS_("String_You_cannot_submit_a_suggestion",NLSTEMP_("You cannot submit a suggestion.")), doorsHome (NLS_("/lib/dxl/standard/cps/suggestion/suggestion.dxl"))) createItem(cpsGroupsMap, LS_("String_Manage_groups",NLSTEMP_("Manage groups...")), 'M', null, modKeyCtrl, null, null, LS_("String_Create_review_check_and_apply_groups",NLSTEMP_("Create, review, check and apply groups.")), LS_("String_You_cannot_manage_groups",NLSTEMP_("You cannot manage groups.")), doorsHome (NLS_("/lib/dxl/standard/cps/groups/manage.dxl"))) end menu // change proposal system separator createMenu(alwaysOn, LS_("String_Test_Tracking",NLSTEMP_("Test Tracking")), null, null) createItem(canCreateTestDefinition, LS_("String_Create_Test_Definition",NLSTEMP_("Create Test Definition...")), 'X', null, null, null, null, LS_("String_Set_up_this_module_for_test_tracking",NLSTEMP_("Set up this module for test tracking.")), LS_("String_Only_available_for_formal_modules_which_the_current_user_can_edit",NLSTEMP_("Only available for formal modules which the current user can edit.")), doorsHome (NLS_("/lib/dxl/standard/testTracking/t3_setup.dxl"))) end menu // T3 separator createItem editDXLItem end menu //Tools }//createToolsMenu void createFavoritesMenu() { createMenu(alwaysOn, LS_("String_Favorites",NLSTEMP_("Favorites")), 'a', null) createItem(addToFavoritesMap, LS_("String_Add_to_Favorites",NLSTEMP_("Add to Favorites")), 'A', null, modKeyCtrl, null, null, LS_("String_Add_the_current_folder_to_your_list_of_favorites",NLSTEMP_("Add the current folder to your list of favorites.")), null, doorsHome (NLS_("/lib/dxl/standard/favorites/saveFavorite.dxl"))) createItem(alwaysOn, LS_("String_Organize_Favorites_1",NLSTEMP_("Organize Favorites...")), 'O', null, modKeyCtrl, null, null, LS_("String_Open_favorites_to_re_order_rename_or_delete",NLSTEMP_("Open favorites to re-order, rename or delete.")), null, doorsHome (NLS_("/lib/dxl/standard/favorites/favoritesUI.dxl"))) end menu // } void createNewHelpMenu(){ createMenu(alwaysOn, LS_("String_Help",NLSTEMP_("Help")), 'H', null) createItem(alwaysOn, helpContentsAndIndex, LS_("String_Contents_and_Index",NLSTEMP_("Contents and Index")), 'C', keyF1, modKeyNone, null ,null, LS_("String_Open_online_help",NLSTEMP_("Open online help.")), null) createMenu(alwaysOn, LS_("String_DOORS_on_the_Web",NLSTEMP_("DOORS on the Web")), 'W', null) createItem(alwaysOn, helpDOORSDownloads, LS_("String_DOORS_Downloads",NLSTEMP_("DOORS Downloads")), 'D', null, modKeyCtrl, null ,null, LS_("String_Open_your_web_browser_at_the_DOORS_downloads_page",NLSTEMP_("Open your web-browser at the DOORS downloads page.")), LS_("String_You_do_not_have_a_web_browser_configured",NLSTEMP_("You do not have a web browser configured."))) createItem(alwaysOn, helpDOORSSupport, LS_("String_DOORS_Support",NLSTEMP_("DOORS Support")), 'K', null, modKeyCtrl, null ,null, LS_("String_Open_your_web_browser_at_the_DOORS_support_page",NLSTEMP_("Open your web-browser at the DOORS support page.")), LS_("String_You_do_not_have_a_web_browser_configured",NLSTEMP_("You do not have a web browser configured."))) createItem(alwaysOn, helpOnlineForum, LS_("String_DOORS_Online_Forum",NLSTEMP_("DOORS Online Forum")), 'F', null, modKeyCtrl, null ,null, LS_("String_Open_your_web_browser_at_the_DOORS_online_Forum",NLSTEMP_("Open your web-browser at the DOORS online Forum.")), LS_("String_You_do_not_have_a_web_browser_configured",NLSTEMP_("You do not have a web browser configured."))) end menu createItem (alwaysOn, LS_("String_Welcome_Screen_1",NLSTEMP_("Welcome Screen...")), 'S', null, modKeyCtrl, null, null, LS_("String_Show_the_DOORS_welcome_screen",NLSTEMP_("Show the DOORS welcome screen.")), null, doorsHome (NLS_("/lib/dxl/wizard/welcome/welcomeshow.dxl"))) separator createItem(alwaysOn, helpDXLReference, LS_("String_DXL_Reference_Manual",NLSTEMP_("DXL Reference Manual")), 'R', null, modKeyCtrl, null ,null, LS_("String_Open_the_DXL_Reference_Manual",NLSTEMP_("Open the DXL Reference Manual.")), null) separator createItem(alwaysOn, LS_("String_Generate_Support_Request_1",NLSTEMP_("Generate Support Request...")),'G', null, modKeyCtrl, null, null, LS_("String_Send_an_email_to_IBM_Rational_Support",NLSTEMP_("Send an email to IBM Rational Support.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/help/generateSupportRequest.dxl"))) separator createItem(alwaysOn, LS_("String_About_DOORS",NLSTEMP_("About DOORS...")), 'A', null, modKeyCtrl, null ,null, LS_("String_Information_on_the_DOORS_Application",NLSTEMP_("Information on the DOORS Application.")), null, doorsHome (NLS_("/lib/dxl/standard/about/aboutFromExplorer.dxl"))) end menu // Help }//createHelpMenu Sensitivity bbCallback() { if (toolBarVisible(dbExplorer, TB_BI_DB_PROJECT)) { return ddbChecked } else { return ddbAvailable } } void createProjectButtonBar() { createButtonBar(TB_BI_DB_PROJECT, bbCallback, true, false) createItem(canCreateFolder, newFolder, null ,null ,null, modKeyCtrl, (NLS_("folderne.ico")), LS_("String_Create_a_new_folder",NLSTEMP_("Create a new folder")), LS_("String_Create_a_new_folder_1",NLSTEMP_("Create a new folder.")), LS_("String_You_have_no_access_to_create_a_new_folder_here",NLSTEMP_("You have no access to create a new folder here."))) createItem(canCreateProject, newProject, null ,null ,null, modKeyCtrl, (NLS_("projnew.ico")), LS_("String_Create_a_new_project_1",NLSTEMP_("Create a new project")), LS_("String_Create_a_new_project",NLSTEMP_("Create a new project.")), LS_("String_You_have_no_access_to_create_a_new_project_here",NLSTEMP_("You have no access to create a new project here."))) createItem(closeFolderMap, closeFolderCB, null, null, null, modKeyCtrl, (NLS_("foldercl.ico")), LS_("String_Up_one_level",NLSTEMP_("Up one level")), LS_("String_Close_the_current_folder_or_project",NLSTEMP_("Close the current folder or project.")) , LS_("String_You_cannot_close_the_root_folder",NLSTEMP_("You cannot close the root folder."))) createItem(alwaysOn, null, null, null, modKeyCtrl, (NLS_("addtofav.ico")), LS_("String_Add_to_favorites",NLSTEMP_("Add to favorites")) , LS_("String_Add_the_current_folder_to_your_list_of_favorites",NLSTEMP_("Add the current folder to your list of favorites.")), null, doorsHome (NLS_("/lib/dxl/standard/favorites/saveFavorite.dxl"))) separator createItem(manageUsersButtonMap, null , null ,null, modKeyCtrl, (NLS_("manageuser.ico")), LS_("String_Manage_users_and_groups",NLSTEMP_("Manage users and groups")),LS_("String_Create_delete_and_edit_users_and_groups",NLSTEMP_("Create, delete and edit users and groups.")), LS_("String_You_cannot_open_the_user_manager",NLSTEMP_("You cannot open the user manager.")), doorsHome (NLS_("/lib/dxl/standard/agents/properties.dxl"))) separator createItem(canCreateModule, newFormalModule, null, null, 'F', modKeyCtrl, (NLS_("createfo.ico")),LS_("String_Create_a_new_formal_module_1",NLSTEMP_("Create a new formal module")) (NLS_(" (%a)")), LS_("String_Create_a_new_formal_module",NLSTEMP_("Create a new formal module.")), LS_("String_You_cannot_create_a_new_formal_module_here",NLSTEMP_("You cannot create a new formal module here."))) createItem(canCreateModule, newLinkModule, null, null, 'L', modKeyCtrl, (NLS_("crlmod.ico")), LS_("String_Create_a_new_link_module_1",NLSTEMP_("Create a new link module")) (NLS_(" (%a)")),LS_("String_Create_a_new_link_module",NLSTEMP_("Create a new link module.")), LS_("String_You_cannot_create_a_new_link_module_here",NLSTEMP_("You cannot create a new link module here."))) separator createItem(canOpenModuleToolbarReadOnly ,openReadOnly ,null,null , 'R', modKeyCtrl, (NLS_("readmod.ico")), LS_("String_Open_read_only",NLSTEMP_("Open read-only")) (NLS_(" (%a)")), LS_("String_Open_the_selected_module_read_only",NLSTEMP_("Open the selected module read-only.")), LS_("String_You_have_no_access_to_open_the_selected_module_read_only",NLSTEMP_("You have no access to open the selected module read-only."))) createItem(canOpenModuleToolbarShare, openShare,null,null , 'S', modKeyCtrl, (NLS_("sharemod.ico")), LS_("String_Open_shareable_edit",NLSTEMP_("Open shareable edit")) (NLS_(" (%a)")), LS_("String_Open_the_selected_module_for_shareable_edit",NLSTEMP_("Open the selected module for shareable edit.")), LS_("String_You_have_no_access_to_open_the_selected_module_for_shareable_edit",NLSTEMP_("You have no access to open the selected module for shareable edit."))); createItem(canOpenModuleToolbarFull, openEdit,null,null , 'E', modKeyCtrl, (NLS_("editmod.ico")), LS_("String_Open_exclusive_edit",NLSTEMP_("Open exclusive edit")) (NLS_(" (%a)")), LS_("String_Open_the_selected_module_for_exclusive_edit",NLSTEMP_("Open the selected module for exclusive edit.")), LS_("String_You_have_no_access_to_open_the_selected_module_for_exclusive_edit",NLSTEMP_("You have no access to open the selected module for exclusive edit."))); separator createItem(canDeleteSelectedItem, deleteSelectedItems, null, null, keyDelete, null, (NLS_("deletemo.ico")), LS_("String_Delete",NLSTEMP_("Delete")) (NLS_(" (%a)")), LS_("String_Delete_the_selected_item",NLSTEMP_("Delete the selected item.")), LS_("String_You_have_no_access_to_delete_the_selected_item",NLSTEMP_("You have no access to delete the selected item."))) end buttonbar } /* createProjectButtonBar */ void createDBExplorerListPopup(){ addNewMenuItems() addOpenMenuItems() addRIFImportItem() separator addClipboardMenuItems() addClipboardPasteItem() addPasteSpecialMenuItems() separator addDeleteMenuItems() separator addPropertiesMenuItem() addIntegrityItem() }//createDBExplorerPopup void createDBExplorerTreePopup(){ addNewMenuItems() separator createItem(canEditTreeViewItemProperties, editTreeViewItemProperties, LS_("String_Properties",NLSTEMP_("Properties...")),'P', null, modKeyCtrl, null, null, LS_("String_Edit_the_properties_of_the_selected_item",NLSTEMP_("Edit the properties of the selected item.")), LS_("String_You_have_no_access_to_edit_the_properties_of_the_selected_item",NLSTEMP_("You have no access to edit the properties of the selected item."))) addIntegrityItem() }//createDBExlporerTreePopup createFileMenu() createEditMenu() createNewViewMenu() createFavoritesMenu() createNewToolsMenu() //contents of the baseWindowMenuFiles directory are now included. //base window menu setup continued in baseWindowConfig.inc ...