Professional Documents
Culture Documents
--
-- Copyright 1974 to current year. AVEVA Solutions Limited and its subsidiaries.
All rights reserved in original code only.
--
-- File: admextractconnections.pmlfrm
-- Type: Form Definition
-- Group: PDMS Global Administration Application
-- Keyword: GLOBAL
-- Module: admin
-- Replaces:
--
-- Author: S.Bentley
-- Created: Wed Dec 5 11:31:06 BST 2001
--
--
-- Description:
-- form to display the connection elements for an element to be flushed / issued
--
------------------------------------------------------------------------
--
-- Methods defined:
--
-- Method call Return Description
-- =========== ====== ===========
-- admExtractConnections() - Constructor
-- initialise() - Initialisation for form
--
button .ce 'Update List' at x0 ymax call |!this.initialise()| tooltip 'Update the
list based on the selections on the Extract Data Control form'
toggle .recursive 'Recursive Changes' at xmax+3 ymin tooltip 'The
Flush/Issue/Drop will ALWAYS act recursively. This option effects the view only'
paragraph .element at x0 ymax+0.2 width 49
exit
-- End of form definition for !!admExtractConnections
------------------------------------------------------------------------
--
-- Method: admExtractConnections
--
-- Description: Constructor
--
-- Method Type: Function/Procedure
-- Arguments:
-- [#] [R/RW] [Data Type] [Description]
-- Return:
-- [Data Type] [Description]
--
------------------------------------------------------------------------
endmethod
-- End of method definition for .admExtractConnections()
------------------------------------------------------------------------
--
-- Method: initialise
--
-- Description: Initialisation for form
--
-- Method Type: Function/Procedure
-- Arguments:
-- [#] [R/RW] [Data Type] [Description]
-- Return:
-- [Data Type] [Description]
--
------------------------------------------------------------------------
!connections = ARRAY()
!connectionsTrimmed = ARRAY()
!dText = ARRAY()
if (!this.recursive.val) then
!this.resultsListed.val = 'Elements listed (recursive) = ' & !
connections.size()
-- Get the full names of the elements of the array
do !i indices !connections
!dText[!i] = !connections[!i].fullname
enddo
else
!this.resultsListed.val = 'Elements listed (not recursive) = ' & !
connectionsTrimmed.size()
-- Get the full names of the elements of the array
do !i indices !connectionsTrimmed
!dText[!i] = !connections[!i].fullname
enddo
endif
!this.results.val = 'Actual Elements for Flush/Issue/Drop = ' & !
connections.size()
endmethod
-- End of method definition for .initialise()