Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Correia committed Jan 21, 2014
0 parents commit 1267e42
Show file tree
Hide file tree
Showing 704 changed files with 103,236 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# xcode noise
build
*.pbxuser
*.mode1v3
*.mode2v3
*.perspectivev3
*.xcuserdatad
*.xccheckout
project.xcworkspace

# old skool
.svn

# osx noise
.DS_Store
profile
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "OmniGroup"]
path = OmniGroup
url = git://github.com/omnigroup/OmniGroup.git
31 changes: 31 additions & 0 deletions GraphSketcher-Mac.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
<false/>
</dict>
</plist>
119 changes: 119 additions & 0 deletions GraphSketcher-Mac.xcworkspace/xcshareddata/xcschemes/ALL.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0500"
version = "1.3">
<BuildAction
parallelizeBuildables = "NO"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8DD76F740486A8DE00D96B5E"
BuildableName = "FixStringsFile"
BlueprintName = "FixStringsFile"
ReferencedContainer = "container:OmniGroup/Tools/FixStringsFile/FixStringsFile.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "4A33D40608A0191B003A3FA5"
BuildableName = "OmniBase.framework"
BlueprintName = "OmniBase"
ReferencedContainer = "container:OmniGroup/Frameworks/OmniBase/OmniBase.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8DC2EF4F0486A6940098B216"
BuildableName = "OmniUnzip.framework"
BlueprintName = "OmniUnzip"
ReferencedContainer = "container:OmniGroup/Frameworks/OmniUnzip/OmniUnzip.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "002EA1020EA7BBEF0096FE58"
BuildableName = "ALL"
BlueprintName = "ALL"
ReferencedContainer = "container:GraphSketcher/GraphSketcher.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8D15AC270486D014006FF6A4"
BuildableName = "GraphSketcher.app"
BlueprintName = "GraphSketcher"
ReferencedContainer = "container:GraphSketcher/App/GraphSketcher.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8D15AC270486D014006FF6A4"
BuildableName = "GraphSketcher.app"
BlueprintName = "GraphSketcher"
ReferencedContainer = "container:GraphSketcher/App/GraphSketcher.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
54 changes: 54 additions & 0 deletions GraphSketcher-iPad.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded</key>
<false/>
</dict>
</plist>
85 changes: 85 additions & 0 deletions GraphSketcher/App/AppController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// Copyright 2003-2013 Omni Development, Inc. All rights reserved.
//
// This software may only be used and reproduced according to the
// terms in the file OmniSourceLicense.html, which should be
// distributed with this project and can also be found at
// <http://www.omnigroup.com/developer/sourcecode/sourcelicense/>.
//
// $Header: svn+ssh://source.omnigroup.com/Source/svn/Omni/trunk/OmniGroup/Applications/OmniGraphSketcher/App/AppController.h 200244 2013-12-10 00:11:55Z correia $

#import <Cocoa/Cocoa.h>

#import <OmniAppKit/OAController.h>
#import <LinkBack/LinkBack.h>


@class Inspector, Preferences, RSMode;


@interface AppController : OAController <LinkBackServerDelegate>
{
Inspector *_inspector; // Controller object for the inspector panel
}

// Notifications:
- (void)applicationDidFinishLaunching:(NSNotification *)note;


// Showing windows
- (IBAction)showGettingStarted:(id)sender;

// Menu actions implemented elsewhere
- (IBAction)connectPoints:(id)sender;
- (IBAction)connectPointsLeftToRight:(id)sender;
- (IBAction)connectPointsTopToBottom:(id)sender;
- (IBAction)connectPointsCircular:(id)sender;
- (IBAction)fillArea:(id)sender;
- (IBAction)addPointToFill:(id)sender;
- (IBAction)bestFitLine:(id)sender;
- (IBAction)histogram:(id)sender;
- (IBAction)groupUngroup:(id)sender;
- (IBAction)lockUnlock:(id)sender;

- (IBAction)snapToGrid:(id)sender;
- (IBAction)displayGrid:(id)sender;
- (IBAction)selectConnected:(id)sender;
- (IBAction)selectConnectedPoints:(id)sender;
- (IBAction)selectConnectedLines:(id)sender;
- (IBAction)selectConnectedLabels:(id)sender;
- (IBAction)deselect:(id)sender;
- (IBAction)pasteAndConnect:(id)sender;
- (IBAction)pasteAndReplace:(id)sender;
- (IBAction)copyAsImage:(id)sender;

- (IBAction)exportPNG:(id)sender;
- (IBAction)exportJPG:(id)sender;
- (IBAction)exportPDF:(id)sender;
- (IBAction)exportTIFF:(id)sender;
- (IBAction)exportEPS:(id)sender;
- (IBAction)scaleToFitData:(id)sender;

- (IBAction)toggleContinuousSpellCheckingRS:(id)sender;
- (IBAction)toggleSuperscript:(id)sender;
- (IBAction)toggleSubscript:(id)sender;


// Menu actions implemented here
- (IBAction)importData:(id)sender;
- (IBAction)modifyTool:(id)sender;
- (IBAction)drawTool:(id)sender;
- (IBAction)fillTool:(id)sender;
- (IBAction)textTool:(id)sender;


// Menu actions for demos
- (IBAction)demoCurveConstruc:(id)sender;
- (IBAction)demoPenMode:(id)sender;

- (IBAction)openProductPageInBrowser:(id)sender;
- (IBAction)openKeyboardShortcuts:(id)sender;

// Menu validation for actions implemented in this class
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem; // determines whether menus are grayed out


@end
Loading

0 comments on commit 1267e42

Please sign in to comment.