28 BOOL _canChooseDirectories;
29 BOOL _allowsMultipleSelection;
41 if (typeof window[
"cpOpenPanel"] ===
"function")
51 result = window.cpOpenPanel(options);
58 throw "-runModal is unimplemented.";
73 - (BOOL)canChooseFiles
75 return _canChooseFiles;
81 - (void)setCanChooseFiles:(BOOL)aValue
83 _canChooseFiles = aValue;
89 - (BOOL)canChooseDirectories
91 return _canChooseDirectories;
97 - (void)setCanChooseDirectories:(BOOL)aValue
99 _canChooseDirectories = aValue;
105 - (BOOL)allowsMultipleSelection
107 return _allowsMultipleSelection;
113 - (void)setAllowsMultipleSelection:(BOOL)aValue
115 _allowsMultipleSelection = aValue;
123 return _directoryURL;
129 - (void)setDirectoryURL:(
CPURL)aValue
131 _directoryURL = aValue;
BOOL allowsMultipleSelection()
BOOL canChooseDirectories()
The main run loop for the application.
CPRunLoop currentRunLoop()
CPDate limitDateForMode:(CPString aMode)