Revision: 2899
http://skim-app.svn.sourceforge.net/skim-app/?rev=2899&view=rev
Author: hofman
Date: 2007-09-11 12:31:32 -0700 (Tue, 11 Sep 2007)
Log Message:
-----------
Add a statusbar to the notes document window. Show status message during
type-select.
Modified Paths:
--------------
trunk/Dutch.lproj/NotesDocument.nib/classes.nib
trunk/Dutch.lproj/NotesDocument.nib/keyedobjects.nib
trunk/English.lproj/NotesDocument.nib/classes.nib
trunk/English.lproj/NotesDocument.nib/keyedobjects.nib
trunk/French.lproj/NotesDocument.nib/classes.nib
trunk/French.lproj/NotesDocument.nib/info.nib
trunk/French.lproj/NotesDocument.nib/keyedobjects.nib
trunk/Italian.lproj/NotesDocument.nib/classes.nib
trunk/Italian.lproj/NotesDocument.nib/info.nib
trunk/Italian.lproj/NotesDocument.nib/keyedobjects.nib
trunk/SKNotesDocument.h
trunk/SKNotesDocument.m
Modified: trunk/Dutch.lproj/NotesDocument.nib/classes.nib
===================================================================
--- trunk/Dutch.lproj/NotesDocument.nib/classes.nib 2007-09-11 17:06:44 UTC
(rev 2898)
+++ trunk/Dutch.lproj/NotesDocument.nib/classes.nib 2007-09-11 19:31:32 UTC
(rev 2899)
@@ -29,7 +29,11 @@
ACTIONS = {openPDF = id; };
CLASS = SKNotesDocument;
LANGUAGE = ObjC;
- OUTLETS = {arrayController = NSArrayController; outlineView =
SKNoteOutlineView; };
+ OUTLETS = {
+ arrayController = NSArrayController;
+ outlineView = SKNoteOutlineView;
+ statusBar = SKStatusBar;
+ };
SUPERCLASS = NSDocument;
},
{
@@ -37,6 +41,13 @@
CLASS = SKOutlineView;
LANGUAGE = ObjC;
SUPERCLASS = NSOutlineView;
+ },
+ {
+ ACTIONS = {startAnimation = id; stopAnimation = id; };
+ CLASS = SKStatusBar;
+ LANGUAGE = ObjC;
+ OUTLETS = {leftCell = id; rightCell = id; };
+ SUPERCLASS = NSControl;
}
);
IBVersion = 1;
Modified: trunk/Dutch.lproj/NotesDocument.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/English.lproj/NotesDocument.nib/classes.nib
===================================================================
--- trunk/English.lproj/NotesDocument.nib/classes.nib 2007-09-11 17:06:44 UTC
(rev 2898)
+++ trunk/English.lproj/NotesDocument.nib/classes.nib 2007-09-11 19:31:32 UTC
(rev 2899)
@@ -29,7 +29,11 @@
ACTIONS = {openPDF = id; };
CLASS = SKNotesDocument;
LANGUAGE = ObjC;
- OUTLETS = {arrayController = NSArrayController; outlineView =
SKNoteOutlineView; };
+ OUTLETS = {
+ arrayController = NSArrayController;
+ outlineView = SKNoteOutlineView;
+ statusBar = SKStatusBar;
+ };
SUPERCLASS = NSDocument;
},
{
@@ -37,6 +41,13 @@
CLASS = SKOutlineView;
LANGUAGE = ObjC;
SUPERCLASS = NSOutlineView;
+ },
+ {
+ ACTIONS = {startAnimation = id; stopAnimation = id; };
+ CLASS = SKStatusBar;
+ LANGUAGE = ObjC;
+ OUTLETS = {leftCell = id; rightCell = id; };
+ SUPERCLASS = NSControl;
}
);
IBVersion = 1;
Modified: trunk/English.lproj/NotesDocument.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/French.lproj/NotesDocument.nib/classes.nib
===================================================================
--- trunk/French.lproj/NotesDocument.nib/classes.nib 2007-09-11 17:06:44 UTC
(rev 2898)
+++ trunk/French.lproj/NotesDocument.nib/classes.nib 2007-09-11 19:31:32 UTC
(rev 2899)
@@ -29,7 +29,11 @@
ACTIONS = {openPDF = id; };
CLASS = SKNotesDocument;
LANGUAGE = ObjC;
- OUTLETS = {arrayController = NSArrayController; outlineView =
SKNoteOutlineView; };
+ OUTLETS = {
+ arrayController = NSArrayController;
+ outlineView = SKNoteOutlineView;
+ statusBar = SKStatusBar;
+ };
SUPERCLASS = NSDocument;
},
{
@@ -37,6 +41,13 @@
CLASS = SKOutlineView;
LANGUAGE = ObjC;
SUPERCLASS = NSOutlineView;
+ },
+ {
+ ACTIONS = {startAnimation = id; stopAnimation = id; };
+ CLASS = SKStatusBar;
+ LANGUAGE = ObjC;
+ OUTLETS = {leftCell = id; rightCell = id; };
+ SUPERCLASS = NSControl;
}
);
IBVersion = 1;
Modified: trunk/French.lproj/NotesDocument.nib/info.nib
===================================================================
--- trunk/French.lproj/NotesDocument.nib/info.nib 2007-09-11 17:06:44 UTC
(rev 2898)
+++ trunk/French.lproj/NotesDocument.nib/info.nib 2007-09-11 19:31:32 UTC
(rev 2899)
@@ -3,10 +3,14 @@
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
- <string>79 78 356 240 0 0 1600 1178 </string>
+ <string>69 58 356 240 0 0 1440 938 </string>
<key>IBFramework Version</key>
<string>446.1</string>
+ <key>IBOpenObjects</key>
+ <array>
+ <integer>5</integer>
+ </array>
<key>IBSystem Version</key>
- <string>8R2218</string>
+ <string>8R218</string>
</dict>
</plist>
Modified: trunk/French.lproj/NotesDocument.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/Italian.lproj/NotesDocument.nib/classes.nib
===================================================================
--- trunk/Italian.lproj/NotesDocument.nib/classes.nib 2007-09-11 17:06:44 UTC
(rev 2898)
+++ trunk/Italian.lproj/NotesDocument.nib/classes.nib 2007-09-11 19:31:32 UTC
(rev 2899)
@@ -29,7 +29,11 @@
ACTIONS = {openPDF = id; };
CLASS = SKNotesDocument;
LANGUAGE = ObjC;
- OUTLETS = {arrayController = NSArrayController; outlineView =
SKNoteOutlineView; };
+ OUTLETS = {
+ arrayController = NSArrayController;
+ outlineView = SKNoteOutlineView;
+ statusBar = SKStatusBar;
+ };
SUPERCLASS = NSDocument;
},
{
@@ -37,6 +41,13 @@
CLASS = SKOutlineView;
LANGUAGE = ObjC;
SUPERCLASS = NSOutlineView;
+ },
+ {
+ ACTIONS = {startAnimation = id; stopAnimation = id; };
+ CLASS = SKStatusBar;
+ LANGUAGE = ObjC;
+ OUTLETS = {leftCell = id; rightCell = id; };
+ SUPERCLASS = NSControl;
}
);
IBVersion = 1;
Modified: trunk/Italian.lproj/NotesDocument.nib/info.nib
===================================================================
--- trunk/Italian.lproj/NotesDocument.nib/info.nib 2007-09-11 17:06:44 UTC
(rev 2898)
+++ trunk/Italian.lproj/NotesDocument.nib/info.nib 2007-09-11 19:31:32 UTC
(rev 2899)
@@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
- <string>70 139 356 240 0 0 1440 938 </string>
+ <string>72 67 356 240 0 0 1440 938 </string>
<key>IBFramework Version</key>
<string>446.1</string>
<key>IBOpenObjects</key>
Modified: trunk/Italian.lproj/NotesDocument.nib/keyedobjects.nib
===================================================================
(Binary files differ)
Modified: trunk/SKNotesDocument.h
===================================================================
--- trunk/SKNotesDocument.h 2007-09-11 17:06:44 UTC (rev 2898)
+++ trunk/SKNotesDocument.h 2007-09-11 19:31:32 UTC (rev 2899)
@@ -38,11 +38,12 @@
#import <Cocoa/Cocoa.h>
[EMAIL PROTECTED] SKNoteOutlineView;
[EMAIL PROTECTED] SKNoteOutlineView, SKStatusBar;
@interface SKNotesDocument : NSDocument {
IBOutlet SKNoteOutlineView *outlineView;
IBOutlet NSArrayController *arrayController;
+ IBOutlet SKStatusBar *statusBar;
NSMutableArray *notes;
}
Modified: trunk/SKNotesDocument.m
===================================================================
--- trunk/SKNotesDocument.m 2007-09-11 17:06:44 UTC (rev 2898)
+++ trunk/SKNotesDocument.m 2007-09-11 19:31:32 UTC (rev 2899)
@@ -49,6 +49,7 @@
#import "SKPDFAnnotationNote.h"
#import "SKStringConstants.h"
#import "SKFDFParser.h"
+#import "SKStatusBar.h"
@implementation SKNotesDocument
@@ -441,4 +442,15 @@
[outlineView scrollRowToVisible:row];
}
+- (void)typeSelectHelper:(SKTypeSelectHelper *)typeSelectHelper
didFailToFindMatchForSearchString:(NSString *)searchString {
+ [statusBar setLeftStringValue:[NSString
stringWithFormat:NSLocalizedString(@"No match: \"[EMAIL PROTECTED]"", @"Status
message"), searchString]];
+}
+
+- (void)typeSelectHelper:(SKTypeSelectHelper *)typeSelectHelper
updateSearchString:(NSString *)searchString {
+ if (searchString)
+ [statusBar setLeftStringValue:[NSString
stringWithFormat:NSLocalizedString(@"Finding note: \"[EMAIL PROTECTED]"",
@"Status message"), searchString]];
+ else
+ [statusBar setLeftStringValue:@""];
+}
+
@end
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit