Skip to content

Commit

Permalink
Tossed old PSMTabBar code and added framwwork for updated version from
Browse files Browse the repository at this point in the history
…https://github.com/dorianj/PSMTabBarControl. Got build working and app running
  • Loading branch information
cmarrin committed Aug 31, 2011
1 parent 1139ed5 commit a23752e
Show file tree
Hide file tree
Showing 160 changed files with 2,660 additions and 3,560 deletions.
2 changes: 1 addition & 1 deletion Classes/FRAHelpMenuController.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ and limitations under the License.

- (IBAction)installCommandLineUtilityAction:(id)sender;

- (IBAction)fraiseHelp:(id)sender;
- (IBAction)help:(id)sender;
@end
2 changes: 1 addition & 1 deletion Classes/FRAHelpMenuController.m
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ - (void)installCommandLineUtiltiySheetDidEnd:(NSWindow *)sheet returnCode:(NSInt
}


- (IBAction)strawberryHelp:(id)sender
- (IBAction)help:(id)sender
{
[[NSWorkspace sharedWorkspace] openFile:[[NSBundle mainBundle] pathForResource:@"Fraise-Manual" ofType:@"pdf"]];
}
Expand Down
3 changes: 1 addition & 2 deletions Classes/FRAProject+DocumentViewsController.m
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#import "FRAViewMenuController.h"
#import "FRALineNumbers.h"

#import "PSMTabBarControl.h"
#import "PSMTabBarControl/PSMTabBarControl.h"

@implementation FRAProject (DocumentViewsController)

Expand All @@ -34,7 +34,6 @@ - (void)setDefaultViews
[tabBarControl setTabView:tabBarTabView];
[tabBarControl setCanCloseOnlyTab:YES];
[tabBarControl setStyleNamed:@"Unified"];
[tabBarControl setAllowsDragBetweenWindows:YES];
[tabBarControl setCellMinWidth:100];
[tabBarControl setCellMaxWidth:280];
[tabBarControl setCellOptimumWidth:170];
Expand Down
2 changes: 1 addition & 1 deletion Classes/FRAViewMenuController.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#import "FRAProject+DocumentViewsController.h"
#import "FRALayoutManager.h"

#import "PSMTabBarControl.h"
#import "PSMTabBarControl/PSMTabBarControl.h"

@implementation FRAViewMenuController

Expand Down
79 changes: 17 additions & 62 deletions English.lproj/FRAMainMenu.xib
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">11C26</string>
<string key="IBDocument.InterfaceBuilderVersion">1931</string>
<string key="IBDocument.AppKitVersion">1138.11</string>
<string key="IBDocument.SystemVersion">11C24</string>
<string key="IBDocument.InterfaceBuilderVersion">1928</string>
<string key="IBDocument.AppKitVersion">1138.1</string>
<string key="IBDocument.HIToolboxVersion">566.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
<string key="NS.object.0">1931</string>
<string key="NS.object.0">1928</string>
</object>
<object class="NSArray" key="IBDocument.IntegratedClassDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
Expand Down Expand Up @@ -43,7 +43,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMenuItem" id="509621229">
<reference key="NSMenu" ref="1050515396"/>
<string key="NSTitle">Fraise</string>
<string key="NSTitle">Strawberry</string>
<string key="NSKeyEquiv"/>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
Expand All @@ -57,12 +57,12 @@
</object>
<string key="NSAction">submenuAction:</string>
<object class="NSMenu" key="NSSubmenu" id="636667468">
<string key="NSTitle">Fraise</string>
<string key="NSTitle">Strawberry</string>
<object class="NSMutableArray" key="NSMenuItems">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMenuItem" id="1002730145">
<reference key="NSMenu" ref="636667468"/>
<string key="NSTitle">About Fraise</string>
<string key="NSTitle">About Strawberry</string>
<string key="NSKeyEquiv"/>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="184541674"/>
Expand Down Expand Up @@ -139,7 +139,7 @@
</object>
<object class="NSMenuItem" id="398492299">
<reference key="NSMenu" ref="636667468"/>
<string key="NSTitle">Hide Fraise</string>
<string key="NSTitle">Hide Strawberry</string>
<string key="NSKeyEquiv">h</string>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
Expand Down Expand Up @@ -177,7 +177,7 @@
</object>
<object class="NSMenuItem" id="63441010">
<reference key="NSMenu" ref="636667468"/>
<string key="NSTitle">Quit Fraise</string>
<string key="NSTitle">Quit Strawberry</string>
<string key="NSKeyEquiv">q</string>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
Expand Down Expand Up @@ -945,16 +945,6 @@
<reference key="NSMixedImage" ref="1033520260"/>
<int key="NSTag">12</int>
</object>
<object class="NSMenuItem" id="275760708">
<reference key="NSMenu" ref="231327451"/>
<string key="NSTitle">View Document In Full Screen</string>
<string key="NSKeyEquiv">m</string>
<int key="NSKeyEquivModMask">1572864</int>
<int key="NSMnemonicLoc">2147483647</int>
<reference key="NSOnImage" ref="184541674"/>
<reference key="NSMixedImage" ref="1033520260"/>
<int key="NSTag">13</int>
</object>
<object class="NSMenuItem" id="680721489">
<reference key="NSMenu" ref="231327451"/>
<bool key="NSIsDisabled">YES</bool>
Expand Down Expand Up @@ -1887,10 +1877,11 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMenuItem" id="315166750">
<reference key="NSMenu" ref="281169779"/>
<string key="NSTitle">Fraise Help</string>
<string key="NSTitle">Strawberry Help</string>
<string key="NSKeyEquiv">?</string>
<int key="NSKeyEquivModMask">1048576</int>
<int key="NSMnemonicLoc">2147483647</int>
<int key="NSState">1</int>
<reference key="NSOnImage" ref="184541674"/>
<reference key="NSMixedImage" ref="1033520260"/>
</object>
Expand Down Expand Up @@ -2463,11 +2454,11 @@
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">fraiseHelp:</string>
<string key="label">help:</string>
<reference key="source" ref="98918729"/>
<reference key="destination" ref="315166750"/>
</object>
<int key="connectionID">793</int>
<int key="connectionID">1150</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
Expand Down Expand Up @@ -2901,14 +2892,6 @@
</object>
<int key="connectionID">546</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">viewDocumentInFullScreenAction:</string>
<reference key="source" ref="765041984"/>
<reference key="destination" ref="275760708"/>
</object>
<int key="connectionID">547</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">showDocumentsViewAction:</string>
Expand Down Expand Up @@ -3394,7 +3377,6 @@
<reference ref="229696986"/>
<reference ref="173306796"/>
<reference ref="749996103"/>
<reference ref="275760708"/>
<reference ref="680721489"/>
<reference ref="1021067126"/>
<reference ref="1049604851"/>
Expand Down Expand Up @@ -3431,11 +3413,6 @@
<reference key="object" ref="749996103"/>
<reference key="parent" ref="231327451"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">298</int>
<reference key="object" ref="275760708"/>
<reference key="parent" ref="231327451"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">299</int>
<reference key="object" ref="680721489"/>
Expand Down Expand Up @@ -4543,8 +4520,6 @@
<string>292.IBPluginDependency</string>
<string>295.IBPluginDependency</string>
<string>297.IBPluginDependency</string>
<string>298.IBAttributePlaceholdersKey</string>
<string>298.IBPluginDependency</string>
<string>299.IBPluginDependency</string>
<string>300.IBPluginDependency</string>
<string>301.IBPluginDependency</string>
Expand Down Expand Up @@ -4763,15 +4738,6 @@
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<object class="NSMutableDictionary">
<string key="NS.key.0">ToolTip</string>
<object class="IBToolTipAttribute" key="NS.object.0">
<string key="name">ToolTip</string>
<reference key="object" ref="275760708"/>
<string key="toolTip">Press Escape to return from full screen mode</string>
</object>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
Expand Down Expand Up @@ -4900,7 +4866,7 @@
<reference key="dict.values" ref="0"/>
</object>
<nil key="sourceID"/>
<int key="maxID">1149</int>
<int key="maxID">1151</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
Expand Down Expand Up @@ -5125,7 +5091,7 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>fraiseHelp:</string>
<string>help:</string>
<string>installCommandLineUtilityAction:</string>
</object>
<object class="NSMutableArray" key="dict.values">
Expand All @@ -5138,13 +5104,13 @@
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>fraiseHelp:</string>
<string>help:</string>
<string>installCommandLineUtilityAction:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBActionInfo">
<string key="name">fraiseHelp:</string>
<string key="name">help:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
Expand Down Expand Up @@ -5620,7 +5586,6 @@
<string>showSyntaxColoursAction:</string>
<string>showTabBarAction:</string>
<string>splitWindowAction:</string>
<string>viewDocumentInFullScreenAction:</string>
<string>viewDocumentInSeparateWindowAction:</string>
</object>
<object class="NSMutableArray" key="dict.values">
Expand All @@ -5637,7 +5602,6 @@
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="actionInfosByName">
Expand All @@ -5655,7 +5619,6 @@
<string>showSyntaxColoursAction:</string>
<string>showTabBarAction:</string>
<string>splitWindowAction:</string>
<string>viewDocumentInFullScreenAction:</string>
<string>viewDocumentInSeparateWindowAction:</string>
</object>
<object class="NSMutableArray" key="dict.values">
Expand Down Expand Up @@ -5704,10 +5667,6 @@
<string key="name">splitWindowAction:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">viewDocumentInFullScreenAction:</string>
<string key="candidateClassName">id</string>
</object>
<object class="IBActionInfo">
<string key="name">viewDocumentInSeparateWindowAction:</string>
<string key="candidateClassName">id</string>
Expand Down Expand Up @@ -5969,10 +5928,6 @@
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
<integer value="1050" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.macosx</string>
<real value="1070" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
<integer value="3000" key="NS.object.0"/>
Expand Down
Loading

0 comments on commit a23752e

Please sign in to comment.