! $Header: /tmp_mnt/ufs/pcn/carl/PCN/IF/Scripts/RCS/Xpcn.cpp,v 1.22 91/04/18 18:28:54 carl Exp $
!***************************************************************
!*  These specifications govern the appearance of the Epoch    *
!*  windows used in the Xpcn system.                           *
!***************************************************************

Xpcn.width: 500
Xpcn*minibuf.geometry: +10-10
Xpcn*screen.geometry: 80x24+150+275

!****************************************************************
!*  This directory is expected to contain all help files,       *
!*  palette files, and . . .                                    *
!****************************************************************
*libDir: /usr/local/xpcn/lib,/usr/local/xpcn/lib/GaugeHelp,/usr/local/xpcn/lib/XpcnHelp

!****************************************************************
!*  This list contains all xpcn help files with a text label to *
!*  reference them with.                                        *
!****************************************************************
Xpcn*pcnHelp.helpSet:\
	Xpcn:xpcn-general.help,	Profile:profile.help, \
	Gauge:xpcn-gauge.help Cosmic PCN:cosmic-pcn.help

!****************************************************************
!*  Specifications for the appearance of the primary Paned      *
!*  widget in the main window of xpcn.                          *
!****************************************************************
Xpcn*pcnPane*showGrip: False
Xpcn*pcnPane*Font: -adobe-new century schoolbook-medium-r-normal--12-*-*-*-p-*-iso8859-1

!****************************************************************
!*  Specifications for the contents of the button box in        *
!*  the main window of xpert.                                   *
!****************************************************************

!*****************************************************************
!*  This specification sets up response to WM delete_window      *
!*  message							 *
!*****************************************************************
Xpcn.translations: #override <Message>WM_PROTOCOLS: \
QuitXpert()

Xpcn*pcnBox.count: 3
Xpcn*pcnBox*callback: XswPopupQuery
Xpcn*pcnBox.button1.label: Gauge
Xpcn*pcnBox.button2.label: Help
Xpcn*pcnBox.button2.callback: HelpButton
Xpcn*pcnBox.button3.label: Exit
Xpcn*pcnBox.button3.callback: QuitXpert

!****************************************************************
!*  Specifications for the main xpert directory widget          *
!****************************************************************

Xpcn*pcnDirectory.directoryChange: ChangePCNDir
Xpcn*pcnDirectory.dirVport.height: 200

Xpcn*pcnDirectory.extensions: .cnt:GaugeIt, .cnt.Z:GaugeIt


!****************************************************************
!*  Specifications for the set of Query boxes that can be popped*
!*  up from the xpert main window                               *
!****************************************************************
*querySet.names: Edit:EditCallback, Compile:CompileCallback, \
	Run:RunCallback, Gauge:GaugeCallback, Profile:ProfileCallback, \
	PCN:PCNCallback, Cosmic PCN:CosmicPCNCallback
*querySet.fileTags: counter file, file, state file


!****************************************************************
!*  Specifications for each Query box that can be popped up     *
!*  from the xpert main window                                  *
!****************************************************************
Xpcn*UpShot.title: Upshot State File
Xpcn*UpShot*entries: state file:State File Name: :.sts
Xpcn*UpShot*directory: single
Xpcn*UpShot*extensions: .log

Xpcn*Edit.title: Build Module
Xpcn*Edit*entries: file:Module Name: :.pcn

Xpcn*Compile.title: Compile
Xpcn*Compile*entries: file:Module Name: :.pcn

Xpcn*Run.title: Run
Xpcn*Run*entries: command:Run Command: :

Xpcn*Gauge.title: Gauge Profile Data
Xpcn*Gauge*entries: counter file:Counter File:profile.cnt:.cnt

Xpcn*Profile.title: Profile
Xpcn*Profile*entries: \
	command:Command, \
	signal:	Done Signal, \
	process:Processors:all, \
	counter file:Counter File:profile.cnt:.cnt, \
	:Click on Modules to be included:NULL
Xpcn*Profile*directory: multi
Xpcn*Profile*extensions: .pcn
Xpcn*Profile*dirVport.height: 100

Xpcn*PCN.title: Start PCN
Xpcn*PCN*entries: \
	executable:PCN Executable:pcn: , \
	nodes:Processors:1, \
	host:Host: : , \
	path:Path: : 

Xpcn*Cosmic PCN.title: Start Cosmic PCN
Xpcn*Cosmic PCN*entries: \
	executable:PCN Executable:pcn.ce: , \
	nodes:Nodes:0: , \
	node_memory:Node Memory (MBytes) :4: , \
	node_heap:Node Heap Size (KBytes):800: , \
	host_type:Host Type: s2010 : 

!****************************************************************
!*  This is the architectural database to be used by the Gauge  *
!*  tool.                                                       *
!**************************************************************** 
*archDbase: pcn_hosts
*archDefault: sun4

!****************************************************************
!*  Default specifications for the appearance of the popup boxes*
!*  containing Gauge widgets.                                   *
!****************************************************************
*GaugeDisplay.geometry: 620x500+400+250
*GaugeSubsetDisplay.geometry: 620x500+420+275

*gauge*chart.palette:		Palettes/temperature.pal

!****************************************************************
!*  Default specifications for the appearance of the row of     *
!*  command buttons that appears in the Gauge widget.           *
!****************************************************************
*gauge*commandBox.count: 10
*gauge*commandBox.button1.label:  Usage
*gauge*commandBox.button1.callback: Usage
*gauge*commandBox.button2.label:  Calls
*gauge*commandBox.button2.callback: Calls
*gauge*commandBox.button3.label:  Statistics
*gauge*commandBox.button3.callback: Statistics
*gauge*commandBox.button4.label:  Subset
*gauge*commandBox.button4.callback: Subset
*gauge*commandBox.button5.label:  Delete
*gauge*commandBox.button5.callback: Delete
*gauge*commandBox.button6.label:  Clear
*gauge*commandBox.button6.callback:  Clear
*gauge*commandBox.button7.label:  Color Scale
*gauge*commandBox.button7.callback:  Scale
*gauge*commandBox.button8.label:  Help
*gauge*commandBox.button8.callback: Help
*gauge*commandBox.button9.label:  Info
*gauge*commandBox.button9.callback: ProfileInfo
*gauge*commandBox.button10.label:  Quit
*gauge*commandBox.button10.callback: Quit

*gauge*commandBox.orientation: horizontal
!*gauge*commandBox.Command.ShapeStyle: roundedRectangle
!*gauge*commandBox.Command.cornerRoundPercent: 50

!****************************************************************
!*  This list contains all gauge help files with a text label   *
!*  to reference them with.                                     *
!****************************************************************
Xpcn*gaugeHelp.helpSet:\
	Time:gauge-time.help, Idle:gauge-idle.help, \
	Freq:gauge-freq.help, MsgVol:gauge-msgvol.help, \
	TimeBreakDown:gauge-timebreakdown.help, MsgCnts:gauge-msgcnts.help


!***************************************************************
!*  Default specifications for the appearance of the row of    *
!*  radio buttons that appears in the Gauge widget.            *
!***************************************************************
*gauge*radioBox.count: 5
*gauge*radioBox*radio1*callback:ToggleZoom
*gauge*radioBox*radio1A.label:  Zoom
*gauge*radioBox*radio1B.label:  Unzoom
*gauge*radioBox*radio1B.state:  True
*gauge*radioBox*radio2*callback: ToggleLog
*gauge*radioBox*radio2A.label:  Log Scale
*gauge*radioBox*radio2B.label:  Linear Scale
*gauge*radioBox*radio3*callback: ToggleBucket
*gauge*radioBox*radio3A.label:  Bucket
*gauge*radioBox*radio3B.label:  UnBucket
*gauge*radioBox*radio3B.state:  True
*gauge*radioBox*radio4*callback: Sort
*gauge*radioBox*radio4A.label:  Sort
*gauge*radioBox*radio4B.label:  UnSort
*gauge*radioBox*radio5*callback: SwitchView
*gauge*radioBox*radio5*count:  3
*gauge*radioBox*radio5A.label:  ThreeD
*gauge*radioBox*radio5B.label:  ByProcedures
*gauge*radioBox*radio5C.label:  ByNodes

*gauge*radioBox*borderWidth: 0
*gauge*radioBox.orientation: horizontal


!*****************************************************************
!*  Default specifications for the appearance of the Viewer      *
!*  widget within the Gauge widget.                              *
!*****************************************************************
*gauge*viewer.allowResize: True
*gauge*viewer*resizable: True

*gauge*Font: -adobe-new century schoolbook-medium-r-normal--12-*-*-*-p-*-iso8859-1
*gauge*viewer.hlist*Font:  -adobe-new century schoolbook-medium-r-normal--10-100-*-*-p-60-iso8859-1
*gauge*viewer.vlist*Font:  -adobe-new century schoolbook-medium-r-normal--10-100-*-*-p-60-iso8859-1

*gauge*viewer.CellSize:			14
*gauge*viewer.chart.rigidZoom:		True
*gauge*viewer.chart.box:		True
*gauge*viewer.chart.frame:		3
*gauge*viewer.chart.spacing:		1
*gauge*viewer.chart.borderWidth:	1
*gauge*viewer.chart.highlight:		black
*gauge*viewer.chart.foregroundPixel:	black

*gauge*viewer.scrollHoriz.height: 10
*gauge*viewer.scrollHoriz.borderWidth: 1
*gauge*viewer.scrollVert.width: 10
*gauge*viewer.scrollVert.borderWidth: 1

*gauge*viewer.viewChange: ViewChanged

*gauge*viewer.titleArea.borderWidth: 0
*gauge*viewer.dummy.borderWidth: 0
*gauge*viewer.hlist.borderWidth: 0
*gauge*viewer.scale.borderWidth: 0
*gauge*viewer.vlist.borderWidth: 0
*gauge*viewer.textArea.borderWidth: 0

!*gauge*ColorScale.borderWidth: 1
*gauge*ColorScale*borderWidth:0

!*****************************************************************
!*  This specification allows mouse button 3 to call up the view *
!*  menu if and only if it is pressed within the Chart widget.   *
!*****************************************************************
*gauge*viewer.chart.translations: #augment <Btn3Down>: \
XawPositionSimpleMenu(viewMenu)MenuPopup(viewMenu)


!*****************************************************************
!*  Default specifications for the views available of the data   *
!*  to be displayed by the Gauge widget.                         *
!*****************************************************************

! Mapping of views will be:
! #define VTIME 'T'
! #define VFREQ 'F'
! #define VIDLE 'I'
! #define VMSGCNTS 'C'
! #define VMSGVOL 'V'

*gauge*viewer.data: T
 
*gauge*viewMenu.label: Performance Displays
*gauge*viewMenu*patterns: Checkered
*gauge*viewMenu*colors: Black
*gauge*viewMenu.count: 6

*gauge*viewMenu.view1.title: Execution Time
*gauge*viewMenu.view1.type:  ThreeD
*gauge*viewMenu.view1.data:  T
*gauge*viewMenu.view1.patterns: Horizontal

*gauge*viewMenu.view2.title: Execution Frequency
*gauge*viewMenu.view2.type:  ThreeD
*gauge*viewMenu.view2.data:  F

*gauge*viewMenu.view3.title: Idle Time
*gauge*viewMenu.view3.type:  ThreeD
*gauge*viewMenu.view3.data:  I
*gauge*viewMenu.view3.patterns: Vertical

*gauge*viewMenu.view4.title: Message Counts
*gauge*viewMenu.view4.type:  ByNodes
*gauge*viewMenu.view4.data:  C

*gauge*viewMenu.view5.title: Communication Volume
*gauge*viewMenu.view5.type:  ByNodes
*gauge*viewMenu.view5.data:  V

*gauge*viewMenu.view6.title: Time Breakdown
*gauge*viewMenu.view6.type: ThreeD ThreeD
*gauge*viewMenu.view6.data: I,T
*gauge*viewMenu.view6.patterns: Vertical, Horizontal


!*****************************************************************
!*  Default specifications for the appearance of all Query       *
!*  widgets.                                                     *
!*****************************************************************
*queryBox.count: 4
*queryBox.button1.label: Done
*queryBox.button1.callback: XswQueryDone
*queryBox.button2.label: Cancel
*queryBox.button2.callback: XswQueryCancel
*queryBox.button3.label: Clear
*queryBox.button3.callback: XswQueryClear
*queryBox.button4.label: Help
*queryBox.button4.callback: XswQueryHelp

*query*showGrip: False

*query.entry*vertDistance: 8
*query.entry.callback: XswQueryDone
*query.entry.Text.accelerators: #override \
	<KeyPress>Tab: XswEntryTakePointer()
*query.entry.Label.borderWidth: 0


!****************************************************************
!*  Default specifications for the appearance of all Directory  *
!*  widgets.                                                    *
!****************************************************************
*dir.dirVport.borderWidth: 0
*dir.dirVport.height: 100
*dir.dirVport.allVert: True
*dir.dirVport.allowHoriz: False


!*****************************************************************
!*  This specification sets up response to WM delete_window      *
!*  message							 *
!*****************************************************************
*help.translations: #override <Message>WM_PROTOCOLS: \
XswPopdown()

!***************************************************************
!*  Default specifications for the appearance of all Help      *
!*  widgets.                                                   *
!***************************************************************
*help*Font: -adobe-new century schoolbook-medium-r-normal--12-*-*-*-p-*-iso8859-1
*help.geometry: 640x420
*help.iconName:	Xpcn Help
*help*helpBox.close.label: Close
*help*helpText.scrollHorizontal: never
*help*helpText.scrollVertical: whenneeded
*help*helpText.wrap: word







