Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
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 52 of file OODebugInspectorModule.m.

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

References dealloc.

Referenced by dealloc.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ initWithObject:

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

Definition at line 35 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

References _object, loadUserInterface, and nil.

+ Here is the call graph for this function:

◆ loadUserInterface

- (BOOL) loadUserInterface

Definition at line 61 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}

References loadUserInterface, nibName, and nil.

Referenced by initWithObject:, and loadUserInterface.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ nibName

- (NSString *) nibName

Definition at line 72 of file OODebugInspectorModule.m.

73{
74 return [self className];
75}

References nibName.

Referenced by loadUserInterface, and nibName.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ object

◆ rootView

- (NSView *) rootView

Definition at line 78 of file OODebugInspectorModule.m.

79{
80 return _rootView;
81}

References _rootView, and rootView.

Referenced by OOObjectDebugInspectorModule::awakeFromNib, and rootView.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ update

- (void) update

Reimplemented in OOAIDebugInspectorModule, OOEntityDebugInspectorModule, OOObjectDebugInspectorModule, OOShipDebugInspectorModule, and OOShipGroupDebugInspectorModule.

Definition at line 90 of file OODebugInspectorModule.m.

91{
92
93}

References update.

Referenced by update.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _object

- (OOWeakReference*) _object
private

Definition at line 37 of file OODebugInspectorModule.h.

Referenced by initWithObject:.

◆ _rootView

- (IBOutlet NSView*) _rootView
private

Definition at line 38 of file OODebugInspectorModule.h.

Referenced by rootView.


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