bugPSPP - Bugs: bug #24975, Show variable attributes in var...

 
 

bug #24975: Show variable attributes in var sheet

Submitted by:  John Darrington <jmd>
Submitted on:  Sun 30 Nov 2008 11:29:19 PM UTC  
 
Category: Graphical User InterfaceSeverity: 1 - Wishlist
Status: NoneAssigned to: None
Open/Closed: OpenRelease: Before 1.0
Effort: 0.00

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 03 Dec 2008 11:10:39 PM UTC, comment #3:

That's also a possibility.

I think we'd need two callbacks similar to:

void (var_attribute_added) (struct dictionary d, int var, const char attr_name, void aux);

void (var_attribute_deleted) (struct dictionary d, int var, const char attr_name, void aux);

The "int var" parameter might not be needed, but all the other call backs have it ...

John Darrington <jmd>
Project Administrator
Wed 03 Dec 2008 04:24:30 AM UTC, comment #2:

>...the dictionary needs an additional structure which will contain
>the union of all the sets of variable attribute names for all
>variables in that dictionary.


It really doesn't sound ideal to put this in struct dictionary, since most struct dictionary clients have no interest in it. To me, it sounds like a better idea to put it in an auxiliary structure that PSPPIRE maintains (I think that we have PsppireDictionary or some such object) and update it from a callback when something changes.

If we don't have all the necessary callbacks for this then I'd be glad to add them.

>This structure also will need to be indexable by integer value.
>I suggest that Ben's abt structure containing reference counted
>elements would be the way to go.


It certainly sounds like a reasonable option.

Ben Pfaff <blp>
Project Administrator
Tue 02 Dec 2008 11:12:56 PM UTC, comment #1:

In order to make this possible, the dictionary needs an additional structure which will contain the union of all the sets of variable attribute names for all variables in that dictionary. This structure also will need to be indexable by integer value.

I suggest that Ben's abt structure containing reference counted elements would be the way to go. Does anyone have any better suggestions?

John Darrington <jmd>
Project Administrator
Sun 30 Nov 2008 11:29:19 PM UTC, original submission:

The GUI's variable sheet should display and allow editing of the VARIABLE ATTRIBUTES.

John Darrington <jmd>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by blp (Posted a comment)
  • -unavailable- added by jmd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 14 May 2011 04:52:33 AM UTCblpReleaseNone=>Before 1.0

    Back to the top


    Powered by Savane 3.1-cleanup