Revision: 29250 http://sourceforge.net/p/bibdesk/svn/29250 Author: hofman Date: 2025-04-30 22:01:40 +0000 (Wed, 30 Apr 2025) Log Message: ----------- Bind hidden to boolean property of serverInfo rather than controller.
Modified Paths: -------------- trunk/bibdesk/BDSKSearchGroupSheetController.h trunk/bibdesk/BDSKSearchGroupSheetController.m trunk/bibdesk/BDSKServerInfo.m trunk/bibdesk/Base.lproj/BDSKSearchGroupSheet.xib Modified: trunk/bibdesk/BDSKSearchGroupSheetController.h =================================================================== --- trunk/bibdesk/BDSKSearchGroupSheetController.h 2025-04-30 16:58:12 UTC (rev 29249) +++ trunk/bibdesk/BDSKSearchGroupSheetController.h 2025-04-30 22:01:40 UTC (rev 29250) @@ -112,11 +112,6 @@ @property (nonatomic, getter=isCustom) BOOL custom; @property (nonatomic, getter=isEditable) BOOL editable; @property (nonatomic, getter=isResettable) BOOL resettable; -@property (nonatomic, readonly, getter=isZoom) BOOL zoom; -@property (nonatomic, readonly, getter=isSRU) BOOL SRU; -@property (nonatomic, readonly, getter=isISI) BOOL ISI; -@property (nonatomic, readonly, getter=isEntrez) BOOL entrez; -@property (nonatomic, readonly, getter=isDBLP) BOOL DBLP; @property (nonatomic, strong) NSString *type; Modified: trunk/bibdesk/BDSKSearchGroupSheetController.m =================================================================== --- trunk/bibdesk/BDSKSearchGroupSheetController.m 2025-04-30 16:58:12 UTC (rev 29249) +++ trunk/bibdesk/BDSKSearchGroupSheetController.m 2025-04-30 22:01:40 UTC (rev 29250) @@ -54,14 +54,14 @@ @implementation BDSKSearchGroupSheetController -@synthesize serverPopup, nameField, addressField, portField, databaseField, passwordField, userField, syntaxPopup, encodingComboBox, removeDiacriticsButton, liteButton, editButton, addRemoveButton, serverView, revealButton, okButton, cancelButton, bottomConstraint, objectController, custom, editable, resettable; -@dynamic zoom, SRU, ISI, entrez, DBLP, typeTag, databases, serverInfo, undoManager; +@synthesize serverPopup, nameField, addressField, portField, databaseField, passwordField, userField, syntaxPopup, encodingComboBox, removeDiacriticsButton, liteButton, editButton, addRemoveButton, serverView, revealButton, okButton, cancelButton, bottomConstraint, objectController, custom, editable, resettable, serverInfo; +@dynamic typeTag, databases, undoManager; + (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key { NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key]; if ([@"type" isEqualToString:key]) keyPaths = [keyPaths setByAddingObject:@"serverInfo"]; - else if ([[NSSet setWithObjects:@"typeTag", @"zoom", @"SRU", @"ISI", @"entrez", @"DBLP", @"databases", nil] containsObject:key]) + else if ([[NSSet setWithObjects:@"typeTag", @"databases", nil] containsObject:key]) keyPaths = [keyPaths setByAddingObject:@"type"]; return keyPaths; } @@ -336,18 +336,6 @@ #pragma mark Accessors -- (BOOL)isZoom { return [serverInfo isZoom]; } - -- (BOOL)isSRU { return [serverInfo isSRU]; } - -- (BOOL)isISI { return [serverInfo isISI]; } - -- (BOOL)isEntrez { return [serverInfo isEntrez]; } - -- (BOOL)isDBLP { return [serverInfo isDBLP]; } - -- (BDSKServerInfo *)serverInfo { return serverInfo; } - - (void)setServerInfo:(BDSKServerInfo *)info; { [objectController discardEditing]; @@ -375,7 +363,7 @@ switch (tag) { case BDSKServerTypeEntrez: [self setType:BDSKSearchGroupEntrez]; break; case BDSKServerTypeZoom: [self setType:BDSKSearchGroupZoom]; break; - case BDSKServerTypeSRU: [self setType:BDSKSearchGroupSRU]; break; + case BDSKServerTypeSRU: [self setType:BDSKSearchGroupSRU]; break; case BDSKServerTypeDBLP: [self setType:BDSKSearchGroupDBLP]; break; case BDSKServerTypeISI: [self setType:BDSKSearchGroupISI]; break; default: BDSKASSERT_NOT_REACHED("Unknown search type tag"); @@ -437,9 +425,9 @@ NSString *message = nil; - if ([self isZoom] == NO && ([NSString isEmptyString:[serverInfo name]] || [NSString isEmptyString:[serverInfo database]])) { + if ([[self serverInfo] isZoom] == NO && ([NSString isEmptyString:[serverInfo name]] || [NSString isEmptyString:[serverInfo database]])) { message = NSLocalizedString(@"Unable to create a search group with an empty server name or database", @"Informative text in alert dialog when search group is invalid"); - } else if ([self isZoom] && ([NSString isEmptyString:[serverInfo name]] || [NSString isEmptyString:[serverInfo host]] || [NSString isEmptyString:[serverInfo database]] || [[serverInfo port] integerValue] == 0)) { + } else if ([[self serverInfo] isZoom] && ([NSString isEmptyString:[serverInfo name]] || [NSString isEmptyString:[serverInfo host]] || [NSString isEmptyString:[serverInfo database]] || [[serverInfo port] integerValue] == 0)) { message = NSLocalizedString(@"Unable to create a search group with an empty server name, address, database or port", @"Informative text in alert dialog when search group is invalid"); } if (message) { Modified: trunk/bibdesk/BDSKServerInfo.m =================================================================== --- trunk/bibdesk/BDSKServerInfo.m 2025-04-30 16:58:12 UTC (rev 29249) +++ trunk/bibdesk/BDSKServerInfo.m 2025-04-30 22:01:40 UTC (rev 29250) @@ -86,6 +86,13 @@ + (BOOL)accessInstanceVariablesDirectly { return NO; } ++ (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key { + NSSet *keyPaths = [super keyPathsForValuesAffectingValueForKey:key]; + if ([[NSSet setWithObjects:@"zoom", @"SRU", @"ISI", @"entrez", @"DBLP", nil] containsObject:key]) + keyPaths = [keyPaths setByAddingObject:@"type"]; + return keyPaths; +} + + (instancetype)defaultServerInfoWithType:(NSString *)aType; { BOOL isZoomOrSRU = [aType isEqualToString:BDSKSearchGroupZoom] || [aType isEqualToString:BDSKSearchGroupSRU]; Modified: trunk/bibdesk/Base.lproj/BDSKSearchGroupSheet.xib =================================================================== --- trunk/bibdesk/Base.lproj/BDSKSearchGroupSheet.xib 2025-04-30 16:58:12 UTC (rev 29249) +++ trunk/bibdesk/Base.lproj/BDSKSearchGroupSheet.xib 2025-04-30 22:01:40 UTC (rev 29250) @@ -115,7 +115,7 @@ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="yhm-CP-kob" id="sZk-AH-rPD"> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="3bE-NM-wW6" id="R7V-AD-tch"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -123,7 +123,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden3" keyPath="ISI" previousBinding="sZk-AH-rPD" id="YCC-Ir-7oo"> + <binding destination="569" name="hidden3" keyPath="selection.ISI" previousBinding="R7V-AD-tch" id="7vi-of-ynf"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -131,7 +131,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden" keyPath="entrez" id="yhm-CP-kob"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" id="3bE-NM-wW6"/> </connections> </textField> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="191"> @@ -142,7 +142,7 @@ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="Sub-nM-ja5" id="FzF-O4-eVf"> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="yYE-uz-aql" id="wnz-0L-qpz"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -150,7 +150,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden3" keyPath="ISI" previousBinding="FzF-O4-eVf" id="7g7-n4-27K"> + <binding destination="569" name="hidden3" keyPath="selection.ISI" previousBinding="wnz-0L-qpz" id="9uQ-CR-svA"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -158,7 +158,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden" keyPath="entrez" id="Sub-nM-ja5"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" id="yYE-uz-aql"/> </connections> </textField> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="196"> @@ -169,7 +169,7 @@ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="QhV-s2-TBx" id="2jN-XV-HII"> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="Ceh-kL-7y5" id="a84-V2-fhy"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -177,7 +177,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden3" keyPath="ISI" previousBinding="2jN-XV-HII" id="Zia-3L-hrp"> + <binding destination="569" name="hidden3" keyPath="selection.ISI" previousBinding="a84-V2-fhy" id="skW-dp-xqt"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -185,7 +185,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden" keyPath="entrez" id="QhV-s2-TBx"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" id="Ceh-kL-7y5"/> </connections> </textField> <textField toolTip="Password for authentication" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="197" customClass="BDSKSecureTextField"> @@ -197,34 +197,16 @@ </textFieldCell> <connections> <accessibilityConnection property="title" destination="200" id="527"/> - <binding destination="-2" name="enabled" keyPath="editable" id="463"/> - <binding destination="-2" name="enabled2" keyPath="entrez" previousBinding="463" id="pT8-73-qi2"> + <binding destination="-2" name="enabled" keyPath="editable" id="GRe-1l-6l1"/> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="V0y-Xe-Ycd" id="P6x-Ad-Epo"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled3" keyPath="DBLP" previousBinding="pT8-73-qi2" id="f7g-Jg-VlA"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="S4N-Bb-Jsb" id="zBF-8o-FaW"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="entrez" previousBinding="f7g-Jg-VlA" id="S4N-Bb-Jsb"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" previousBinding="GRe-1l-6l1" id="V0y-Xe-Ycd"/> <binding destination="569" name="value" keyPath="selection.password" id="582"> <dictionary key="options"> <integer key="NSConditionallySetsEditable" value="0"/> @@ -243,7 +225,7 @@ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="2Df-Sb-cav" id="lls-Bc-djl"> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="NJU-mG-DNy" id="O5h-zO-hFQ"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -251,7 +233,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden" keyPath="entrez" id="2Df-Sb-cav"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" id="NJU-mG-DNy"/> </connections> </textField> <popUpButton toolTip="Record syntax" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="277"> @@ -268,51 +250,24 @@ <connections> <accessibilityConnection property="title" destination="275" id="528"/> <action selector="selectSyntax:" target="-2" id="285"/> - <binding destination="-2" name="enabled" keyPath="editable" id="470"/> - <binding destination="-2" name="enabled2" keyPath="entrez" previousBinding="470" id="TRJ-03-ivD"> + <binding destination="-2" name="enabled" keyPath="editable" id="kvx-bY-Ybd"/> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="kiG-JE-AnU" id="pmX-i5-jr8"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled3" keyPath="DBLP" previousBinding="TRJ-03-ivD" id="1Qf-Xa-bKb"> + <binding destination="569" name="hidden3" keyPath="selection.ISI" previousBinding="pmX-i5-jr8" id="jxa-mc-FD4"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled4" keyPath="ISI" previousBinding="1Qf-Xa-bKb" id="vCZ-dY-h0V"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="iA3-rB-evO" id="pxC-es-VH2"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden3" keyPath="ISI" previousBinding="pxC-es-VH2" id="HAj-cE-GNw"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="entrez" previousBinding="vCZ-dY-h0V" id="iA3-rB-evO"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" previousBinding="kvx-bY-Ybd" id="kiG-JE-AnU"/> </connections> </popUpButton> <textField toolTip="Username for authentication" horizontalHuggingPriority="248" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="201"> @@ -324,34 +279,16 @@ </textFieldCell> <connections> <accessibilityConnection property="title" destination="195" id="526"/> - <binding destination="-2" name="enabled" keyPath="editable" id="461"/> - <binding destination="-2" name="enabled2" keyPath="entrez" previousBinding="461" id="9hi-2u-RSm"> + <binding destination="-2" name="enabled" keyPath="editable" id="300-PC-fo9"/> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="taf-4v-zO5" id="udd-u8-KAy"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled3" keyPath="DBLP" previousBinding="9hi-2u-RSm" id="rlW-MW-zWX"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="YjJ-u7-Hyu" id="3iR-2m-hgU"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="entrez" previousBinding="rlW-MW-zWX" id="YjJ-u7-Hyu"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" previousBinding="300-PC-fo9" id="taf-4v-zO5"/> <binding destination="569" name="value" keyPath="selection.username" id="580"> <dictionary key="options"> <integer key="NSConditionallySetsEditable" value="0"/> @@ -374,51 +311,24 @@ </textFieldCell> <connections> <accessibilityConnection property="title" destination="191" id="525"/> - <binding destination="-2" name="enabled" keyPath="editable" id="468"/> - <binding destination="-2" name="enabled2" keyPath="entrez" previousBinding="468" id="4Ej-pK-TA7"> + <binding destination="-2" name="enabled" keyPath="editable" id="jUQ-RC-jWf"/> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="lpc-2J-Ydk" id="q0B-9V-XP2"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled3" keyPath="DBLP" previousBinding="4Ej-pK-TA7" id="4wy-Vq-UaW"> + <binding destination="569" name="hidden3" keyPath="selection.ISI" previousBinding="q0B-9V-XP2" id="u7d-zr-H4j"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled4" keyPath="ISI" previousBinding="4wy-Vq-UaW" id="8fP-zM-BIx"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="hkK-nf-88Y" id="sEn-Ef-E2u"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden3" keyPath="ISI" previousBinding="sEn-Ef-E2u" id="gX0-hD-6oR"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="entrez" previousBinding="8fP-zM-BIx" id="hkK-nf-88Y"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" previousBinding="jUQ-RC-jWf" id="lpc-2J-Ydk"/> <binding destination="569" name="value" keyPath="selection.port" id="578"> <dictionary key="options"> <integer key="NSConditionallySetsEditable" value="0"/> @@ -445,6 +355,11 @@ <connections> <accessibilityConnection property="title" destination="304" id="529"/> <binding destination="-2" name="enabled" keyPath="editable" id="472"/> + <binding destination="569" name="hidden" keyPath="selection.zoom" previousBinding="472" id="BSK-ZG-U7W"> + <dictionary key="options"> + <string key="NSValueTransformerName">NSNegateBoolean</string> + </dictionary> + </binding> <binding destination="569" name="value" keyPath="selection.resultEncoding" id="635"> <dictionary key="options"> <integer key="NSConditionallySetsEnabled" value="0"/> @@ -451,19 +366,6 @@ <integer key="NSValidatesImmediately" value="1"/> </dictionary> </binding> - <binding destination="-2" name="enabled2" keyPath="zoom" previousBinding="472" id="473"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="zoom" previousBinding="473" id="949"> - <dictionary key="options"> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> </connections> </comboBox> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="195"> @@ -474,7 +376,7 @@ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="jod-39-2fG" id="X9y-S1-nfX"> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="MNO-zt-IJz" id="072-bU-cbe"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> @@ -482,7 +384,7 @@ <integer key="NSNullPlaceholder" value="-1"/> </dictionary> </binding> - <binding destination="-2" name="hidden" keyPath="entrez" id="jod-39-2fG"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" id="MNO-zt-IJz"/> </connections> </textField> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="304"> @@ -493,7 +395,7 @@ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> </textFieldCell> <connections> - <binding destination="-2" name="hidden" keyPath="zoom" id="954"> + <binding destination="569" name="hidden" keyPath="selection.zoom" id="b5C-hw-rBh"> <dictionary key="options"> <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> @@ -509,51 +411,24 @@ </textFieldCell> <connections> <accessibilityConnection property="title" destination="196" id="524"/> - <binding destination="-2" name="enabled" keyPath="editable" id="480"/> - <binding destination="-2" name="enabled2" keyPath="entrez" previousBinding="480" id="S6Z-lT-SnS"> + <binding destination="-2" name="enabled" keyPath="editable" id="FhH-30-ngQ"/> + <binding destination="569" name="hidden2" keyPath="selection.DBLP" previousBinding="snt-KL-Umj" id="v4N-W8-KVz"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled3" keyPath="DBLP" previousBinding="S6Z-lT-SnS" id="lsd-Vp-hGz"> + <binding destination="569" name="hidden3" keyPath="selection.ISI" previousBinding="v4N-W8-KVz" id="aeB-q6-J8i"> <dictionary key="options"> <integer key="NSMultipleValuesPlaceholder" value="-1"/> <integer key="NSNoSelectionPlaceholder" value="-1"/> <integer key="NSNotApplicablePlaceholder" value="-1"/> <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled4" keyPath="ISI" previousBinding="lsd-Vp-hGz" id="Dr3-Y2-UB6"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> - <binding destination="-2" name="hidden2" keyPath="DBLP" previousBinding="aLj-jC-aZa" id="PmH-kd-ciX"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden3" keyPath="ISI" previousBinding="PmH-kd-ciX" id="IjR-Ta-7A2"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="entrez" previousBinding="Dr3-Y2-UB6" id="aLj-jC-aZa"/> + <binding destination="569" name="hidden" keyPath="selection.entrez" previousBinding="FhH-30-ngQ" id="snt-KL-Umj"/> <binding destination="569" name="value" keyPath="selection.host" id="576"> <dictionary key="options"> <integer key="NSConditionallySetsEditable" value="0"/> @@ -571,20 +446,12 @@ <font key="font" metaFont="message" size="11"/> </buttonCell> <connections> - <binding destination="-2" name="enabled2" keyPath="ISI" previousBinding="993" id="995"> + <binding destination="-2" name="enabled" keyPath="editable" id="993"/> + <binding destination="569" name="hidden" keyPath="selection.ISI" previousBinding="993" id="xdq-ka-7Br"> <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="ISI" previousBinding="995" id="996"> - <dictionary key="options"> <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled" keyPath="editable" id="993"/> <binding destination="569" name="value" keyPath="selection.lite" id="992"/> </connections> </button> @@ -596,6 +463,11 @@ </buttonCell> <connections> <binding destination="-2" name="enabled" keyPath="editable" id="474"/> + <binding destination="569" name="hidden" keyPath="selection.zoom" previousBinding="474" id="Tm6-dI-xub"> + <dictionary key="options"> + <string key="NSValueTransformerName">NSNegateBoolean</string> + </dictionary> + </binding> <binding destination="569" name="value" keyPath="selection.removeDiacritics" id="586"> <dictionary key="options"> <integer key="NSConditionallySetsEnabled" value="0"/> @@ -602,19 +474,6 @@ <integer key="NSValidatesImmediately" value="1"/> </dictionary> </binding> - <binding destination="-2" name="enabled2" keyPath="zoom" previousBinding="474" id="475"> - <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="zoom" previousBinding="475" id="951"> - <dictionary key="options"> - <string key="NSValueTransformerName">NSNegateBoolean</string> - </dictionary> - </binding> </connections> </button> <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="753"> @@ -817,20 +676,12 @@ <font key="font" metaFont="message" size="11"/> </buttonCell> <connections> - <binding destination="-2" name="enabled2" keyPath="SRU" previousBinding="7lm-7C-ADf" id="Fuf-uY-G8r"> + <binding destination="-2" name="enabled" keyPath="editable" id="7lm-7C-ADf"/> + <binding destination="569" name="hidden" keyPath="selection.SRU" previousBinding="7lm-7C-ADf" id="d6b-oJ-Bku"> <dictionary key="options"> - <integer key="NSMultipleValuesPlaceholder" value="-1"/> - <integer key="NSNoSelectionPlaceholder" value="-1"/> - <integer key="NSNotApplicablePlaceholder" value="-1"/> - <integer key="NSNullPlaceholder" value="-1"/> - </dictionary> - </binding> - <binding destination="-2" name="hidden" keyPath="SRU" previousBinding="Fuf-uY-G8r" id="Mz7-eb-7dl"> - <dictionary key="options"> <string key="NSValueTransformerName">NSNegateBoolean</string> </dictionary> </binding> - <binding destination="-2" name="enabled" keyPath="editable" id="7lm-7C-ADf"/> <binding destination="569" name="value" keyPath="selection.secure" id="Woe-P1-njP"/> </connections> </button> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit