Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OODebugInspectorModule Class Reference

#include <OODebugInspectorModule.h>

+ Inheritance diagram for OODebugInspectorModule:
+ Collaboration diagram for OODebugInspectorModule:

Instance Methods

(id) - initWithObject:
 
(BOOL) - loadUserInterface
 
(NSString *) - nibName
 
(NSView *) - rootView
 
(id) - object
 
(void) - update
 
(void) - dealloc [implementation]
 

Private Attributes

OOWeakReference_object
 
IBOutlet NSView * _rootView
 

Detailed Description

Definition at line 34 of file OODebugInspectorModule.h.

Method Documentation

◆ dealloc

- (void) dealloc
implementation

Definition at line 121 of file OODebugInspectorModule.m.

53{
54 [_rootView release];
55 [_object release];
56
57 [super dealloc];
58}

◆ initWithObject:

- (id) initWithObject: (id <OOWeakReferenceSupport>) object

Definition at line 121 of file OODebugInspectorModule.m.

35 :(id <OOWeakReferenceSupport>)object
36{
37 if ((self = [super init]))
38 {
39 _object = [object weakRetain];
40
41 if (![self loadUserInterface])
42 {
43 [self release];
44 self = nil;
45 }
46 }
47
48 return self;
49}
return nil

◆ loadUserInterface

- (BOOL) loadUserInterface

Definition at line 121 of file OODebugInspectorModule.m.

62{
63 NSString *nibName = nil;
64
65 nibName = [self nibName];
66 if (nibName == nil) return NO;
67
68 return [NSBundle loadNibNamed:nibName owner:self];
69}

◆ nibName

- (NSString *) nibName

Definition at line 121 of file OODebugInspectorModule.m.

73{
74 return [self className];
75}

◆ object

- (id) object

Definition at line 121 of file OODebugInspectorModule.m.

85{
86 return [_object weakRefUnderlyingObject];
87}

Referenced by OOObjectDebugInspectorModule::awakeFromNib.

+ Here is the caller graph for this function:

◆ rootView

- (NSView *) rootView

Definition at line 121 of file OODebugInspectorModule.m.

79{
80 return _rootView;
81}

Referenced by OOObjectDebugInspectorModule::awakeFromNib.

+ Here is the caller graph for this function:

◆ update

Member Data Documentation

◆ _object

- (OOWeakReference*) _object
private

Definition at line 37 of file OODebugInspectorModule.h.

◆ _rootView

- (IBOutlet NSView*) _rootView
private

Definition at line 38 of file OODebugInspectorModule.h.


The documentation for this class was generated from the following files: