Re: Using IBInspectorManager's addInspectorModeWithIdentifier method
Re: Using IBInspectorManager's addInspectorModeWithIdentifier method
- Subject: Re: Using IBInspectorManager's addInspectorModeWithIdentifier method
- From: Vince DeMarco <email@hidden>
- Date: Wed, 20 Nov 2002 11:20:39 -0800
On Wednesday, November 20, 2002, at 08:57 AM, Ricci Adams wrote:
Thanks for this information Vince.
The examples in BusyPalette involve adding additional inspectors. Is
there
any way to *overwrite* the default Attribute inspector?
Provide your own attribute inspector.
If you drag an NSTableView from the palette onto your window, and
click on it once,
it will display the palette for the NSTableView (even though you have
clicked on an
NSScrollView).
I would like to do the same with my custom NSTableView subclass - have
IB display
the palette for it when you click on the NSScrollView.
The mechanism to do this isn't public. sorry please file a bug asking
for it.
vince
Again, thanks for replying to my previous message!
Ricci Adams
On Tuesday, November 19, 2002, at 10:44 PM, Vince DeMarco wrote:
On Saturday, November 16, 2002, at 08:16 PM, Ricci Adams wrote:
Hello,
I was wondering if anybody has figured out how to use the following
method in IBInspectorManager:
- (void)addInspectorModeWithIdentifier:(NSString *)identifier
forObject:(id)object localizedLabel:(NSString *)label
inspectorClassName:(NSString *)inspectorClassName
ordering:(float)ordering;
I have created a custom subview of NSTableView, and am trying to
make a
palette and inspector for it. Unfortuately, when you first click on
the view in IB (you are actually clicking on an NSScrollView), it
displays the inspector for NSTableView. Then when you click on it
again (actually clicking on my subview), it displays the inspector
for
my custom view. Anyway, I was trying to use the above method to fix
this.
Any information that you can provide is greatly appreciated.
Look at /Developer/Examples/InterfaceBuilder/BusyPalette
its all there.
vince
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.