Revision: 5712
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5712&view=rev
Author:   hofman
Date:     2009-09-08 15:20:18 +0000 (Tue, 08 Sep 2009)

Log Message:
-----------
no need to implement setter for scripting read-only properties that can be 
given at creation time

Modified Paths:
--------------
    trunk/PDFAnnotationInk_SKExtensions.m
    trunk/PDFAnnotationMarkup_SKExtensions.m
    trunk/PDFAnnotation_SKExtensions.m

Modified: trunk/PDFAnnotationInk_SKExtensions.m
===================================================================
--- trunk/PDFAnnotationInk_SKExtensions.m       2009-09-08 15:15:44 UTC (rev 
5711)
+++ trunk/PDFAnnotationInk_SKExtensions.m       2009-09-08 15:20:18 UTC (rev 
5712)
@@ -204,12 +204,6 @@
     return pointLists;
 }
 
-- (void)setScriptingPointLists:(NSArray *)lists {
-    NSScriptCommand *currentCommand = [NSScriptCommand currentCommand];
-    if ([currentCommand isKindOfClass:[NSCreateCommand class]] == NO)
-        [currentCommand 
setScriptErrorNumber:NSReceiversCantHandleCommandScriptError]; 
-}
-
 #pragma mark Accessibility
 
 - (NSArray *)accessibilityAttributeNames {

Modified: trunk/PDFAnnotationMarkup_SKExtensions.m
===================================================================
--- trunk/PDFAnnotationMarkup_SKExtensions.m    2009-09-08 15:15:44 UTC (rev 
5711)
+++ trunk/PDFAnnotationMarkup_SKExtensions.m    2009-09-08 15:20:18 UTC (rev 
5712)
@@ -375,12 +375,6 @@
     return [sel hasCharacters] ? [sel objectSpecifier] : [NSArray array];
 }
 
-- (void)setSelectionSpecifier:(id)specifier {
-    NSScriptCommand *currentCommand = [NSScriptCommand currentCommand];
-    if ([currentCommand isKindOfClass:[NSCreateCommand class]] == NO)
-        [currentCommand 
setScriptErrorNumber:NSReceiversCantHandleCommandScriptError]; 
-}
-
 - (NSArray *)scriptingPointLists {
     NSPoint origin = [self bounds].origin;
     NSMutableArray *pointLists = [NSMutableArray array];

Modified: trunk/PDFAnnotation_SKExtensions.m
===================================================================
--- trunk/PDFAnnotation_SKExtensions.m  2009-09-08 15:15:44 UTC (rev 5711)
+++ trunk/PDFAnnotation_SKExtensions.m  2009-09-08 15:20:18 UTC (rev 5712)
@@ -284,12 +284,6 @@
     return 0;
 }
 
-- (void)setScriptingNoteType:(FourCharCode)type {
-    NSScriptCommand *currentCommand = [NSScriptCommand currentCommand];
-    if ([currentCommand isKindOfClass:[NSCreateCommand class]] == NO)
-        [currentCommand 
setScriptErrorNumber:NSReceiversCantHandleCommandScriptError]; 
-}
-
 - (PDFPage *)scriptingPage {
     return [self page];
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to