swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setGraphWindowGeometryRecordName:


From: Marcus G. Daniels
Subject: Re: setGraphWindowGeometryRecordName:
Date: 05 Jan 1998 15:58:34 -0800

>>>>> "RLR" == Rick Riolo <address@hidden> writes:

RLR> Swarm keepers- I would suggest that EZGraph's using one method
RLR> and BLTGraph's using another method is just inviting confusion,
RLR> especially for beginning users. 

The convention I used was simple, but perhaps too simple.  If a class
had to pass the information through to a tkobjc feature, I added an
identifier to discriminate it from the classes that actually were
GUI primitives.  The reason for this was that some users of geometry
archiving might be composite and have several different primitives
that would require unique names.

In the case of EZGraph, there was just the one GUI component, so the
rename is rather confusing.  Since I think it's unlikely that a EZGraph
would ever have different independent frames, I'll heed your
suggestion and change the name.

The only other case, setControlPanelGeometryRecordName (in
ActionCache) I'm leaving it because in the future an ActionCache may
have other panels associated with it.

Index: EZGraph.h
===================================================================
RCS file: /opt/src/hive/cvs/Swarm/swarm/src/analysis/EZGraph.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -c -r1.7 -r1.8
*** EZGraph.h   1997/12/11 23:34:52     1.7
--- EZGraph.h   1998/01/05 23:48:50     1.8
***************
*** 34,40 ****
  - setTitle: (const char *)aTitle;
  - setAxisLabelsX: (const char *)xl Y: (const char *)yl;
  
! - setGraphWindowGeometryRecordName: (const char *)windowGeometryRecordName;
  - createEnd;
  
  - getGraph;
--- 34,40 ----
  - setTitle: (const char *)aTitle;
  - setAxisLabelsX: (const char *)xl Y: (const char *)yl;
  
! - setWindowGeometryRecordName: (const char *)windowGeometryRecordName;
  - createEnd;
  
  - getGraph;
Index: EZGraph.m
===================================================================
RCS file: /opt/src/hive/cvs/Swarm/swarm/src/analysis/EZGraph.m,v
retrieving revision 1.9
retrieving revision 1.10
diff -c -r1.9 -r1.10
*** EZGraph.m   1997/12/11 23:34:52     1.9
--- EZGraph.m   1998/01/05 23:48:50     1.10
***************
*** 54,60 ****
    return self;
  }
  
! - setGraphWindowGeometryRecordName : (const char *)windowGeometryRecordName
  {
    graphWindowGeometryRecordName = windowGeometryRecordName;
    return self;
--- 54,60 ----
    return self;
  }
  
! - setWindowGeometryRecordName : (const char *)windowGeometryRecordName
  {
    graphWindowGeometryRecordName = windowGeometryRecordName;
    return self;

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]