blob: 5f009ff33660e8f4b595480268a37f9c4b04b727 [file] [log] [blame]
///////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2000-2019 Ericsson Telecom AB //
// //
// All rights reserved. This program and the accompanying materials //
// are made available under the terms of the Eclipse Public License v2.0 //
// which accompanies this distribution, and is available at //
// https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.html //
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
// Module: EPTF_CLL_LoggingUI_PrivateFunctions
//
// Purpose:
// Creates xul definitions of the Gui elements.
//
// Module depends on:
// <EPTF_CLL_Logging_Definitions>
// <XTDP_PDU_Defs language>
// <XUL_XTDL language>
//
// Current Owner:
// Bence Molnar (EBENMOL)
//
// Last Review Date:
// 2008-01-15
//
// Detailed Comments:
// The functions creates xul definitions of the Gui elements. Theese xul definitions describes the entire table,
// the tabs, tabpanels, tables, tablerows and the checkboxes.
//
// <f_EPTF_LoggingUI_createHBox> - Function to create a xul definition of a hbox for the gui.
//
// <f_EPTF_LoggingUI_createTabBox> - Function to create a xul definition of a tabbox for the gui.
//
// <f_EPTF_LoggingUI_createTabPanel> - Function to create a xul definition of a tabpanel for the gui.
//
// <f_EPTF_LoggingUI_createTreeOfCheckBoxes> - Function to create a xul definition of the table of checkboxes for the enabling and mask flags on the gui.
//
// <f_EPTF_LoggingUI_createLoggingCheckBoxTable> - Function to create a xul definition of the table of checkboxes for the enabling and mask flags on the gui.
//
// <f_EPTF_LoggingUI_createLoggingCheckBoxTableRow> - Function to create a xul definition of a new row in the table of checkboxes for the enabling and user/core log-classes on the gui.
//
// <f_EPTF_Selection2Str> - Function to convert CORE/USER selectionID into charstring.
//
///////////////////////////////////////////////////////////
module EPTF_CLL_LoggingUI_PrivateFunctions
{
// if you use EPTF_Logging_CT you have to import these
import from EPTF_CLL_Logging_Definitions all;
// if you use UIHandler&XUL you have to import these
import from EPTF_CLL_Logging_Functions all;
//////////////////////////////////////////////////////////////////////////////////////////////////////////
// private:
//////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
// Group: Private
//
// Purpose:
// Private functions. These functions must not be used by the user of <EPTF_LoggingUI_CT>
//
// Elements:
///////////////////////////////////////////////////////////
group Private {
friend module EPTF_CLL_LoggingUI_Functions, EPTF_CLL_LoggingUIClient_Functions;
//////////////////////////////////////////////////////////
// Function: f_EPTF_LoggingUI_Selection2Str
//
// Purpose:
// Function to convert CORE/USER selectionID into charstring
//
// Parameters:
// pl_selection - *in* *integer* the ID of selection
//
// Return Value:
// *charstring*
//
// Errors:
// - (none)
//
// Detailed Comments:
// The generated string is used in widgetIds.
// 0=CORE, 1=USER as in <EPTF_Logging_SelectionList>
//
///////////////////////////////////////////////////////////
friend function f_EPTF_LoggingUI_Selection2Str(in integer pl_selection)
runs on EPTF_Logging_CT
return charstring {
return f_EPTF_Logging_Selection2Str(pl_selection);// EPTF_Logging_SelectionList[pl_selection];
}
} // group Private
} // end of module