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 Nov 30 23:29:19 2008  
 
Category: SheetSeverity: 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 Dec 3 23:10:39 2008, 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 Dec 3 04:24:30 2008, 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 Dec 2 23:12:56 2008, 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 Nov 30 23:29:19 2008, 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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jan 15 12:26:20 2016jmdCategoryGraphical User Interface=>Sheet
    Sat May 14 04:52:33 2011blpReleaseNone=>Before 1.0

    Back to the top


    Powered by Savane 3.1-cleanup