Re: Using IBInspectorManager's addInspectorModeWithIdentifier method
Re: Using IBInspectorManager's addInspectorModeWithIdentifier method
- Subject: Re: Using IBInspectorManager's addInspectorModeWithIdentifier method
- From: Ricci Adams <email@hidden>
- Date: Wed, 20 Nov 2002 10:57:21 -0600
Thanks for this information Vince.
The examples in BusyPalette involve adding additional inspectors. Is
there
any way to *overwrite* the default 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.
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.