// 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: formal.dxl~106.1.7.1.1.1.4:dxl:ERS#1 % %date_created: Mon Sep 5 15:44:54 2011 % // // (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. /* Formal module menu configuration */ #include #include #include #include /********************************************************************** ** insertLockItems */ void insertLockItems() { createItem(lockSectionMap, lockSection, LS_("String_Lock",NLSTEMP_("Lock")), 'L', null, modKeyCtrl, null ,null, LS_("String_Lock_section_containing_the_current_object",NLSTEMP_("Lock section containing the current object.")), LS_("String_Object_is_not_in_a_section",NLSTEMP_("Object is not in a section."))) createItem(unLockSectionMap, unLockSection, LS_("String_Unlock",NLSTEMP_("Unlock")), 'U', null, modKeyCtrl, null ,null, LS_("String_Unlock_section_containing_the_current_object",NLSTEMP_("Unlock section containing the current object.")), LS_("String_Object_is_not_in_a_locked_section",NLSTEMP_("Object is not in a locked section."))) } /* insertLockItems */ void insertPopupLockItems(){ createItem(popupLockSectionMap, lockSection, LS_("String_Lock",NLSTEMP_("Lock")), 'L', null, modKeyCtrl, null ,null, LS_("String_Lock_section_containing_the_current_object",NLSTEMP_("Lock section containing the current object.")), LS_("String_Object_is_not_in_a_section",NLSTEMP_("Object is not in a section."))) createItem(popupUnLockSectionMap, unLockSection, LS_("String_Unlock",NLSTEMP_("Unlock")), 'U', null, modKeyCtrl, null ,null, LS_("String_Unlock_section_containing_the_current_object",NLSTEMP_("Unlock section containing the current object.")), LS_("String_Object_is_not_in_a_locked_section",NLSTEMP_("Object is not in a locked section."))) }//insertPoptLockItems void createFormalFileMenu(){ createMenu(alwaysOn, LS_("String_File",NLSTEMP_("File")), 'F', null); createItem modSaveItem createItem(saveAndUnLockAllSectionsMap, saveAndUnlockAllSections, LS_("String_Save_and_Unlock_All_Sections",NLSTEMP_("Save and Unlock All Sections")), 'A', null, modKeyCtrl, null , null, LS_("String_Saves_module_and_unlocks_any_locked_sections_in_the_module",NLSTEMP_("Saves module and unlocks any locked sections in the module")), LS_("String_No_locked_sections_found",NLSTEMP_("No locked sections found"))) separator createMenu(alwaysOn, LS_("String_Baseline",NLSTEMP_("Baseline")), 'B', null) createItem(alwaysOn, LS_("String_New",NLSTEMP_("New...")), 'N', null, modKeyCtrl, null ,null, LS_("String_Create_a_new_baseline_version_of_the_module",NLSTEMP_("Create a new baseline version of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/createBaseline.dxl"))) createItem(alwaysOn, LS_("String_View_1",NLSTEMP_("View...")), 'V', null, modKeyCtrl, null ,null, LS_("String_View_an_existing_baseline_of_the_module",NLSTEMP_("View an existing baseline of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/openBaseline.dxl"))) createItem(alwaysOn, LS_("String_Copy",NLSTEMP_("Copy...")), 'C', null, modKeyCtrl, null ,null, LS_("String_Copy_an_existing_baseline_of_the_module",NLSTEMP_("Copy an existing baseline of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/copyBaseline.dxl"))) createItem(alwaysOn, LS_("String_Compare_1",NLSTEMP_("Compare...")), 'm', null, modKeyCtrl, null ,null, LS_("String_Compare_two_versions_of_the_module",NLSTEMP_("Compare two versions of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/compareBaseline.dxl"))) createItem(canDeleteBaseline, LS_("String_Delete_1",NLSTEMP_("Delete...")), 'D', null, modKeyCtrl, null ,null, LS_("String_Delete_an_existing_baseline_of_the_module",NLSTEMP_("Delete an existing baseline of the module.")), LS_("String_You_have_no_access_to_delete_a_baseline_of_the_module",NLSTEMP_("You have no access to delete a baseline of the module.")), doorsHome (NLS_("/lib/dxl/standard/baseline/deleteBaseline.dxl"))) end menu //Baseline separator createMenu(alwaysOn, LS_("String_Export",NLSTEMP_("Export")), 'E', null) createMenu(alwaysOn, (NLS_("Microsoft Office")), 'O', null) createItem(exportToWordMap, (NLS_("Word...")), 'W', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_Microsoft_Word",NLSTEMP_("Export the module to Microsoft Word.")), null, doorsHome (NLS_("/lib/dxl/standard/export/office/word.dxl"))) createItem(alwaysOn, (NLS_("Excel...")), 'E', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_Microsoft_Excel",NLSTEMP_("Export the module to Microsoft Excel.")), null, doorsHome (NLS_("/lib/dxl/standard/export/office/excel.dxl"))) createItem(alwaysOn, (NLS_("Outlook...")), 'O', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_Microsoft_Outlook",NLSTEMP_("Export the module to Microsoft Outlook.")), null, doorsHome (NLS_("/lib/dxl/standard/export/office/outlook.dxl"))) createItem(alwaysOn, (NLS_("PowerPoint...")), 'P', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_Microsoft_PowerPoint",NLSTEMP_("Export the module to Microsoft PowerPoint.")), null, doorsHome (NLS_("/lib/dxl/standard/export/office/powerpnt.dxl"))) end menu //Microsoft Office createMenu(alwaysOn, (LS_("String_Rational_Document_Generation", NLSTEMP_("Document Generation"))), 'R', null) createItem(configureModuleRPEMap, (LS_("String_Configure_Module", NLSTEMP_("Configure Module..."))), 'C', null, modKeyCtrl, null, null, LS_("String_configure_module_for_Document_Generation", NLSTEMP_("Add header, footer, and logo attributes to the module for Document Generation")), null, doorsHome (NLS_("/lib/dxl/standard/export/RPE_Light/rpe_configure.dxl"))) createItem(alwaysOn, (LS_("String_Micorosft_Word", NLSTEMP_("Microsoft Word..."))), 'W', null, modKeyCtrl, null, null, LS_("String_Export_the_module_to_Microsoft_Word", NLSTEMP_("Export the module to Microsoft Word.")), null, doorsHome (NLS_("/lib/dxl/standard/export/RPE_Light/rpe_to_word.dxl"))) createItem(alwaysOn, (LS_("String_PDF", NLSTEMP_("PDF..."))), 'P', null, modKeyCtrl, null, null, LS_("String_Export_the_module_to_pdf", NLSTEMP_("Export the module to PDF")), null, doorsHome (NLS_("/lib/dxl/standard/export/RPE_Light/rpe_to_pdf.dxl"))) createItem(alwaysOn, (LS_("String_HTML", NLSTEMP_("HTML..."))), 'H', null, modKeyCtrl, null, null, LS_("String_Export_the_module_to_html", NLSTEMP_("Export the module to HTML")), null, doorsHome (NLS_("/lib/dxl/standard/export/RPE_Light/rpe_to_html.dxl"))) end menu //RPE Export createItem(alwaysOn, LS_("String_HTML",NLSTEMP_("HTML...")), 'H', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_an_HTML_file",NLSTEMP_("Export the module to an HTML file.")), null, doorsHome (NLS_("/lib/dxl/standard/export/html.dxl"))) createItem(alwaysOn, LS_("String_Plain_Text",NLSTEMP_("Plain Text...")), 'T', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_a_plain_text_file",NLSTEMP_("Export the module to a plain text file.")), null, doorsHome (NLS_("/lib/dxl/standard/export/plainexp.dxl"))) createItem(alwaysOn, LS_("String_Rich_Text_Format",NLSTEMP_("Rich Text Format...")), 'R', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_an_RTF_file",NLSTEMP_("Export the module to an RTF file.")), null, doorsHome (NLS_("/lib/dxl/standard/export/rtfexp.dxl"))) createItem(alwaysOn, LS_("String_Spreadsheet",NLSTEMP_("Spreadsheet...")), 'd', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_a_spreadsheet_file",NLSTEMP_("Export the module to a spreadsheet file.")), null, doorsHome (NLS_("/lib/dxl/standard/export/commas.dxl"))) createItem(alwaysOn, (NLS_("FrameMaker...")), 'F', null, modKeyCtrl, null ,null, LS_("String_Export_the_module_to_a_FrameMaker_file",NLSTEMP_("Export the module to a FrameMaker file.")), null, doorsHome (NLS_("/lib/dxl/standard/export/frameexp.dxl"))) end menu // export createMenu(alwaysOn, LS_("String_Import",NLSTEMP_("Import")), 'I', null) createItem(alwaysOn, LS_("String_Plain_Text",NLSTEMP_("Plain Text...")), 'T', null, modKeyCtrl, null ,null, LS_("String_Import_from_a_plain_text_file",NLSTEMP_("Import from a plain text file.")), null, doorsHome (NLS_("/lib/dxl/standard/import/plainim.dxl"))) createItem(alwaysOn, LS_("String_Rich_Text_Format",NLSTEMP_("Rich Text Format...")), 'R', null, modKeyCtrl, null ,null, LS_("String_Import_from_an_RTF_file",NLSTEMP_("Import from an RTF file.")), null, doorsHome (NLS_("/lib/dxl/standard/import/rtfim.dxl"))) createItem(alwaysOn, LS_("String_Spreadsheet",NLSTEMP_("Spreadsheet...")), 'd', null, modKeyCtrl, null ,null, LS_("String_Import_from_a_spreadsheet_file",NLSTEMP_("Import from a spreadsheet file.")), null, doorsHome (NLS_("/lib/dxl/standard/import/commas.dxl"))) createItem(alwaysOn, (NLS_("FrameMaker...")), 'F', null, modKeyCtrl, null ,null, LS_("String_Import_from_a_FrameMaker_file",NLSTEMP_("Import from a FrameMaker file.")), null, doorsHome (NLS_("/lib/dxl/standard/import/frameim.dxl"))) end menu //Import separator createItem(alwaysOn, showModuleProperties, LS_("String_Module_Properties",NLSTEMP_("Module Properties...")), 'M', null, modKeyCtrl, null ,null, LS_("String_Edit_the_properties_of_this_module",NLSTEMP_("Edit the properties of this module.")), null) separator createItem(alwaysOn, LS_("String_Page_Setup_1",NLSTEMP_("Page Setup...")), 'g', null, modKeyCtrl, null ,null, LS_("String_Edit_the_printing_options",NLSTEMP_("Edit the printing options.")), null, doorsHome (NLS_("/lib/dxl/standard/pageSetup/pageSetup.dxl"))) createItem modPrintPreviewItem createItem modPrintItem separator //createItem modCloseItem createItem(alwaysOn, closeModule,LS_("String_Close",NLSTEMP_("Close")), 'C', null, modKeyCtrl, null ,null, LS_("String_Close_the_current_module",NLSTEMP_("Close the current module.")), null) end menu// File }//createFormalFileMenu void createFormalNewEditMenu(){ createMenu(alwaysOn, LS_("String_Edit_1",NLSTEMP_("Edit")), 'E', null) createItem undoItem createItem undoItemCut createItem undoItemModify createItem undoItemDelete createItem undoItemUndelete separator createItem clipCutItem createMenu clipCopyMenu createItem clipCopyFlatItem createItem clipCopyHierItem end menu //clipCopyMenu createMenu clipPasteMenu createItem clipPasteItem createItem clipPasteDownItem end menu if (platform == (NLS_("WIN32"))) { createItem OLEPasteSpecialItem } createItem clipClearItem separator createItem(needsCurrentObject, LS_("String_Find_1",NLSTEMP_("Find...")), 'F', 'F', modKeyCtrl, null ,null, LS_("String_Find_in_the_current_module",NLSTEMP_("Find in the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/search/search.dxl"))) createItem(needsCurrentObject, findNextKey, LS_("String_Find_Next",NLSTEMP_("Find Next")), 'N', keyF3, null, null, null,LS_("String_Find_next_in_the_current_module",NLSTEMP_("Find next in the current module.")), null) createItem(needsCurrentObject, findPreviousKey, LS_("String_Find_Previous",NLSTEMP_("Find Previous")), 'v', keyF3, modKeyShift, null, null,LS_("String_Find_previous_in_the_current_module",NLSTEMP_("Find previous in the current module.")), null) createItem(needsCurrentObject, LS_("String_Replace_2",NLSTEMP_("Replace...")), 'R', null, modKeyCtrl, null ,null, LS_("String_Replace_in_the_current_module",NLSTEMP_("Replace in the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/search/replace.dxl"))) createItem(needsCurrentObject, LS_("String_Go_To_1",NLSTEMP_("Go To...")), 'G', 'G', modKeyCtrl, null ,null, LS_("String_Go_to_objects_in_the_current_module",NLSTEMP_("Go to objects in the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/search/goto.dxl"))) separator createItem(alwaysOn, editColumns, LS_("String_Columns_2",NLSTEMP_("Columns...")), 'm', null, modKeyCtrl, null ,null, LS_("String_Edit_columns_in_current_module_1",NLSTEMP_("Edit columns in current module.")), (NLS_(""))) createItem(alwaysOn, editAttributes, LS_("String_Attributes_1",NLSTEMP_("Attributes...")), 'A', null, modKeyCtrl, null ,null, LS_("String_Edit_attributes_in_current_module_1",NLSTEMP_("Edit attributes in current module.")), (NLS_(""))) createItem(alwaysOn, editTypes, LS_("String_Types_1",NLSTEMP_("Types...")), 'T', null, modKeyCtrl, null ,null, LS_("String_Edit_attribute_types_in_current_module_1",NLSTEMP_("Edit attribute types in current module.")), (NLS_(""))) separator createMenu(needsCurrentObject, LS_("String_Object_1",NLSTEMP_("Object")), 'O', null), createItem(needsCurrentObject, showObjectProperties, LS_("String_Properties",NLSTEMP_("Properties...")), 'P', 'E', modKeyCtrl, null, null, LS_("String_Edit_the_properties_of_the_selected_object",NLSTEMP_("Edit the properties of the selected object.")), LS_("String_You_have_no_access_to_edit_the_properties_of_the_selected_object",NLSTEMP_("You have no access to edit the properties of the selected object."))) separator createItem objPromoteItem createItem objDemoteItem separator createItem objUndeleteItem createItem objDeleteItem createItem objPurgeItem separator createItem (canSwapHeadingAndText, swapObjHeadingAndText, LS_("String_Swap_Object_Heading_and_Text",NLSTEMP_("Swap Object Heading and Text")), 'w', null, modKeyCtrl, null, null, LS_("String_Swaps_Object_Heading_and_Object_Text_values",NLSTEMP_("Swaps Object Heading and Object Text values")), LS_("String_Available_only_if_the_user_has_access_rights_required_to_edit_the_current_object",NLSTEMP_("Available only if the user has access rights required to edit the current object"))) createItem (canSplitHeadingAndText, splitObjHeadingAndText, LS_("String_Split",NLSTEMP_("Split")), 't', null, modKeyCtrl, null, null, LS_("String_Moves_the_Object_Heading_into_a_new_object",NLSTEMP_("Moves the Object Heading into a new object")), LS_("String_Available_only_if_the_user_has_access_rights_required_to_edit_the_current_object",NLSTEMP_("Available only if the user has access rights required to edit the current object"))) end menu createMenu(needsCurrentObject, LS_("String_In_Place",NLSTEMP_("In-Place")), 'I', null) createItem inplaceHeadingItem createItem inplaceTextItem createItem inplaceAttrItem createItem inplaceAcceptItem createItem inplaceRejectItem createItem inplaceResetAttrItem separator createItem inplaceTextBulletItem createItem inplaceTextIncreaseIndentItem createItem inplaceTextDecreaseIndentItem end menu// In Place separator createItem(canPurgeObjectsMap, purgeDeletedObjects, LS_("String_Purge_All",NLSTEMP_("Purge All")), 'A', null, null, null ,null, LS_("String_Purge_all_deleted_objects",NLSTEMP_("Purge all deleted objects.")), LS_("String_You_cannot_purge_all_deleted_objects",NLSTEMP_("You cannot purge all deleted objects."))) separator createMenu(needsCurrentObject, LS_("String_Section",NLSTEMP_("Section")), 'S', null) insertLockItems() end menu // Section createMenu(alwaysOn, LS_("String_Edit_Mode",NLSTEMP_("Edit Mode")), 'E', null) createItem(setReadOnlyMap, setReadOnly, LS_("String_Read_Only",NLSTEMP_("Read-Only")), 'R', ddbToggle, modKeyCtrl, null ,null, LS_("String_Set_the_module_read_only",NLSTEMP_("Set the module read-only.")), (NLS_(""))) createItem(setShareableMap, setShareable, LS_("String_Shareable_Edit",NLSTEMP_("Shareable Edit")), 'S', ddbToggle, modKeyCtrl, null ,null, LS_("String_Set_the_module_shareable",NLSTEMP_("Set the module shareable.")), (NLS_(""))) createItem(setExclusiveMap, setExclusive, LS_("String_Exclusive_Edit",NLSTEMP_("Exclusive Edit")), 'E', ddbToggle, modKeyCtrl, null ,null, LS_("String_Set_the_module_exclusive_edit",NLSTEMP_("Set the module exclusive edit.")), (NLS_(""))) end menu // EditMode createItem(oleObjectSelectedMap, oleProperties, LS_("String_OLE_Object_Properties",NLSTEMP_("OLE Object Properties...")), null, null, null, null ,null, LS_("String_Edit_OLE_object_properties",NLSTEMP_("Edit OLE object properties.")), (NLS_(""))) createItem OLEVerbItem end menu //"Edit" }//creatFormalNewEditMenu //***************************************************************************** // FUNCTION: createFormalInsertMenu // DESCRIPTION:generates the insert menu in the formal document window // // MODIFICATION HISTORY //----------------------------------------------------------------------------- //01/02/00|RLM|added Insert Picture menu //----------------------------------------------------------------------------- void createFormalInsertMenu(){ createMenu(alwaysOn,LS_("String_Insert",NLSTEMP_("Insert")), 'I', null) createItem(canCreateNewObjectAfter, newObjectAfter, LS_("String_Object_1",NLSTEMP_("Object")), 'O', 'N', modKeyCtrl, null ,null, LS_("String_Insert_a_new_object",NLSTEMP_("Insert a new object.")), LS_("String_You_cannot_insert_a_new_object_here",NLSTEMP_("You cannot insert a new object here.")) ) createItem(canCreateNewObjectBelow, newObjectBelow, LS_("String_Object_Below",NLSTEMP_("Object Below")), 'l', 'L', modKeyCtrl, null ,null, LS_("String_Insert_a_new_object_below_the_current",NLSTEMP_("Insert a new object below the current.")), LS_("String_You_cannot_insert_a_new_object_here",NLSTEMP_("You cannot insert a new object here.")) ) separator createItem(alwaysOn, LS_("String_Column_2",NLSTEMP_("Column...")), 'C', null, modKeyCtrl, null ,null, LS_("String_Insert_a_new_column",NLSTEMP_("Insert a new column.")), LS_("String_You_cannot_insert_a_new_column",NLSTEMP_("You cannot insert a new column.")), doorsHome (NLS_("/lib/dxl/standard/column/columnNew.dxl"))) separator createItem(alwaysOn, LS_("String_Symbol_1",NLSTEMP_("Symbol...")), 'S', null, modKeyCtrl, null ,null, LS_("String_Insert_a_symbol",NLSTEMP_("Insert a symbol.")), LS_("String_You_must_be_editing_an_object_to_insert_a_symbol",NLSTEMP_("You must be editing an object to insert a symbol.")) , doorsHome (NLS_("/lib/dxl/utils/charsel.dxl"))) createItem(canInsertPictureInOrAfterOrBelow, LS_("String_Picture",NLSTEMP_("Picture...")), 'P', null, modKeyCtrl, null ,null, LS_("String_Insert_a_picture_from_file",NLSTEMP_("Insert a picture from file.")), LS_("String_You_cannot_insert_a_picture_here",NLSTEMP_("You cannot insert a picture here.")) , doorsHome (NLS_("/lib/dxl/standard/insert/picture/Insert.dxl"))) if (platform == (NLS_("WIN32"))) { createItem OLEInsertItem // accelerator key is E } createItem(canInsertTemplate, LS_("String_Template_1",NLSTEMP_("Template...")), 'T', null, modKeyCtrl, null ,null, LS_("String_Insert_objects_from_a_template",NLSTEMP_("Insert objects from a template.")), LS_("String_You_cannot_insert_a_template_here",NLSTEMP_("You cannot insert a template here.")) , doorsHome (NLS_("/lib/dxl/standard/formal/insertTemplate.dxl"))) end menu //"Insert" }//createFormalInsertMenu void createFormalNewViewMenu(){ createMenu(alwaysOn, LS_("String_View_Formal",NLSTEMP_("View")), 'V', null ) createItem(viewsMap, saveAsViews, LS_("String_Save_As",NLSTEMP_("Save As...")), 'S', null, modKeyCtrl, null ,null, LS_("String_Save_the_current_view",NLSTEMP_("Save the current view.")), null) createItem(viewsMap, reloadViews, LS_("String_Reload",NLSTEMP_("Reload")), 'R', null, modKeyCtrl, null ,null, LS_("String_Reload_the_current_view",NLSTEMP_("Reload the current view.")), null) createItem(viewsMap, manageViews, LS_("String_Manage_Views",NLSTEMP_("Manage Views...")), 'M', null, modKeyCtrl, null ,null, LS_("String_Edit_existing_views_1",NLSTEMP_("Edit existing views.")), null) createItem(moduleIsBaseline, viewSignatures, LS_("String_Signatures",NLSTEMP_("Signatures")), 'i', null, modKeyCtrl, null, null, LS_("String_View_Add_and_Configure_baseline_signatures",NLSTEMP_("View, Add and Configure baseline signatures.")), null) separator createItem(toggleExplorerMap, toggleExplorer, LS_("String_Module_Explorer",NLSTEMP_("Module Explorer")), 'E', ddbToggle, modKeyCtrl, null ,null, LS_("String_Turn_Module_Explorer_on_or_off",NLSTEMP_("Turn Module Explorer on or off.")), null ) createItem(toggleFilteredExplorerMap, toggleFilteredExplorer, LS_("String_Apply_Filtering_to_Explorer",NLSTEMP_("Apply Filtering to Explorer")), 'F', ddbToggle, modKeyCtrl, null ,null, LS_("String_Turn_filtering_on_Module_Explorer_on_or_off",NLSTEMP_("Turn filtering on Module Explorer on or off.")), null ) createItem(toggleGraphicsMap, toggleGraphics, LS_("String_Graphics_Mode",NLSTEMP_("Graphics Mode")), 'G', ddbToggle, modKeyCtrl, null ,null, LS_("String_Turn_graphics_mode_on_or_off",NLSTEMP_("Turn graphics mode on or off.")), null ) createItem(toggleOutlineMap, toggleOutline, LS_("String_Outline",NLSTEMP_("Outline")), 'O', ddbToggle, modKeyCtrl, null ,null, LS_("String_Turn_outlining_on_or_off",NLSTEMP_("Turn outlining on or off.")), null ) createItem(toggleCompressMap, toggleCompress, LS_("String_Compress",NLSTEMP_("Compress")), 'L', ddbToggle, modKeyCtrl, null ,null, LS_("String_Compress_the_hierarchy_below_the_current_object",NLSTEMP_("Compress the hierarchy below the current object.")), LS_("String_Outlining_must_be_turned_on_to_compress",NLSTEMP_("Outlining must be turned on to compress.")) ) createMenu(alwaysOn, LS_("String_Level",NLSTEMP_("Level")), 'L', null) addLevelItems() end menu //level separator createItem(viewsMap, tableAttributeSettings, LS_("String_Table_Attributes_1",NLSTEMP_("Table Attributes...")), 'T', null, modKeyCtrl, null ,null, LS_("String_Edit_default_table_attribute",NLSTEMP_("Edit default table attribute.")), null) separator createMenu(alwaysOn, LS_("String_Show",NLSTEMP_("Show")), 'h', null) createItem(toggleSortMap, toggleSort, LS_("String_Sort",NLSTEMP_("Sort")), 'S', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_sorting_on_or_off",NLSTEMP_("Turn sorting on or off.")), null) createItem(toggleFilterMap, toggleFilter, LS_("String_Filter",NLSTEMP_("Filter")), 'F', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_filtering_on_or_off",NLSTEMP_("Turn filtering on or off.")), null) createItem(toggleDeletionsMap, toggleDeletions, LS_("String_Deletions",NLSTEMP_("Deletions")), 'D', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_show_deletions_on_or_off",NLSTEMP_("Turn show deletions on or off.")), null) createItem(togglePicturesMap, togglePictures, LS_("String_Pictures",NLSTEMP_("Pictures")), 'P', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_pictures_mode_on_or_off",NLSTEMP_("Turn pictures mode on or off.")), null) createItem(toggleTableCellsMap, toggleTableCells, LS_("String_Table_Cells",NLSTEMP_("Table Cells")), 'T', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_display_of_table_cells_on_or_off",NLSTEMP_("Turn display of table cells on or off.")), null) createItem(toggleLinksMap, toggleLinks, LS_("String_Link_Arrows",NLSTEMP_("Link Arrows")), 'L', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_display_of_link_arrows_on_or_off",NLSTEMP_("Turn display of link arrows on or off.")), null) createItem(toggleChangeBarsMap, toggleChangeBars, LS_("String_Change_Bars",NLSTEMP_("Change Bars")), 'B', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_display_of_change_bars_on_or_off",NLSTEMP_("Turn display of change bars on or off.")), null) createItem(toggleGraphLinksMap, toggleGraphLinks, LS_("String_Graphics_Links",NLSTEMP_("Graphics Links")), 'p', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_display_of_links_in_Graphics_mode_on_or_off",NLSTEMP_("Turn display of links in Graphics mode on or off.")), LS_("String_You_must_be_in_graphics_mode",NLSTEMP_("You must be in graphics mode."))) createItem(toggleGraphTipsMap, toggleGraphTips, LS_("String_Graphics_Datatips",NLSTEMP_("Graphics Datatips")), 'D', ddbToggle, modKeyCtrl, null, null, LS_("String_Turn_the_display_of_datatips_in_Graphics_mode_on_or_off",NLSTEMP_("Turn the display of datatips in Graphics mode on or off.")), LS_("String_You_must_be_in_graphics_mode",NLSTEMP_("You must be in graphics mode."))) end menu // Show 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/customizeToolbarsModule.dxl"))) separator createItem(isExplorerOnMap, syncModule, LS_("String_Refresh_Explorer",NLSTEMP_("Refresh Explorer")), 'f', keyF5, modKeyShift, null, null, LS_("String_Selects_the_current_object_in_the_module_explorer",NLSTEMP_("Selects the current object in the module explorer.")), LS_("String_Only_available_when_the_module_explorer_is_visible",NLSTEMP_("Only available when the module explorer is visible."))) createItem(alwaysOn, refreshModule, LS_("String_Refresh",NLSTEMP_("Refresh")), 'e', keyF5, modKeyNone, null, null, LS_("String_Refreshes_the_display",NLSTEMP_("Refreshes the display.")), null) end menu //View }//createFormalNewViewMenu int canAddExternalLink() { Object currentObj = current Object int map = menuUnavailable_ if (!null currentObj && !isDeleted currentObj) { if (canWrite(currentObj)) { map = menuAvailable_ } } return map } // OSLC create new link type callback void createOSLCLink(_x data) { Module m = current OSLCServiceProvider serviceProvider = data newCollabLink(m, serviceProvider) } /********************************************************************** ** OSLCPopup Menu */ void createOSLCPopupMenu() { bool separatorNeeded = false Skip serviceProvidersByType = null getOSLCServiceProvidersByCreatableType(serviceProvidersByType) Skip providers for providers in serviceProvidersByType do { //FIXME: Localization issue // It is not proper to just tack the service name after the word new. // This should be done with some kind of formatter so that the // word order may be localized string menuName = (LS_("String_New_2", NLSTEMP_("New"))) " " getLocalisedOslcLinkTypeName(getOslcLinkTypeFromUri(string key serviceProvidersByType)) createMenu(canAddExternalLink, menuName, null, null) OSLCServiceProvider serviceProvider for serviceProvider in providers do { createItem(canAddExternalLink, createOSLCLink, serviceProvider.title, null, null, modKeyCtrl, null, null, null, null, serviceProvider) } end menu separatorNeeded = true } if (separatorNeeded) separator } void createExternalLinkDXLItem() { createItem(canAddExternalLink, LS_("String_New_External_Link",NLSTEMP_("Make External Link...")),'w', null,modKeyCtrl, null, null, LS_("String_Create_a_link_from_this_object_to_an_external_item",NLSTEMP_("Create a link from this object to an external item.")), LS_("String_You_have_no_access_to_create_an_external_link",NLSTEMP_("You have no access to create an external link.")), doorsHome (NLS_("/lib/dxl/standard/links/newExtLink.dxl"))) } void createFormalNewLinkMenu() { createMenu(alwaysOn,LS_("String_Link",NLSTEMP_("Link")), 'L', null) createItem linkStartItem createItem linkClearStartItem separator createItem linkCompleteFromItem createItem linkCompleteToItem createExternalLinkDXLItem() separator createOSLCPopupMenu() createItem(needsCurrentObject, showObjectLinks, LS_("String_Edit_Links",NLSTEMP_("Edit Links...")), 'E', null, modKeyCtrl, null, null, LS_("String_Edit_the_links_to_and_from_the_current_object",NLSTEMP_("Edit the links to and from the current object.")), LS_("String_There_must_be_a_current_object",NLSTEMP_("There must be a current object."))) separator createMenu(alwaysOn, LS_("String_Delete",NLSTEMP_("Delete")), 'D', null) createItem(alwaysOn, LS_("String_Delete_Links_1",NLSTEMP_("Delete Links...")), 'D', null, modKeyCtrl, null, null, LS_("String_Delete_links_in_the_current_module",NLSTEMP_("Delete links in the current module.")), (NLS_("")) , doorsHome (NLS_("/lib/dxl/standard/links/dellinks.dxl"))) createItem(alwaysOn, LS_("String_Delete_All_Links",NLSTEMP_("Delete All Links...")), 'A', null, modKeyCtrl, null, null, LS_("String_Delete_all_the_links_in_the_current_module",NLSTEMP_("Delete all the links in the current module.")), (NLS_("")) , doorsHome (NLS_("/lib/dxl/standard/links/delalllk.dxl"))) createItem(alwaysOn, LS_("String_Delete_All_External_Links",NLSTEMP_("Delete All External Links...")), 'x', null, modKeyCtrl, null, null, LS_("String_Delete_all_the_links_in_the_current_module",NLSTEMP_("Delete all the links in the current module.")), (NLS_("")) , doorsHome (NLS_("/lib/dxl/standard/links/delallextlk.dxl"))) end menu separator createMenu(alwaysOn, LS_("String_Advanced",NLSTEMP_("Advanced")), 'A', null) createItem(alwaysOn, LS_("String_Create_Links_1",NLSTEMP_("Create Links...")), 'r', null, modKeyCtrl, null, null, LS_("String_Create_multiple_links_in_one_action",NLSTEMP_("Create multiple links in one action.")), (NLS_("")) , doorsHome (NLS_("/lib/dxl/standard/links/crtlinks.dxl"))) createItem(alwaysOn, LS_("String_Link_by_Attribute_1",NLSTEMP_("Link by Attribute...")), 't', null, modKeyCtrl, null, null, LS_("String_Create_links_based_on_attribute_values",NLSTEMP_("Create links based on attribute values.")), (NLS_("")) , doorsHome (NLS_("/lib/dxl/standard/links/links.dxl"))) end menu end menu }//createFormalNewLinkMenu void createFormalAnalysisMenu(){ createMenu(alwaysOn, LS_("String_Analysis",NLSTEMP_("Analysis")), 'A' , null) createItem(needsCurrentObject, LS_("String_Links_1",NLSTEMP_("Links...")), 'I', null, modKeyCtrl, null, null, LS_("String_Analyze_links_to_and_from_the_current_object",NLSTEMP_("Analyze links to and from the current object.")), LS_("String_There_must_be_a_current_object",NLSTEMP_("There must be a current object.")), doorsHome (NLS_("/lib/dxl/standard/impact/impact.dxl"))) createItem(needsCurrentObject, LS_("String_Wizard",NLSTEMP_("Wizard...")), 'W', null, modKeyCtrl, null, null, LS_("String_Adds_a_column_showing_impact_and_trace_information",NLSTEMP_("Adds a column showing impact and trace information.")), null, doorsHome (NLS_("/lib/dxl/standard/impact/tracewiz.dxl"))) separator createItem(needsCurrentObject, LS_("String_Traceability_Explorer",NLSTEMP_("Traceability Explorer")), 'E', null, modKeyCtrl, null, null, LS_("String_Displays_an_explorer_style_trace_and_impact_view",NLSTEMP_("Displays an explorer-style trace and impact view.")), null, doorsHome (NLS_("/lib/dxl/standard/impact/twar.dxl"))) separator createMenu(needsCurrentObject, LS_("String_Suspect_Links",NLSTEMP_("Suspect Links")), 'S', null) createMenu(alwaysOn, LS_("String_Display_All_Changes",NLSTEMP_("Display All Changes")), 'A', null) createItem(alwaysOn, LS_("String_In_links_open_modules_only",NLSTEMP_("In-links (open modules only)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_all_changes_for_suspect_in_linked_objects_Open_modules_only",NLSTEMP_("Inserts a column displaying all changes for suspect in-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/info_in_open.dxl"))) createItem(alwaysOn, LS_("String_In_links_all_modules",NLSTEMP_("In-links (all modules)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_all_changes_for_suspect_in_linked_objects_Open_and_closed_modules",NLSTEMP_("Inserts a column displaying all changes for suspect in-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/info_in_all.dxl"))) createItem(alwaysOn, LS_("String_Out_links_open_modules_only",NLSTEMP_("Out-links (open modules only)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_all_changes_for_suspect_out_linked_objects_Open_modules_only",NLSTEMP_("Inserts a column displaying all changes for suspect out-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/info_out_open.dxl"))) createItem(alwaysOn, LS_("String_Out_links_all_modules",NLSTEMP_("Out-links (all modules)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_all_changes_for_suspect_out_linked_objects_Open_and_closed_modules",NLSTEMP_("Inserts a column displaying all changes for suspect out-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/info_out_all.dxl"))) end menu createMenu(alwaysOn, LS_("String_Display_Indicators",NLSTEMP_("Display Indicators")), 'D', null) createItem(alwaysOn, LS_("String_In_links_open_modules_only",NLSTEMP_("In-links (open modules only)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_indicators_for_suspect_in_linked_objects_Open_modules_only",NLSTEMP_("Inserts a column displaying indicators for suspect in-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/indicate/indicate_in_open.dxl"))) createItem(alwaysOn, LS_("String_In_links_all_modules",NLSTEMP_("In-links (all modules)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_indicators_for_suspect_in_linked_objects_Open_and_closed_modules",NLSTEMP_("Inserts a column displaying indicators for suspect in-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/indicate/indicate_in_all.dxl"))) createItem(alwaysOn, LS_("String_Out_links_open_modules_only",NLSTEMP_("Out-links (open modules only)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_indicators_for_suspect_out_linked_objects_Open_modules_only",NLSTEMP_("Inserts a column displaying indicators for suspect out-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/indicate/indicate_out_open.dxl"))) createItem(alwaysOn, LS_("String_Out_links_all_modules",NLSTEMP_("Out-links (all modules)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_indicators_for_suspect_out_linked_objects_Open_and_closed_modules",NLSTEMP_("Inserts a column displaying indicators for suspect out-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/indicate/indicate_out_all.dxl"))) end menu createMenu(alwaysOn, LS_("String_Display_Last_Change",NLSTEMP_("Display Last Change")), 'L', null) createItem(alwaysOn, LS_("String_In_links_open_modules_only",NLSTEMP_("In-links (open modules only)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_the_last_change_for_suspect_in_linked_objects_Open_modules_only",NLSTEMP_("Inserts a column displaying the last change for suspect in-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/summary_in_open.dxl"))) createItem(alwaysOn, LS_("String_In_links_all_modules",NLSTEMP_("In-links (all modules)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_the_last_change_for_suspect_in_linked_objects_Open_and_closed_modules",NLSTEMP_("Inserts a column displaying the last change for suspect in-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/summary_in_all.dxl"))) createItem(alwaysOn, LS_("String_Out_links_open_modules_only",NLSTEMP_("Out-links (open modules only)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_the_last_change_for_suspect_out_linked_objects_Open_modules_only",NLSTEMP_("Inserts a column displaying the last change for suspect out-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/summary_out_open.dxl"))) createItem(alwaysOn, LS_("String_Out_links_all_modules",NLSTEMP_("Out-links (all modules)")), 'X', null, null, null, null, LS_("String_Inserts_a_column_displaying_a_summary_the_last_change_for_out_linked_objects_Open_and_closed_modules",NLSTEMP_("Inserts a column displaying a summary the last change for out-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/show/summary_out_all.dxl"))) end menu separator createMenu(alwaysOn, LS_("String_Filter",NLSTEMP_("Filter")), 'F', null) createItem(alwaysOn, LS_("String_In_links_open_modules_only",NLSTEMP_("In-links (open modules only)")), 'X', null, null, null, null, LS_("String_Filters_the_module_to_only_display_suspect_in_linked_objects_Open_modules_only",NLSTEMP_("Filters the module to only display suspect in-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/filter/filter_in_open.dxl"))) createItem(alwaysOn, LS_("String_In_links_all_modules",NLSTEMP_("In-links (all modules)")), 'X', null, null, null, null, LS_("String_Filters_the_module_to_only_display_suspect_in_linked_objects_Open_and_closed_modules",NLSTEMP_("Filters the module to only display suspect in-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/filter/filter_in_all.dxl"))) createItem(alwaysOn, LS_("String_Out_links_open_modules_only",NLSTEMP_("Out-links (open modules only)")), 'X', null, null, null, null, LS_("String_Filters_the_module_to_only_display_suspect_out_linked_objects_Open_modules_only",NLSTEMP_("Filters the module to only display suspect out-linked objects. Open modules only.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/filter/filter_out_open.dxl"))) createItem(alwaysOn, LS_("String_Out_links_all_modules",NLSTEMP_("Out-links (all modules)")), 'X', null, null, null, null, LS_("String_Filters_the_module_to_only_display_suspect_out_linked_objects_Open_and_closed_modules",NLSTEMP_("Filters the module to only display suspect out-linked objects. Open and closed modules.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/filter/filter_out_all.dxl"))) end menu separator createItem(canClearSuspicionMap, LS_("String_Clear_1",NLSTEMP_("Clear...")), 'C', null, null, null, null, LS_("String_Allows_suspicion_to_be_cleared_for_specific_in_linked_out_linked_objects",NLSTEMP_("Allows suspicion to be cleared for specific in-linked / out-linked objects.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/clear/clear.dxl"))) createItem(canClearAllSuspicionMap, LS_("String_Clear_All_1",NLSTEMP_("Clear All...")), 'A', null, null, null, null, LS_("String_Allows_suspicion_to_be_cleared_for_all_in_linked_out_linked_objects",NLSTEMP_("Allows suspicion to be cleared for all in-linked / out-linked objects.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/clear_all/clear_all.dxl"))) createItem(canClearAllLockedSuspicionMap, LS_("String_Clear_All_Locked",NLSTEMP_("Clear All Locked...")), 'A', null, null, null, null, LS_("String_Allows_suspicion_to_be_cleared_for_all_locked_in_linked_out_linked_objects",NLSTEMP_("Allows suspicion to be cleared for all locked in-linked / out-linked objects.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/clear_all/clear_all.dxl"))) end menu end menu //Analyis }//createFormalAnalysisMenu void createFormalNewToolsMenu(){ createMenu(alwaysOn, LS_("String_Tools",NLSTEMP_("Tools")), 'T', null ) createMenu(alwaysOn, LS_("String_Filter",NLSTEMP_("Filter")), 'F', null) createItem(alwaysOn, LS_("String_Define",NLSTEMP_("Define...")), 'D', null, modKeyCtrl, null ,null, LS_("String_Filter_the_current_module",NLSTEMP_("Filter the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/filter/filter_simple.dxl" ))) createItem(filterMap, reapplyFilter, LS_("String_Reapply",NLSTEMP_("Reapply")), 'R', null, modKeyCtrl, null ,null,LS_("String_Reapply_the_current_filter",NLSTEMP_("Reapply the current filter.")), LS_("String_There_is_no_filter_defined",NLSTEMP_("There is no filter defined."))) end menu//Filter createItem(alwaysOn, LS_("String_Sort_1",NLSTEMP_("Sort...")), 'S', null, modKeyCtrl, null ,null, LS_("String_Sort_the_current_module",NLSTEMP_("Sort the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/sort/advsort.dxl" ))) createItem(spellCheckMap, spellCheck, LS_("String_Spelling_1",NLSTEMP_("Spelling...")), 'p', 'K', modKeyCtrl, null, null, LS_("String_Check_the_spelling_of_the_objects_in_the_current_module",NLSTEMP_("Check the spelling of the objects in the current module.")), null) separator createMenu(alwaysOn, LS_("String_Functions",NLSTEMP_("Functions")), 'u', null) createItem(needsAnyObject, LS_("String_Copy_Objects_1",NLSTEMP_("Copy Objects...")), 'C', null, null, null, null, LS_("String_This_function_allows_objects_to_be_copied",NLSTEMP_("This function allows objects to be copied.")), null, doorsHome (NLS_("/lib/dxl/standard/fns/copyobjs.dxl"))) createItem(needsAnyObject, LS_("String_Split_Object_Text_1",NLSTEMP_("Split Object Text...")), 'S', null, null, null, null, LS_("String_This_function_allows_object_text_to_be_split",NLSTEMP_("This function allows object text to be split.")), null, doorsHome (NLS_("/lib/dxl/standard/fns/splitobj.dxl"))) createItem(needsAnyObject, LS_("String_Merge_Objects_1",NLSTEMP_("Merge Objects...")), 'M', null, null, null, null, (NLS_("")), null, doorsHome (NLS_("/lib/dxl/standard/fns/mergeobj.dxl"))) separator createItem(canCopyAttributes, LS_("String_Copy_Attributes",NLSTEMP_("Copy Attributes...")), 'A', null, null, null, null, LS_("String_Copies_the_value_of_one_attribute_to_another_within_the_current_Module",NLSTEMP_("Copies the value of one attribute to another, within the current Module.")), null, doorsHome (NLS_("/lib/dxl/standard/fns/copyAttributes.dxl"))) separator createItem(needsAnyObject, LS_("String_Statistics_1",NLSTEMP_("Statistics...")), 's', null, null, null, null, LS_("String_Generic_DOORS_statistics",NLSTEMP_("Generic DOORS statistics.")), null, doorsHome (NLS_("/lib/dxl/standard/fns/doorsst.dxl"))) end menu//Functions createMenu(alwaysOn, LS_("String_Wizards",NLSTEMP_("Wizards")), 'W', null) createItem(alwaysOn, LS_("String_Report_1",NLSTEMP_("Report...")), 'R', null, modKeyCtrl, null, null, LS_("String_This_wizard_will_guide_you_through_creating_a_new_report",NLSTEMP_("This wizard will guide you through creating a new report.")), null, doorsHome (NLS_("/lib/dxl/standard/reports/wizard/wizard.dxl"))) createItem(alwaysOn, LS_("String_Graph",NLSTEMP_("Graph...")), 'G', null, modKeyCtrl, null, null, LS_("String_This_wizard_will_guide_you_through_creating_a_column_containing_graphs",NLSTEMP_("This wizard will guide you through creating a column containing graphs.")), null, doorsHome (NLS_("/lib/dxl/wizard/graph/graphwiz.dxl"))) createItem(alwaysOn, LS_("String_Icon",NLSTEMP_("Icon...")), 'I', null, modKeyCtrl, null, null, LS_("String_This_wizard_will_guide_you_through_creating_a_column_containing_icons",NLSTEMP_("This wizard will guide you through creating a column containing icons.")), null, doorsHome (NLS_("/lib/dxl/wizard/icons/iconwiz.dxl"))) end menu createMenu(alwaysOn, LS_("String_Support_Tools",NLSTEMP_("Support Tools")), 'M', null) createItem(needsCurrentObject, LS_("String_Edit_Paragraph_Style_Attribute",NLSTEMP_("Edit Paragraph Style Attribute...")), 'X', null, modKeyCtrl, null, null, LS_("String_Allows_structured_editing_of_the_Paragraph_Style_attribute",NLSTEMP_("Allows structured editing of the \"Paragraph Style\" attribute.")), null, doorsHome (NLS_("/lib/dxl/standard/doctools/parastyl.dxl"))) separator createItem(needsCurrentObjectNotInplaceEdit, LS_("String_Set_OLE_Size_For_Current_Object",NLSTEMP_("Set OLE Size For Current Object")), 'X', null, modKeyCtrl, null, null, LS_("String_Sets_the_width_of_all_OLEs_in_the_current_object_in_the_main_column_to_its_width_maintaining_aspect_ratio",NLSTEMP_("Sets the width of all OLEs in the current object in the main column to its width (maintaining aspect ratio).")), null, doorsHome (NLS_("/lib/dxl/standard/doctools/setOLEWidth_current.dxl"))) createItem(notInplaceEdit, LS_("String_Set_OLE_Size_In_All_Objects",NLSTEMP_("Set OLE Size In All Objects")), 'X', null, modKeyCtrl, null, null, LS_("String_Sets_the_width_of_all_OLE_objects_in_the_main_column_to_its_width_maintaining_aspect_ratio",NLSTEMP_("Sets the width of all OLE objects in the main column to its width (maintaining aspect ratio).")), null, doorsHome (NLS_("/lib/dxl/standard/doctools/setOLEWidth_all.dxl"))) separator createItem(needsCurrentObjectNotInplaceEdit, LS_("String_Reset_OLE_Size_In_Current_Object",NLSTEMP_("Reset OLE Size In Current Object")), 'X', null, modKeyCtrl, null, null, LS_("String_Resets_the_width_and_height_of_all_OLEs_in_the_current_object_in_the_Object_Text_attribute",NLSTEMP_("Resets the width and height of all OLEs in the current object in the Object Text attribute.")), null, doorsHome (NLS_("/lib/dxl/standard/doctools/resetOLESize_current.dxl"))) createItem(notInplaceEdit, LS_("String_Reset_OLE_Size_In_All_Objects",NLSTEMP_("Reset OLE Size In All Objects")), 'X', null, modKeyCtrl, null, null, LS_("String_Resets_the_width_and_height_of_all_OLE_objects_in_the_Object_Text_attribute",NLSTEMP_("Resets the width and height of all OLE objects in the Object Text attribute.")), null, doorsHome (NLS_("/lib/dxl/standard/doctools/resetOLESize_all.dxl"))) separator createItem(canConvertColumnDXLMap, LS_("String_Convert_Layout_DXL_To_Attribute_DXL",NLSTEMP_("Convert Layout DXL To Attribute DXL")), 'X', null, modKeyCtrl, null, null, LS_("String_Converts_Layout_DXL_columns_in_the_current_view_into_attribute_DXL",NLSTEMP_("Converts Layout DXL columns in the current view into attribute DXL.")), null, doorsHome (NLS_("/lib/dxl/standard/doctools/column2attr.dxl"))) end menu createItem(alwaysOn, LS_("String_Refresh_DXL_Attributes",NLSTEMP_("Refresh DXL Attributes")), 'R', null, modKeyCtrl, null ,null, LS_("String_Re_run_the_DXL_in_DXL_attributes",NLSTEMP_("Re-run the DXL in DXL attributes.")), null, doorsHome (NLS_("/lib/dxl/utils/wipeattr.dxl" ))) createItem(alwaysOn, LS_("String_Compare_Modules",NLSTEMP_("Compare Modules...")), 'C', null, modKeyCtrl, null ,null, LS_("String_Compare_this_module_with_another_module_or_baseline",NLSTEMP_("Compare this module with another module or baseline.")), null, doorsHome (NLS_("/lib/dxl/standard/compwizard/compwiz.dxl" ))) createItem(alwaysOn, LS_("String_Setup_for_Sharing_1",NLSTEMP_("Setup for Sharing...")), 'S', null, modKeyCtrl, null, null, LS_("String_Create_sections_in_the_current_module",NLSTEMP_("Create sections in the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/tools/sections.dxl" ))) createItem(adminOnly, LS_("String_Check_data_against_history",NLSTEMP_("Check data against history...")), 'S', null, modKeyCtrl, null, null, LS_("String_Check_the_current_module_data_against_history",NLSTEMP_("Check the current module data against history.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/dbintegrity/moduleDataCheck.dxl" ))) separator createMenu(cpsModuleOptionMap, LS_("String_Change_Proposal_System",NLSTEMP_("Change Proposal System")), 'C', null) createItem(cpsSubmitMap, LS_("String_Submit_Change_Proposal",NLSTEMP_("Submit Change Proposal...")), 'S', null, modKeyCtrl, null, null, LS_("String_Submit_a_proposal_against_the_current_module",NLSTEMP_("Submit a proposal against the current module.")), LS_("String_You_cannot_submit_a_change_proposal",NLSTEMP_("You cannot submit a change proposal.")), doorsHome (NLS_("/lib/dxl/standard/cps/submit/submit.dxl"))) separator createItem(cpsPartnerMap, LS_("String_Open_CP_Partner",NLSTEMP_("Open CP Partner")), 'O', null, modKeyCtrl, null, null, LS_("String_Open_partner_Change_Proposal_module",NLSTEMP_("Open partner Change Proposal module.")), LS_("String_You_cannot_open_the_partner_change_proposal_module",NLSTEMP_("You cannot open the partner change proposal module.")), doorsHome (NLS_("/lib/dxl/standard/cps/partner/partner.dxl"))) separator createItem(cpsReviewMap, LS_("String_Review_1",NLSTEMP_("Review...")), 'R', null, modKeyCtrl, null, null, LS_("String_Review_proposals",NLSTEMP_("Review proposals.")), LS_("String_You_cannot_review_proposals",NLSTEMP_("You cannot review proposals.")), doorsHome (NLS_("/lib/dxl/standard/cps/review/review.dxl"))) createItem(cpsCheckCPsMap, LS_("String_Check_1",NLSTEMP_("Check...")), 'h', null, modKeyCtrl, null, null, LS_("String_Check_change_proposals_for_conflicts",NLSTEMP_("Check change proposals for conflicts.")), LS_("String_You_cannot_check_for_conflicts",NLSTEMP_("You cannot check for conflicts.")), doorsHome (NLS_("/lib/dxl/standard/cps/check/check.dxl"))) createItem(cpsApplyMap, LS_("String_Apply_ungrouped",NLSTEMP_("Apply ungrouped...")), 'A', null, modKeyCtrl, null, null, LS_("String_Apply_approved_ungrouped_proposals",NLSTEMP_("Apply approved ungrouped proposals.")), LS_("String_You_cannot_apply_approved_ungrouped_proposals",NLSTEMP_("You cannot apply approved ungrouped proposals.")), doorsHome (NLS_("/lib/dxl/standard/cps/apply/apply.dxl"))) separator createItem(cpsStapleMap, LS_("String_Manage_duplicate_sets",NLSTEMP_("Manage duplicate sets...")), 'd', null, modKeyCtrl, null, null, LS_("String_Add_proposals_to_duplicate_sets",NLSTEMP_("Add proposals to duplicate sets.")), LS_("String_You_cannot_manage_duplicate_sets",NLSTEMP_("You cannot manage duplicate sets.")), doorsHome (NLS_("/lib/dxl/standard/cps/staple/staple.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"))) separator createItem(cpsShowMap, LS_("String_Show_Information_1",NLSTEMP_("Show Information...")), 'I', null, modKeyCtrl, null, null, LS_("String_Show_proposal_information_for_the_current_module",NLSTEMP_("Show proposal information for the current module.")), LS_("String_You_cannot_show_proposal_information_for_the_current_module",NLSTEMP_("You cannot show proposal information for the current module.")), doorsHome (NLS_("/lib/dxl/standard/cps/show/show.dxl"))) end menu // change proposal system separator createMenu(alwaysOn, LS_("String_Test_Tracking",NLSTEMP_("Test Tracking")), '3', null) createItem(canTestTrackObjectMap, LS_("String_Create_Update_Test_Definitions",NLSTEMP_("Create/Update Test Definitions")), 'D', null, modKeyCtrl, null, null, LS_("String_Create_Update_the_attributes_used_for_test_definitions_and_results",NLSTEMP_("Create/Update the attributes used for test definitions and results.")), LS_("String_Only_available_in_exclusive_edit_mode",NLSTEMP_("Only available in exclusive edit mode.")), doorsHome (NLS_("/lib/dxl/standard/testTracking/t3_setup.dxl"))) createItem(canTestTrackObjectMap, LS_("String_Create_Test_Run",NLSTEMP_("Create Test Run")), 'R', null, modKeyCtrl, null, null, LS_("String_Create_attributes_to_store_the_results_of_a_new_test_run",NLSTEMP_("Create attributes to store the results of a new test run.")), LS_("String_Only_available_in_exclusive_edit_mode",NLSTEMP_("Only available in exclusive edit mode.")), doorsHome (NLS_("/lib/dxl/standard/testTracking/t3_createRun.dxl"))) createItem(alwaysOn, LS_("String_Compare_Test_Runs",NLSTEMP_("Compare Test Runs")), 'C', null, modKeyCtrl, null, null, LS_("String_Compare_the_results_of_two_test_runs",NLSTEMP_("Compare the results of two test runs.")), null, doorsHome (NLS_("/lib/dxl/standard/testTracking/t3_compareRuns.dxl"))) createItem(canGetT3DataMap, LS_("String_Enter_Test_Run_Results",NLSTEMP_("Enter Test Run Results")), 'E', null, modKeyCtrl, null, null, LS_("String_Enter_the_results_of_a_test_run",NLSTEMP_("Enter the results of a test run.")), LS_("String_Only_available_in_exclusive_edit_mode",NLSTEMP_("Only available in exclusive edit mode.")), doorsHome (NLS_("/lib/dxl/standard/testTracking/t3_editTest.dxl"))) createItem(canTestTrackObjectMap, LS_("String_Define_Test_Run_Results_Form",NLSTEMP_("Define Test Run Results Form")), 'F', null, modKeyCtrl, null, null, LS_("String_Define_the_form_to_be_used_for_entering_test_run_results",NLSTEMP_("Define the form to be used for entering test run results.")), LS_("String_Only_available_in_exclusive_edit_mode",NLSTEMP_("Only available in exclusive edit mode.")), (NLS_(doorsHome "/lib/dxl/standard/testTracking/t3_define.dxl"))) end menu // T3 separator createMenu(alwaysOn, LS_("String_Forms",NLSTEMP_("Forms")), 'o', null) createItem(moduleFormExistsNew, LS_("String_New_Form",NLSTEMP_("New Form")), 'N', null, modKeyCtrl, null, null, LS_("String_Create_a_new_form",NLSTEMP_("Create a new form.")), LS_("String_You_cannot_create_a_form",NLSTEMP_("You cannot create a form.")), (NLS_(doorsHome "/lib/dxl/standard/moduleForms/createNewForm.dxl"))) createItem(moduleFormExistsEdit, LS_("String_Edit_Form",NLSTEMP_("Edit Form")), 'E', null, modKeyCtrl, null, null, LS_("String_Edit_a_form",NLSTEMP_("Edit a form.")), LS_("String_You_cannot_edit_a_form",NLSTEMP_("You cannot edit a form.")), (NLS_(doorsHome "/lib/dxl/standard/moduleForms/editExistingForm.dxl"))) createItem(moduleFormExistsRun, LS_("String_Run_Form",NLSTEMP_("Run Form")), 'R', null, modKeyCtrl, null, null, LS_("String_Run_a_form",NLSTEMP_("Run a form.")), LS_("String_You_cannot_run_a_form",NLSTEMP_("You cannot run a form.")), (NLS_(doorsHome "/lib/dxl/standard/moduleForms/runForm.dxl"))) separator createItem(moduleFormExistsDelete, LS_("String_Delete_Form",NLSTEMP_("Delete Form")),'D', null, modKeyCtrl, null, null, LS_("String_Delete_a_form",NLSTEMP_("Delete a form.")), LS_("String_You_cannot_delete_a_form",NLSTEMP_("You cannot delete a form.")), (NLS_(doorsHome "/lib/dxl/standard/moduleForms/deleteForm.dxl"))) end menu // Module forms separator createItem editDXLItem createItem browseDXLItem end menu }//createFormalNewToolsMenu void createFormalNewTableMenu(){ createMenu(alwaysOn,LS_("String_Table",NLSTEMP_("Table")), 'b', null ) createMenu(alwaysOn, LS_("String_Insert",NLSTEMP_("Insert")), 'I', null) createItem(canCreateNewTableObjectAfter, LS_("String_After_1",NLSTEMP_("After...")), 'A', null, modKeyCtrl, null ,null, LS_("String_Insert_a_new_table",NLSTEMP_("Insert a new table.")), LS_("String_You_cannot_insert_a_table_here",NLSTEMP_("You cannot insert a table here.")) , doorsHome (NLS_("/lib/dxl/standard/tables/Insert/newtable.dxl"))) createItem(canCreateNewTableObjectBelow, LS_("String_Below_1",NLSTEMP_("Below...")), 'B', null, modKeyCtrl, null ,null, LS_("String_Insert_a_new_table",NLSTEMP_("Insert a new table.")), LS_("String_You_cannot_insert_a_table_here",NLSTEMP_("You cannot insert a table here.")) , doorsHome (NLS_("/lib/dxl/standard/tables/Insert/newtablb.dxl"))) createItem(canCreateNewTableObjectBelow, LS_("String_Module_as_Table",NLSTEMP_("Module as Table...")), 'M', null, modKeyCtrl, null ,null, LS_("String_Insert_a_new_table_based_on_an_existing_module",NLSTEMP_("Insert a new table based on an existing module.")), LS_("String_You_cannot_insert_a_table_here",NLSTEMP_("You cannot insert a table here.")) , doorsHome (NLS_("/lib/dxl/standard/tables/insertModuleAsTable.dxl"))) separator createMenu(alwaysOn, LS_("String_Cell",NLSTEMP_("Cell")), 'l', null) createItem(insertCellMap, LS_("String_To_the_Right",NLSTEMP_("To the Right")), 'R', null, modKeyCtrl, null, null, LS_("String_Insert_a_cell_to_the_right_of_the_current_cell",NLSTEMP_("Insert a cell to the right of the current cell.")), LS_("String_You_cannot_insert_a_cell_here",NLSTEMP_("You cannot insert a cell here.")), doorsHome (NLS_("/lib/dxl/standard/tables/Insert/cellRight.dxl"))) createItem(insertCellMap, LS_("String_To_the_Left",NLSTEMP_("To the Left")), 'L', null, modKeyCtrl, null, null, LS_("String_Insert_a_cell_to_the_left_of_the_current_cell",NLSTEMP_("Insert a cell to the left of the current cell.")), LS_("String_You_cannot_insert_a_cell_here",NLSTEMP_("You cannot insert a cell here.")), doorsHome (NLS_("/lib/dxl/standard/tables/Insert/cellLeft.dxl"))) end menu createMenu(alwaysOn, LS_("String_Row",NLSTEMP_("Row")), 'R', null) createItem(insertRowMap, LS_("String_Above",NLSTEMP_("Above")), 'A', null, modKeyCtrl, null, null, LS_("String_Insert_a_row_above_the_current_cell",NLSTEMP_("Insert a row above the current cell.")), LS_("String_You_cannot_insert_a_row_here",NLSTEMP_("You cannot insert a row here.")), doorsHome (NLS_("/lib/dxl/standard/tables/Insert/rowAbove.dxl"))) createItem(insertRowMap, LS_("String_Below",NLSTEMP_("Below")), 'B', null, modKeyCtrl, null, null, LS_("String_Insert_a_row_below_the_current_cell",NLSTEMP_("Insert a row below the current cell.")), LS_("String_You_cannot_insert_a_row_here",NLSTEMP_("You cannot insert a row here.")), doorsHome (NLS_("/lib/dxl/standard/tables/Insert/rowBelow.dxl"))) end menu createMenu(alwaysOn, LS_("String_Column",NLSTEMP_("Column")), 'C', null) createItem(insertCellMap, LS_("String_To_the_Right",NLSTEMP_("To the Right")), 'R', null, modKeyCtrl, null, null, LS_("String_Insert_a_column_to_the_right_of_the_current_cell",NLSTEMP_("Insert a column to the right of the current cell.")), LS_("String_You_cannot_insert_a_column_here",NLSTEMP_("You cannot insert a column here.")), doorsHome (NLS_("/lib/dxl/standard/tables/Insert/columnRight.dxl"))) createItem(insertCellMap, LS_("String_To_the_Left",NLSTEMP_("To the Left")), 'L', null, modKeyCtrl, null, null, LS_("String_Insert_a_column_to_the_left_of_the_current_cell",NLSTEMP_("Insert a column to the left of the current cell.")), LS_("String_You_cannot_insert_a_column_here",NLSTEMP_("You cannot insert a column here.")), doorsHome (NLS_("/lib/dxl/standard/tables/Insert/columnLeft.dxl"))) end menu end menu //Insert createMenu(alwaysOn, LS_("String_Delete",NLSTEMP_("Delete")), 'D', null) createItem(tableDeleteMap, LS_("String_Table",NLSTEMP_("Table")), 'D', null, modKeyCtrl, null ,null, LS_("String_Delete_the_current_table",NLSTEMP_("Delete the current table.")), null , doorsHome (NLS_("/lib/dxl/standard/tables/delete/table.dxl"))) separator createItem tableDeleteCellItem createItem tableDeleteRowItem createItem tableDeleteColItem end menu // Delete createMenu(alwaysOn, LS_("String_Undelete",NLSTEMP_("Undelete")), 'D', null) createItem(tableUndeleteMap, LS_("String_Table",NLSTEMP_("Table")), 'U', null, modKeyCtrl, null ,null, LS_("String_Undelete_the_current_table",NLSTEMP_("Undelete the current table.")), LS_("String_You_must_select_a_deleted_table",NLSTEMP_("You must select a deleted table.")) , doorsHome (NLS_("/lib/dxl/standard/tables/undelete/table.dxl"))) separator createItem tableUndeleteCellItem createItem tableUndeleteRowItem createItem tableUndeleteColItem end menu //Undelete createMenu(alwaysOn, LS_("String_Purge",NLSTEMP_("Purge")), 'D', null) createItem(tableUndeleteMap, LS_("String_Table",NLSTEMP_("Table")), 'U', null, modKeyCtrl, null ,null, LS_("String_Purge_the_current_table",NLSTEMP_("Purge the current table.")), LS_("String_You_must_select_a_deleted_table",NLSTEMP_("You must select a deleted table.")) , doorsHome (NLS_("/lib/dxl/standard/tables/purge/table.dxl"))) separator createItem(tableCellPurgeMap, LS_("String_Cell",NLSTEMP_("Cell")), 'U', null, modKeyCtrl, null ,null, LS_("String_Purge_the_current_cell",NLSTEMP_("Purge the current cell.")), LS_("String_You_must_select_a_deleted_cell",NLSTEMP_("You must select a deleted cell.")) , doorsHome (NLS_("/lib/dxl/standard/tables/purge/cell.dxl"))) createItem(tableRowPurgeMap, LS_("String_Row",NLSTEMP_("Row")), 'U', null, modKeyCtrl, null ,null, LS_("String_Purge_the_current_row",NLSTEMP_("Purge the current row.")), LS_("String_You_must_select_a_cell_in_a_deleted_row",NLSTEMP_("You must select a cell in a deleted row.")) , doorsHome (NLS_("/lib/dxl/standard/tables/purge/row.dxl"))) createItem(tableColPurgeMap, LS_("String_Column",NLSTEMP_("Column")), 'U', null, modKeyCtrl, null ,null, LS_("String_Purge_the_current_column",NLSTEMP_("Purge the current column.")), LS_("String_You_must_select_a_cell_in_a_deleted_column",NLSTEMP_("You must select a cell in a deleted column.")) , doorsHome (NLS_("/lib/dxl/standard/tables/purge/column.dxl"))) end menu //Undelete separator createItem(tablePropertiesMap, LS_("String_Properties",NLSTEMP_("Properties...")), 'P', null, modKeyCtrl, null ,null, LS_("String_Edit_the_current_table_s_properties",NLSTEMP_("Edit the current table's properties.")), LS_("String_Available_when_the_current_object_is_within_a_table",NLSTEMP_("Available when the current object is within a table.")) , doorsHome (NLS_("/lib/dxl/standard/tables/property.dxl"))) end menu //table }//createFormalNewTableMenu /********************************************************************** ** createTableMenu */ void createTableMenu() { createMenu(alwaysOn, LS_("String_Old_Table",NLSTEMP_("Old Table")), 'O', null ) createItem tableCreateItem createItem tableCreateDownItem createItem (tableCreateItem, LS_("String_Insert_module_as_a_Table",NLSTEMP_("Insert module as a Table...")), 'i', null, null, null, LS_("String_Create_a_table_from_a_formal_module_view",NLSTEMP_("Create a table from a formal module view")), LS_("String_Create_a_table_from_a_formal_module_view",NLSTEMP_("Create a table from a formal module view")), doorsHome (NLS_("/lib/dxl/utils/view2tab.dxl"))) separator createItem tableDispOptsItem separator createItem tableDeleteItem createItem tableUndeleteItem separator createMenu tableCellMenu createItem tableInsertCellItem createItem tableAppendCellItem createItem tableDeleteCellItem createItem tableUndeleteCellItem createItem tableOptionCellItem end menu createMenu tableRowMenu createItem tableInsertRowItem createItem tableAppendRowItem createItem tableDeleteRowItem createItem tableUndeleteRowItem createItem tableOptionRowItem end menu createMenu tableColMenu createItem tableInsertColItem createItem tableAppendColItem createItem tableDeleteColItem createItem tableUndeleteColItem createItem tableOptionColItem end menu separator createItem tableBordersItem end menu } /* createTableMenu */ /********************************************************************** ** createLinkMenu */ void createLinkMenu() { createMenu linkMenu createItem linkStartItem createItem linkClearStartItem separator createItem linkCompleteFromItem createItem linkCompleteToItem createExternalLinkDXLItem() separator createItem linkRemoveItem end menu } /* createLinkMenu */ /********************************************************************** ** createFormalDiscussionsMenu */ void createFormalDiscussionsMenu() { createMenu(alwaysOn,LS_("String_Discussions",NLSTEMP_("Discussions")), 'D', null) createItem (objectRestrictedDiscussionMap, LS_("String_New_Object_Discussion",NLSTEMP_("New Object Discussion...")), 'N', null, modKeyNone, null, null, LS_("String_Create_a_new_discussion_for_the_current_object",NLSTEMP_("Create a new discussion for the current object.")), LS_("String_Only_available_when_the_user_has_suitable_access_rights_and_an_object_is_selected",NLSTEMP_("Only available when the user has suitable access rights and an object is selected.")), doorsHome (NLS_("/lib/dxl/standard/discussions/createObjectDiscussion.dxl"))) createItem (objectDiscussionMap, showObjectDiscussions, LS_("String_View_Object_Discussions",NLSTEMP_("View Object Discussions...")), 'V', null, modKeyNone, null, null, LS_("String_View_the_discussions_for_the_current_object",NLSTEMP_("View the discussions for the current object.")), LS_("String_Only_available_when_the_user_has_suitable_access_rights_and_an_object_is_selected",NLSTEMP_("Only available when the user has suitable access rights and an object is selected."))) createItem (moduleRestrictedDiscussionMap, LS_("String_New_Module_Discussion",NLSTEMP_("New Module Discussion...")), 'M', null, modKeyNone, null, null, LS_("String_Create_a_new_discussion_for_this_module",NLSTEMP_("Create a new discussion for this module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/discussions/createModuleDiscussion.dxl"))) createItem (alwaysOn, showModuleDiscussions, LS_("String_View_Module_Discussions",NLSTEMP_("View Module Discussions...")), 'w', null, modKeyNone, null, null, LS_("String_View_the_discussions_for_this_module",NLSTEMP_("View the discussions for this module.")), (NLS_(""))) end menu } /* createFormalDiscussionsMenu */ /********************************************************************** ** createAddinsMenus */ void createAddinsMenus() { createMenu(null, null, null, doorsHome (NLS_("/lib/dxl/addins"))) createAddinPathMenus((NLS_("DOORSADDINS"))) } /* createAddinsMenus */ /********************************************************************** ** createStandardButtonBar */ Sensitivity bbStandardCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_MODULE)) { return ddbChecked } else { return ddbAvailable } } void createStandardButtonBar() { createButtonBar(TB_BI_FORMAL_MODULE, bbStandardCB, false, false) createItem modSaveItem createItem modPrintItem createItem(alwaysOn, showModuleProperties, null, null, null, modKeyCtrl, (NLS_("module_properties.ico")), LS_("String_Edit_module_properties",NLSTEMP_("Edit module properties")), LS_("String_Edit_the_properties_of_this_module",NLSTEMP_("Edit the properties of this module.")), null) end buttonbar } /* createStandardButtonBar */ /********************************************************************** ** createFormalButtonBarHelp */ Sensitivity bbHelpCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_HELP)) { return ddbChecked } else { return ddbAvailable } } void createFormalButtonBarHelp() { createButtonBar(TB_BI_FORMAL_HELP, bbHelpCB, false, false) createEditableCombo helpCombo end buttonbar } /* createFormalButtonBarHelp */ /********************************************************************** ** createBaselineButtonBar */ Sensitivity bbBaselineCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_BASELINE)) { return ddbChecked } else { return ddbAvailable } } void createBaselineButtonBar() { createButtonBar(TB_BI_FORMAL_BASELINE, bbBaselineCB, true, false) createItem(null, null, null, null, (NLS_("create_baseline.ico")) ,LS_("String_Create_baseline",NLSTEMP_("Create baseline")), LS_("String_Create_a_new_baseline_of_the_module",NLSTEMP_("Create a new baseline of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/createBaseline.dxl"))) createItem(null, null, null, null, (NLS_("view_baseline.ico")) ,LS_("String_View_baseline",NLSTEMP_("View baseline")), LS_("String_View_an_existing_baseline_of_the_module",NLSTEMP_("View an existing baseline of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/openBaseline.dxl"))) createItem(null, null, null, null, (NLS_("copy_baseline.ico")) ,LS_("String_Copy_baseline",NLSTEMP_("Copy baseline")), LS_("String_Copy_an_existing_baseline_of_the_module",NLSTEMP_("Copy an existing baseline of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/copyBaseline.dxl"))) createItem(null, null, null, null, (NLS_("compare_baseline.ico")) ,LS_("String_Compare_baseline_versions",NLSTEMP_("Compare baseline versions")), LS_("String_Compare_two_versions_of_the_module",NLSTEMP_("Compare two versions of the module.")), null, doorsHome (NLS_("/lib/dxl/standard/baseline/compareBaseline.dxl"))) end buttonbar } /* createBaselineButtonBar */ /********************************************************************** ** createEditModeButtonBar */ Sensitivity bbEditModeCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_EDITMODE)) { return ddbChecked } else { return ddbAvailable } } void createEditModeButtonBar() { createButtonBar(TB_BI_FORMAL_EDITMODE, bbEditModeCB, false, false) createItem(setReadOnlyMap, setReadOnly, null, null, null, null, readModIcon, LS_("String_Read_Only",NLSTEMP_("Read-Only")), LS_("String_Set_the_module_for_read_only",NLSTEMP_("Set the module for read-only.")), null) createItem(setShareableMap, setShareable, null, null, null, null, shareModIcon, LS_("String_Shareable_Edit",NLSTEMP_("Shareable Edit")), LS_("String_Set_the_module_for_shareable",NLSTEMP_("Set the module for shareable.")), null) createItem(setExclusiveMap, setExclusive, null, null, null, null, editModIcon, LS_("String_Exclusive_Edit",NLSTEMP_("Exclusive Edit")), LS_("String_Set_the_module_for_exclusive_edit",NLSTEMP_("Set the module for exclusive edit.")), null) end buttonbar } /* createEditModeButtonBar */ /********************************************************************** ** createViewButtonBar */ Sensitivity bbViewCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_VIEW)) { return ddbChecked } else { return ddbAvailable } } void createViewButtonBar() { createButtonBar(TB_BI_FORMAL_VIEW, bbViewCB, true, true) createCombo viewCombo separator createCombo levelCombo end buttonbar } /* createViewButtonBar */ /********************************************************************** ** createDisplayButtonBar */ Sensitivity bbDisplayCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_DISPLAY)) { return ddbChecked } else { return ddbAvailable } } void createDisplayButtonBar() { createButtonBar(TB_BI_FORMAL_DISPLAY, bbDisplayCB, false, false) createItem(toggleExplorerMap, toggleExplorer, null, null ,null, modKeyCtrl, (NLS_("explorer.ico")), LS_("String_Module_Explorer",NLSTEMP_("Module Explorer")), LS_("String_Turn_Module_Explorer_on_or_off",NLSTEMP_("Turn Module Explorer on or off.")), null ) createItem(toggleFilteredExplorerMap, toggleFilteredExplorer, null, null ,null, modKeyCtrl, (NLS_("explorer_filtered.ico")), LS_("String_Apply_Filtering_to_Explorer",NLSTEMP_("Apply Filtering to Explorer")), LS_("String_Turn_Module_Explorer_Filtering_on_or_off",NLSTEMP_("Turn Module Explorer Filtering on or off.")), null ) createItem dispGraphicsItem createItem dispOutlineItem createItem dispFilteringItem createItem ( null, null, null, null, (NLS_("filterdi.ico")), LS_("String_Filter_properties",NLSTEMP_("Filter properties")), (NLS_("")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/filter/filter_simple.dxl"))) createItem(filterMap, reapplyFilter, null, null ,null, modKeyCtrl, (NLS_("filterre.ico")), LS_("String_Reapply_filter",NLSTEMP_("Reapply filter")), LS_("String_Reapply_filter_1",NLSTEMP_("Reapply filter.")), LS_("String_There_is_no_filter_defined",NLSTEMP_("There is no filter defined.")) ) createItem dispSortingItem end buttonbar } /* createDisplayButtonBar */ /********************************************************************** ** createColumnButtonBar */ Sensitivity bbColumnCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_COLUMN)) { return ddbChecked } else { return ddbAvailable } } void createColumnButtonBar() { createButtonBar(TB_BI_FORMAL_COLUMN, bbColumnCB, false, false) createColItems1(false, true) end buttonbar } /* createColumnButtonBar */ /********************************************************************** ** createColumnAlignButtonBar */ Sensitivity bbColumnAlignCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_ALIGNMENT)) { return ddbChecked } else { return ddbAvailable } } void createColumnAlignButtonBar() { createButtonBar(TB_BI_FORMAL_ALIGNMENT, bbColumnAlignCB, false, false) createColItems2(false, true) end buttonbar } /* createColumnAlignButtonBar */ /********************************************************************** ** createNavigateButtonBar */ Sensitivity bbNavigateCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_NAVIGATION)) { return ddbChecked } else { return ddbAvailable } } void createNavigateButtonBar() { createButtonBar(TB_BI_FORMAL_NAVIGATION, bbNavigateCB, false, false) createItem ( null, null, null, 'F', (NLS_("find.ico")), LS_("String_Find",NLSTEMP_("Find")) (NLS_(" (%a)")), LS_("String_Find_in_the_current_module",NLSTEMP_("Find in the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/search/search.dxl"))) createItem(alwaysOn,findPreviousKey, null , null, keyF3, modKeyShift, (NLS_("find_previous.ico")),LS_("String_Find_Previous",NLSTEMP_("Find Previous")) (NLS_(" (%a)")), LS_("String_Find_previous_in_the_current_module",NLSTEMP_("Find previous in the current module.")),null) createItem(alwaysOn,findNextKey, null , null, keyF3, null, (NLS_("find_next.ico")),LS_("String_Find_Next",NLSTEMP_("Find Next")) (NLS_(" (%a)")), LS_("String_Find_next_in_the_current_module",NLSTEMP_("Find next in the current module.")),null) createItem ( null, null, null, 'G', (NLS_("goto.ico")), LS_("String_Go_To",NLSTEMP_("Go To")) (NLS_(" (%a)")), LS_("String_Go_to_objects_in_the_current_module",NLSTEMP_("Go to objects in the current module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/search/goto.dxl"))) end buttonbar } /* createNavigateButtonBar */ /********************************************************************** ** createObjClipboardButtonBar */ Sensitivity bbObjectClipCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_CLIPBOARD)) { return ddbChecked } else { return ddbAvailable } } void createObjClipboardButtonBar() { createButtonBar(TB_BI_FORMAL_CLIPBOARD, bbObjectClipCB, false, false) createItem clipCutItem createItem clipCopyFlatItem createItem clipPasteItem end buttonbar } /* createObjClipboardButtonBar */ /********************************************************************** ** createSpellCheckButtonBar */ Sensitivity bbSpellCheckCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_SPELLING)) { return ddbChecked } else { return ddbAvailable } } void createSpellCheckButtonBar() { createButtonBar(TB_BI_FORMAL_SPELLING, bbSpellCheckCB, false, false) createItem(spellCheckMap, spellCheck, null, null, 'K', modKeyCtrl, (NLS_("spellche.ico")), LS_("String_Check_spelling",NLSTEMP_("Check spelling")) (NLS_(" (%a)")), LS_("String_Check_the_spelling_of_text_in_the_current_module",NLSTEMP_("Check the spelling of text in the current module.")), null) end buttonbar } /* createSpellCheckButtonBar */ /********************************************************************** ** createCommitChangeButtonBar */ Sensitivity bbCommitCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_COMMIT)) { return ddbChecked } else { return ddbAvailable } } void createCommitChangeButtonBar() { createButtonBar(TB_BI_FORMAL_COMMIT, bbCommitCB, false, false) createItem inplaceRejectItem createItem inplaceAcceptItem end buttonbar } /* createCommitChangeButtonBar */ /********************************************************************** ** createTableButtonBar */ Sensitivity bbTableCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_TABLE)) { return ddbChecked } else { return ddbAvailable } } void createTableButtonBar() { createButtonBar(TB_BI_FORMAL_TABLE, bbTableCB, false, false) createItem(canCreateNewObjectAfter, null, null, null, modKeyCtrl, (NLS_("tablecreate.ico")), LS_("String_Insert_a_new_table_1",NLSTEMP_("Insert a new table")), LS_("String_Insert_a_new_table_1",NLSTEMP_("Insert a new table")), LS_("String_You_cannot_insert_a_table_here",NLSTEMP_("You cannot insert a table here.")) , doorsHome (NLS_("/lib/dxl/standard/tables/Insert/newtable.dxl"))) createItem tableInsertColItem createItem tableInsertRowItem createItem(tablePropertiesMap, null, null, null, modKeyCtrl, (NLS_("tablesetborders.ico")), LS_("String_Table_properties",NLSTEMP_("Table properties...")), LS_("String_Edit_the_current_table_s_properties",NLSTEMP_("Edit the current table's properties.")), LS_("String_Available_when_the_current_object_is_within_a_table",NLSTEMP_("Available when the current object is within a table.")), doorsHome (NLS_("/lib/dxl/standard/tables/property.dxl"))) end buttonbar } /* createTableButtonBar */ /********************************************************************** ** createObjectButtonBar */ Sensitivity bbObjectCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_OBJECT)) { return ddbChecked } else { return ddbAvailable } } void createObjectButtonBar() { createButtonBar(TB_BI_FORMAL_OBJECT, bbObjectCB, false, false) createItem(canCreateNewObjectAfter, newObjectAfter, null, null, 'N', modKeyCtrl, (NLS_("crobsame.ico")), LS_("String_New_object_at_this_level",NLSTEMP_("New object at this level")) (NLS_(" (%a)")), LS_("String_Insert_a_new_object_at_the_same_level_as_the_current_object",NLSTEMP_("Insert a new object at the same level as the current object.")), LS_("String_You_cannot_insert_a_new_object_here",NLSTEMP_("You cannot insert a new object here.")) ) createItem(canCreateNewObjectBelow, newObjectBelow, null, null, 'L', modKeyCtrl, (NLS_("crobdown.ico")), LS_("String_New_object_below",NLSTEMP_("New object below")) (NLS_(" (%a)")), LS_("String_Insert_a_new_object_below_the_current_object",NLSTEMP_("Insert a new object below the current object.")), LS_("String_You_cannot_insert_a_new_object_here",NLSTEMP_("You cannot insert a new object here.")) ) createItem(needsCurrentObject, showObjectProperties, null, null, 'E', modKeyCtrl, (NLS_("object_properties.ico")), LS_("String_Edit_object_properties",NLSTEMP_("Edit object properties")) (NLS_(" (%a)")), LS_("String_Edit_the_properties_of_the_selected_object",NLSTEMP_("Edit the properties of the selected object.")), LS_("String_You_have_no_access_to_edit_the_properties_of_the_selected_object",NLSTEMP_("You have no access to edit the properties of the selected object."))) createItem objDeleteItem createItem objPromoteItem createItem objDemoteItem end buttonbar } /* createObjectButtonBar */ /********************************************************************** ** createObjEditButtonBar */ Sensitivity bbObjectEditCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_OBJECTEDIT)) { return ddbChecked } else { return ddbAvailable } } void createObjEditButtonBar() { createButtonBar(TB_BI_FORMAL_OBJECTEDIT, bbObjectEditCB, false, false) createItem inplaceHeadingItem createItem inplaceTextItem createItem (canSwapHeadingAndText, swapObjHeadingAndText, null, null, null, modKeyCtrl,(NLS_("swaphead.ico")), LS_("String_Swap_Object_Heading_and_Text",NLSTEMP_("Swap Object Heading and Text")), LS_("String_Swaps_the_Object_Heading_and_the_Object_Text_around_for_the_current_object_in_the_module_window",NLSTEMP_("Swaps the Object Heading and the Object Text around for the current object in the module window.")), LS_("String_Available_only_if_the_user_has_access_rights_required_to_edit_the_current_object",NLSTEMP_("Available only if the user has access rights required to edit the current object"))) end buttonbar } /* createObjEditButtonBar */ /********************************************************************** ** createLinkButtonBar */ Sensitivity bbLinkCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_LINK)) { return ddbChecked } else { return ddbAvailable } } void createLinkButtonBar() { createButtonBar(TB_BI_FORMAL_LINK, bbLinkCB, false, false) createItem linkStartItem createItem linkClearStartItem createItem linkCompleteFromItem createItem linkCompleteToItem createItem(canAddExternalLink, null, null, null, null, (NLS_("new_external_link.ico")), LS_("String_Make_new_external_link",NLSTEMP_("Make new external link")), LS_("String_Create_a_link_from_this_object_to_an_external_item",NLSTEMP_("Create a link from this object to an external item.")), LS_("String_You_have_no_access_to_create_an_external_link",NLSTEMP_("You have no access to create an external link.")), doorsHome (NLS_("/lib/dxl/standard/links/newExtLink.dxl"))) end buttonbar } /* createLinkButtonBar */ /********************************************************************** ** createTxtMarkupButtonBar */ Sensitivity bbTxtMarkupCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_FORMATTING)) { return ddbChecked } else { return ddbAvailable } } void createTxtMarkupButtonBar() { createButtonBar(TB_BI_FORMAL_FORMATTING, bbTxtMarkupCB, false, false) createItem inplaceTextBoldItem createItem inplaceTextItalicItem createItem inplaceTextUnderlineItem createItem inplaceTextStrikeThruItem separator createItem inplaceTextBulletItem createItem inplaceTextIncreaseIndentItem createItem inplaceTextDecreaseIndentItem end buttonbar } /* createTxtMarkupButtonBar */ /********************************************************************** ** createExportButtonBar */ Sensitivity bbExportCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_EXPORT)) { return ddbChecked } else { return ddbAvailable } } void createExportButtonBar() { if (platform == (NLS_("WIN32"))) { string wordVer=getRegistry((NLS_("HKEY_CLASSES_ROOT\\Word.Application\\CurVer")),(NLS_(""))) if( ! null wordVer) { createButtonBar(TB_BI_FORMAL_EXPORT, bbExportCB, false, false) createItem ( null, null, null, null, (NLS_("wordexport.ico")), LS_("String_Export_to_Microsoft_Word",NLSTEMP_("Export to Microsoft Word")), LS_("String_Export_to_Microsoft_Word_1",NLSTEMP_("Export to Microsoft Word.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/export/office/word.dxl"))) end buttonbar } } } /* createExportButtonBar */ /********************************************************************** ** createDiscussionButtonBar */ Sensitivity bbDiscussionCB() { Module tree = current(); if (toolBarVisible(tree, TB_BI_FORMAL_DISCUSSION)) { return ddbChecked } else { return ddbAvailable } } void createDiscussionButtonBar() { createButtonBar(TB_BI_FORMAL_DISCUSSION, bbDiscussionCB, false, false) createItem (objectRestrictedDiscussionMap, null, null, null, modKeyNone, (NLS_("new_object_discussion.ico")), LS_("String_Create_new_discussion_for_object",NLSTEMP_("Create new discussion for object")), LS_("String_Create_a_new_discussion_for_the_current_object",NLSTEMP_("Create a new discussion for the current object.")), LS_("String_Only_available_when_the_user_has_suitable_access_rights_and_an_object_is_selected",NLSTEMP_("Only available when the user has suitable access rights and an object is selected.")), doorsHome (NLS_("/lib/dxl/standard/discussions/createObjectDiscussion.dxl"))) createItem (objectDiscussionMap, showObjectDiscussions, null, null, null, modKeyNone, (NLS_("view_object_discussion.ico")), LS_("String_View_discussions_for_object",NLSTEMP_("View discussions for object")), LS_("String_View_the_discussions_for_the_current_object",NLSTEMP_("View the discussions for the current object.")), LS_("String_Only_available_when_the_user_has_suitable_access_rights_and_an_object_is_selected",NLSTEMP_("Only available when the user has suitable access rights and an object is selected."))) separator createItem (moduleRestrictedDiscussionMap, null, null, null, modKeyNone, (NLS_("new_module_discussion.ico")), LS_("String_Create_new_discussion_for_module",NLSTEMP_("Create new discussion for module")), LS_("String_Create_a_new_discussion_for_this_module",NLSTEMP_("Create a new discussion for this module.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/discussions/createModuleDiscussion.dxl"))) createItem (alwaysOn, showModuleDiscussions, null, null, null, modKeyNone, (NLS_("view_module_discussion.ico")), LS_("String_View_discussions_for_module",NLSTEMP_("View discussions for module")), LS_("String_View_the_discussions_for_this_module",NLSTEMP_("View the discussions for this module.")), (NLS_(""))) end buttonbar } /* createDiscussionButtonBar */ /********************************************************************** ** createFormalPopupMenu */ void createFormalPopupMenu() { createPopup createMenu(alwaysOn,LS_("String_Insert",NLSTEMP_("Insert")), 'I', null) createItem(canCreateNewObjectAfter, newObjectAfter, LS_("String_Object_1",NLSTEMP_("Object")), 'O', 'N', modKeyCtrl, null ,null, LS_("String_Insert_a_new_object",NLSTEMP_("Insert a new object.")), LS_("String_You_cannot_insert_a_new_object_here",NLSTEMP_("You cannot insert a new object here.")) ) createItem(canCreateNewObjectBelow, newObjectBelow, LS_("String_Object_Below",NLSTEMP_("Object Below")), 'l', 'L', modKeyCtrl, null ,null, LS_("String_Insert_a_new_object_below_the_current",NLSTEMP_("Insert a new object below the current.")), LS_("String_You_cannot_insert_a_new_object_here",NLSTEMP_("You cannot insert a new object here.")) ) end menu separator createMenu linkMenu createItem linkStartItem createItem linkClearStartItem separator createItem linkCompleteFromItem createItem linkCompleteToItem createExternalLinkDXLItem() separator createOSLCPopupMenu() createItem(needsCurrentObject, showObjectLinks, LS_("String_Edit_Links",NLSTEMP_("Edit Links...")), 'E', null, modKeyCtrl, null, null, LS_("String_Edit_the_links_to_and_from_the_current_object",NLSTEMP_("Edit the links to and from the current object.")), LS_("String_There_must_be_a_current_object",NLSTEMP_("There must be a current object."))) end menu separator createItem clipCutItem createMenu clipCopyMenu createItem clipCopyFlatItem createItem clipCopyHierItem end menu createItem clipCopyUrl createMenu clipPasteMenu createItem clipPasteItem createItem clipPasteDownItem end menu createItem objUndeleteItem createItem objDeleteItem createItem objPurgeItem separator createItem (objectRestrictedDiscussionMap, LS_("String_New_Object_Discussion",NLSTEMP_("New Object Discussion...")), 'N', null, modKeyNone, null, null, LS_("String_Create_a_new_discussion_for_the_current_object",NLSTEMP_("Create a new discussion for the current object.")), LS_("String_Only_available_when_the_user_has_suitable_access_rights_and_an_object_is_selected",NLSTEMP_("Only available when the user has suitable access rights and an object is selected.")), doorsHome (NLS_("/lib/dxl/standard/discussions/createObjectDiscussion.dxl"))) separator { Module currMod = current if ( !null currMod && hasPermission(currMod, read) && matches(S_CHANGE_PROPOSAL_SYSTEM (NLS_("$")), path(currMod)) ) { createItem(needsCurrentObject, LS_("String_Review_Change_Proposal",NLSTEMP_("Review Change Proposal...")), 'R', null, modKeyCtrl, null, null, LS_("String_Review_this_change_proposal",NLSTEMP_("Review this change proposal.")), null, doorsHome (NLS_("/lib/dxl/standard/cps/review/review.dxl"))) } else { createItem(cpsSubmitMap, LS_("String_Submit_Change_Proposal",NLSTEMP_("Submit Change Proposal...")), 'S', null, modKeyCtrl, null, null, LS_("String_Submit_a_proposal_against_the_current_object",NLSTEMP_("Submit a proposal against the current object.")), null, doorsHome (NLS_("/lib/dxl/standard/cps/submit/submit.dxl"))) } } separator createItem(needsCurrentObject, showObjectProperties, LS_("String_Properties",NLSTEMP_("Properties...")), 'r', null, modKeyCtrl, null , null, LS_("String_Edit_the_properties_of_the_selected_object",NLSTEMP_("Edit the properties of the selected object.")), null) createItem(tablePropertiesMap, LS_("String_Table_properties",NLSTEMP_("Table properties...")), 't', null, null, null, null, LS_("String_Edit_the_current_table_s_properties",NLSTEMP_("Edit the current table's properties.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/tables/property.dxl"))) separator insertLockItems separator createItem(canClearSuspicionMap, LS_("String_Clear_Suspicion",NLSTEMP_("Clear Suspicion...")), 'l', null, null, null ,null, LS_("String_Clear_suspicion_on_any_in_linked_and_out_linked_objects",NLSTEMP_("Clear suspicion on any in-linked and out-linked objects.")), (NLS_("")), doorsHome (NLS_("/lib/dxl/standard/suspect/clear/clear.dxl")) ) //run user defined popups in the following folder... autoRunDXLFolder((NLS_("lib/dxl/config/formalPopupFiles"))) end popup } /* createFormalPopupMenu */ /********************************************************************** ** Main Formal Module Code */ { createFormalFileMenu() createFormalNewEditMenu() createFormalNewViewMenu() createFormalInsertMenu() createFormalNewLinkMenu() createFormalAnalysisMenu() createFormalNewTableMenu() createFormalNewToolsMenu() createFormalDiscussionsMenu() createAddinsMenus //user defined formal menu entries autoRunDXLFolder((NLS_("lib/dxl/config/formalfiles"))) createHelpMenu() // Toolbar 1 createStandardButtonBar createObjClipboardButtonBar createSpellCheckButtonBar createCommitChangeButtonBar createObjEditButtonBar createTxtMarkupButtonBar createObjectButtonBar createTableButtonBar // Next line commented out because of bug in v1.3 of help SDK - replace when SDK upgraded //createFormalButtonBarHelp() // Toolbar 2 createViewButtonBar createColumnButtonBar createColumnAlignButtonBar createDisplayButtonBar createNavigateButtonBar // need to be updated createExportButtonBar // Toolbar 3 createBaselineButtonBar createLinkButtonBar createEditModeButtonBar createDiscussionButtonBar createFormalPopupMenu }