formatting and now subclassing is tested by Open a document

This commit is contained in:
ggsato
2012-05-26 11:08:57 +09:00
parent 310422adb1
commit fabe1d8991
5 changed files with 17 additions and 10 deletions
@@ -12,4 +12,12 @@
return self;
}
/* Instead of throwing error in browser environment, show an alert
*/
- (void)openDocument:(id)aSender
{
var anAlert = [CPAlert alertWithError:@"Opening a document is not available!"];
[anAlert beginSheetModalForWindow:[[CPApplication sharedApplication] mainWindow]];
}
@end