libs-gui/Model/test.gmodel

756 lines
22 KiB
Text
Raw Permalink Normal View History

{
"Object 1" = {
elements = ("Object 2", "Object 31", "Object 55", "Object 56");
isa = NSMutableArray;
};
"Object 2" = {className = NSApplication; isa = IMCustomObject; realObject = "Object 3"; };
"Object 3" = {
delegate = nil;
isa = NSApplication;
keyWindow = nil;
mainMenu = "Object 34";
mainWindow = nil;
windows = "Object 4";
};
"Object 4" = {
elements = ("Object 5", "Object 9", "Object 11", "Object 32");
isa = NSMutableArray;
};
"Object 5" = {
backgroundColor = "Object 8";
backingType = 0;
contentView = "Object 6";
frame = "{x = 0; y = 0; width = 256; height = 128}";
frameAutosaveName = nil;
hidesOnDeactivate = NO;
isAutodisplay = NO;
isReleasedWhenClosed = NO;
isVisible = NO;
isa = NSWindow;
level = 0;
maxSize = "{width = 16000.0; height = 16000.0}";
minSize = "{width = 0; height = 0}";
representedFilename = "";
styleMask = 0;
title = "";
};
"Object 6" = {
autoresizesSubviews = YES;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 256; height = 128}";
frame = "{x = 0; y = 0; width = 256; height = 128}";
isa = NSView;
nextResponder = "Object 5";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
subviews = "Object 7";
superview = nil;
};
"Object 7" = {elements = (); isa = NSMutableArray; };
"Object 8" = {
alpha = 1.000000;
blue = 0.666667;
brightness = 0.666667;
colorSpaceName = NSCalibratedRGBColorSpace;
green = 0.666667;
hue = 0.000000;
isa = NSColor;
red = 0.666667;
saturation = 0.000000;
};
"Object 9" = {
backgroundColor = "Object 8";
backingType = 0;
contentView = "Object 10";
frame = "{x = 100; y = 100; width = 193; height = 208}";
frameAutosaveName = nil;
hidesOnDeactivate = NO;
isAutodisplay = NO;
isReleasedWhenClosed = NO;
isVisible = NO;
isa = NSWindow;
level = 0;
maxSize = "{width = 16000.0; height = 16000.0}";
minSize = "{width = 0; height = 0}";
representedFilename = "";
styleMask = 0;
title = "";
};
"Object 10" = {
autoresizesSubviews = YES;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 193; height = 208}";
frame = "{x = 0; y = 0; width = 193; height = 208}";
isa = NSView;
nextResponder = "Object 9";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
subviews = "Object 7";
superview = nil;
};
"Object 11" = {
backgroundColor = "Object 8";
backingType = 2;
contentView = "Object 12";
frame = "{x = 100; y = 100; width = 422; height = 304}";
frameAutosaveName = nil;
hidesOnDeactivate = NO;
isAutodisplay = YES;
isReleasedWhenClosed = NO;
isVisible = YES;
isa = NSWindow;
level = 0;
maxSize = "{width = 16000.0; height = 16000.0}";
minSize = "{width = 0; height = 0}";
representedFilename = "";
styleMask = 14;
title = "My Window";
};
"Object 12" = {
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 420; height = 272}";
frame = "{x = 1; y = 9; width = 420; height = 272}";
isa = NSView;
nextResponder = "Object 11";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
subviews = "Object 13";
superview = nil;
};
"Object 13" = {
elements = (
"Object 14",
"Object 16",
"Object 17",
"Object 18",
"Object 19",
"Object 20",
"Object 21",
"Object 24",
"Object 27",
"Object 30",
"Object 31"
);
isa = NSMutableArray;
};
"Object 14" = {
alignment = 2;
alternateImage = nil;
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 114; height = 24}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 16; y = 148; width = 114; height = 24}";
highlightsBy = 12;
ignoresMultiClick = NO;
image = nil;
imagePosition = 0;
interval = 0.025000;
isBordered = YES;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 0;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = "Momentary Light";
};
"Object 15" = {isa = NSFont; name = Helvetica; size = 12.000000; };
"Object 16" = {
alignment = 2;
alternateImage = nil;
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 114; height = 24}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 16; y = 232; width = 114; height = 24}";
highlightsBy = 14;
ignoresMultiClick = NO;
image = nil;
imagePosition = 0;
interval = 0.025000;
isBordered = YES;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 0;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = "Momentary Push";
};
"Object 17" = {
alignment = 2;
alternateImage = nil;
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 114; height = 24}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 16; y = 190; width = 114; height = 24}";
highlightsBy = 1;
ignoresMultiClick = NO;
image = nil;
imagePosition = 0;
interval = 0.025000;
isBordered = YES;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 0;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = "Momentary change";
};
"Object 18" = {
alignment = 2;
alternateImage = nil;
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 114; height = 24}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 17; y = 106; width = 114; height = 24}";
highlightsBy = 14;
ignoresMultiClick = NO;
image = nil;
imagePosition = 0;
interval = 0.025000;
isBordered = YES;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 12;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = PushOn/PushOff;
};
"Object 19" = {
alignment = 2;
alternateImage = nil;
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 114; height = 24}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 15; y = 64; width = 114; height = 24}";
highlightsBy = 12;
ignoresMultiClick = NO;
image = nil;
imagePosition = 0;
interval = 0.025000;
isBordered = YES;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 12;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = On/Off;
};
"Object 20" = {
alignment = 2;
alternateImage = nil;
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 114; height = 24}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 16; y = 22; width = 114; height = 24}";
highlightsBy = 3;
ignoresMultiClick = NO;
image = nil;
imagePosition = 0;
interval = 0.025000;
isBordered = YES;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 1;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = Toggle;
};
"Object 21" = {
alignment = 0;
alternateImage = "Object 23";
alternateTitle = Alternate;
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 109; height = 15}";
delay = 0.200000;
font = "Object 15";
frame = "{x = 204; y = 216; width = 109; height = 15}";
highlightsBy = 3;
ignoresMultiClick = NO;
image = "Object 22";
imagePosition = 2;
interval = 0.025000;
isBordered = NO;
isContinuous = NO;
isEnabled = YES;
isTransparent = NO;
isa = NSButton;
keyEquivalent = "";
nextResponder = "Object 12";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
showsStateBy = 1;
state = 0;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
title = Switch;
};
"Object 22" = {isa = NSImage; name = NSSwitch; size = "{width = 15; height = 15}"; };
"Object 23" = {
isa = NSImage;
name = NSHighlightedSwitch;
size = "{width = 15; height = 15}";
};
"Object 24" = {
alignment = 2;
autoresizesSubviews = NO;
autoresizingMask = 0;
backgroundColor = "Object 8";
bounds = "{x = 0; y = 0; width = 132; height = 26}";
delegate = nil;
drawsBackground = NO;
errorAction = nil;
font = "Object 25";
frame = "{x = 193; y = 167; width = 132; height = 26}";
ignoresMultiClick = NO;
isBezeled = NO;
isBordered = YES;
isContinuous = NO;
isEditable = YES;
isEnabled = YES;
isScrollable = YES;
isSelectable = YES;
isa = NSTextField;
nextResponder = "Object 12";
nextText = "Object 18";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
previousText = "Object 14";
stringValue = Title;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
textColor = "Object 26";
};
"Object 25" = {isa = NSFont; name = Helvetica; size = 18.000000; };
"Object 26" = {
alpha = 1.000000;
blue = 0.000000;
brightness = 0.000000;
colorSpaceName = NSCalibratedRGBColorSpace;
green = 0.000000;
hue = 0.000000;
isa = NSColor;
red = 0.000000;
saturation = 0.000000;
};
"Object 27" = {
alignment = 2;
autoresizesSubviews = NO;
autoresizingMask = 0;
backgroundColor = "Object 29";
bounds = "{x = 0; y = 0; width = 214; height = 21}";
delegate = nil;
drawsBackground = YES;
errorAction = nil;
font = "Object 15";
frame = "{x = 172; y = 108; width = 214; height = 21}";
ignoresMultiClick = NO;
isBezeled = YES;
isBordered = NO;
isContinuous = NO;
isEditable = YES;
isEnabled = YES;
isScrollable = YES;
isSelectable = YES;
isa = NSTextField;
nextResponder = "Object 12";
nextText = "Object 19";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
previousText = "Object 18";
stringValue = Text;
subviews = "Object 7";
superview = "Object 12";
tag = 0;
textColor = "Object 28";
};
"Object 28" = {
alpha = 1.000000;
blue = 0.000000;
brightness = 0.000000;
colorSpaceName = NSCalibratedRGBColorSpace;
green = 0.000000;
hue = 0.000000;
isa = NSColor;
red = 0.000000;
saturation = 0.000000;
};
"Object 29" = {
alpha = 1.000000;
blue = 1.000000;
brightness = 1.000000;
colorSpaceName = NSCalibratedRGBColorSpace;
green = 1.000000;
hue = 0.000000;
isa = NSColor;
red = 1.000000;
saturation = 0.000000;
};
"Object 30" = {isa = NSPopUpButton; pullsDown = NO; };
"Object 31" = {className = MyView; isa = NSView; };
"Object 32" = {
backgroundColor = "Object 8";
backingType = 2;
contentView = "Object 33";
frame = "{x = 178; y = 312; width = 370; height = 357}";
frameAutosaveName = nil;
hidesOnDeactivate = NO;
isAutodisplay = YES;
isReleasedWhenClosed = NO;
isVisible = NO;
isa = NSWindow;
level = 0;
maxSize = "{width = 16000.0; height = 16000.0}";
minSize = "{width = 0; height = 0}";
representedFilename = "";
styleMask = 14;
title = Window;
};
"Object 33" = {
autoresizesSubviews = NO;
autoresizingMask = 0;
bounds = "{x = 0; y = 0; width = 368; height = 325}";
frame = "{x = 1; y = 9; width = 368; height = 325}";
isa = NSView;
nextResponder = "Object 32";
postsBoundsChangedNotifications = YES;
postsFrameChangedNotifications = YES;
subviews = "Object 7";
superview = nil;
};
"Object 34" = {
autoenablesItems = YES;
isa = NSMenu;
itemArray = "Object 35";
title = test;
};
"Object 35" = {
elements = ("Object 36", "Object 42", "Object 53", "Object 54");
isa = NSMutableArray;
};
"Object 36" = {
action = "submenuAction:";
isEnabled = YES;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = "Object 37";
title = Info;
};
"Object 37" = {
autoenablesItems = YES;
isa = NSMenu;
itemArray = "Object 38";
title = Info;
};
"Object 38" = {
elements = ("Object 39", "Object 40", "Object 41");
isa = NSMutableArray;
};
"Object 39" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = nil;
title = "Info Panel...";
};
"Object 40" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = nil;
title = Preferences...;
};
"Object 41" = {
action = nil;
isEnabled = YES;
isa = NSMenuItem;
keyEquivalent = "?";
tag = 0;
target = nil;
title = Help...;
};
"Object 42" = {
action = "submenuAction:";
isEnabled = YES;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = "Object 43";
title = Document;
};
"Object 43" = {
autoenablesItems = YES;
isa = NSMenu;
itemArray = "Object 44";
title = Document;
};
"Object 44" = {
elements = (
"Object 45",
"Object 46",
"Object 47",
"Object 48",
"Object 49",
"Object 50",
"Object 51",
"Object 52"
);
isa = NSMutableArray;
};
"Object 45" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = o;
tag = 0;
target = nil;
title = Open...;
};
"Object 46" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = n;
tag = 0;
target = nil;
title = New;
};
"Object 47" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = s;
tag = 0;
target = nil;
title = Save;
};
"Object 48" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = S;
tag = 0;
target = nil;
title = "Save As...";
};
"Object 49" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = nil;
title = "Save To...";
};
"Object 50" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = nil;
title = "Save All";
};
"Object 51" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = nil;
title = "Revert to Saved";
};
"Object 52" = {
action = nil;
isEnabled = NO;
isa = NSMenuItem;
keyEquivalent = "";
tag = 0;
target = nil;
title = Close;
};
"Object 53" = {
action = nil;
isEnabled = YES;
isa = NSMenuItem;
keyEquivalent = h;
tag = 0;
target = nil;
title = Hide;
};
"Object 54" = {
action = nil;
isEnabled = YES;
isa = NSMenuItem;
keyEquivalent = q;
tag = 0;
target = nil;
title = Quit;
};
"Object 55" = {className = Controller; isa = IMCustomObject; };
"Object 56" = {className = NSFontManager; isa = IMCustomObject; };
"Object 57" = {
elements = (
"Object 58",
"Object 60",
"Object 62",
"Object 64",
"Object 66",
"Object 67",
"Object 68",
"Object 69",
"Object 70",
"Object 71",
"Object 72"
);
isa = NSMutableArray;
};
"Object 58" = {
destination = "Object 2";
isa = IMControlConnector;
label = "Object 59";
source = "Object 54";
};
"Object 59" = {isa = NSString; string = "terminate:"; };
"Object 60" = {
destination = "Object 2";
isa = IMControlConnector;
label = "Object 61";
source = "Object 53";
};
"Object 61" = {isa = NSString; string = "hide:"; };
"Object 62" = {
destination = "Object 27";
isa = IMOutletConnector;
label = "Object 63";
source = "Object 55";
};
"Object 63" = {isa = NSString; string = textField; };
"Object 64" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 16";
};
"Object 65" = {isa = NSString; string = "buttonPressed:"; };
"Object 66" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 17";
};
"Object 67" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 14";
};
"Object 68" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 18";
};
"Object 69" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 19";
};
"Object 70" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 20";
};
"Object 71" = {
destination = "Object 55";
isa = IMControlConnector;
label = "Object 65";
source = "Object 21";
};
"Object 72" = {
destination = "Object 55";
isa = IMOutletConnector;
label = "Object 73";
source = "Object 2";
};
"Object 73" = {isa = NSString; string = delegate; };
RootObject = {Connections = "Object 57"; Objects = "Object 1"; isa = GMModel; };
TopLevelObjects = (RootObject);
Version = 1;
}