NSWorkspace
Authors
- Scott Christley(
scottc@net-community.com
)
-
Workspace class
Copyright: (C) 1996-1999, 2001 Free Software Foundation, Inc.
Software documentation for the NSWorkspace class
Declared: AppKit/NSWorkspace.h
sharedWorkspace
+ (NSWorkspace*) sharedWorkspace;
checkForRemovableMedia
- (void) checkForRemovableMedia;
extendPowerOffBy:
- (int) extendPowerOffBy: (int)requested;
fileSystemChanged
- (BOOL) fileSystemChanged;
findApplications
- (void) findApplications;
fullPathForApplication:
- (NSString*) fullPathForApplication: (NSString*)appName;
getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:
- (BOOL) getFileSystemInfoForPath: (NSString*)fullPath isRemovable: (BOOL*)removableFlag isWritable: (BOOL*)writableFlag isUnmountable: (BOOL*)unmountableFlag description: (NSString**)description type: (NSString**)fileSystemType;
getInfoForFile:application:type:
- (BOOL) getInfoForFile: (NSString*)fullPath application: (NSString**)appName type: (NSString**)type;
hideOtherApplications
- (void) hideOtherApplications;
iconForFile:
- (NSImage*) iconForFile: (NSString*)aPath;
iconForFileType:
- (NSImage*) iconForFileType: (NSString*)fileType;
iconForFiles:
- (NSImage*) iconForFiles: (NSArray*)pathArray;
isFilePackageAtPath:
- (BOOL) isFilePackageAtPath: (NSString*)fullPath;
launchApplication:
- (BOOL) launchApplication: (NSString*)appName;
launchApplication:showIcon:autolaunch:
- (BOOL) launchApplication: (NSString*)appName showIcon: (BOOL)showIcon autolaunch: (BOOL)autolaunch;
mountNewRemovableMedia
- (NSArray*) mountNewRemovableMedia;
mountedLocalVolumePaths
- (NSArray*) mountedLocalVolumePaths;
mountedRemovableMedia
- (NSArray*) mountedRemovableMedia;
noteFileSystemChanged
- (void) noteFileSystemChanged;
noteFileSystemChanged:
- (void) noteFileSystemChanged: (NSString*)path;
noteUserDefaultsChanged
- (void) noteUserDefaultsChanged;
notificationCenter
- (NSNotificationCenter*) notificationCenter;
openFile:
- (BOOL) openFile: (NSString*)fullPath;
openFile:fromImage:at:inView:
- (BOOL) openFile: (NSString*)fullPath fromImage: (NSImage*)anImage at: (NSPoint)point inView: (NSView*)aView;
openFile:withApplication:
- (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName;
openFile:withApplication:andDeactivate:
- (BOOL) openFile: (NSString*)fullPath withApplication: (NSString*)appName andDeactivate: (BOOL)flag;
openTempFile:
- (BOOL) openTempFile: (NSString*)fullPath;
openURL:
- (BOOL) openURL: (NSURL*)url;
performFileOperation:source:destination:files:tag:
- (BOOL) performFileOperation: (NSString*)operation source: (NSString*)source destination: (NSString*)destination files: (NSArray*)files tag: (int*)tag;
selectFile:inFileViewerRootedAtPath:
- (BOOL) selectFile: (NSString*)fullPath inFileViewerRootedAtPath: (NSString*)rootFullpath;
slideImage:from:to:
- (void) slideImage: (NSImage*)image from: (NSPoint)fromPoint to: (NSPoint)toPoint;
unmountAndEjectDeviceAtPath:
- (BOOL) unmountAndEjectDeviceAtPath: (NSString*)path;
userDefaultsChanged
- (BOOL) userDefaultsChanged;
Software documentation for the NSWorkspace(GNUstep)
category
Declared: AppKit/NSWorkspace.h
appIconForApp:
- (NSImage*) appIconForApp: (NSString*)appName;
bundleForApp:
- (NSBundle*) bundleForApp: (NSString*)appName;
getBestAppInRole:forExtension:
- (NSString*) getBestAppInRole: (NSString*)role forExtension: (NSString*)ext;
getBestIconForExtension:
- (NSString*) getBestIconForExtension: (NSString*)ext;
infoForExtension:
- (NSDictionary*) infoForExtension: (NSString*)ext;
locateApplicationBinary:
- (NSString*) locateApplicationBinary: (NSString*)appName;
setBestApp:inRole:forExtension:
- (void) setBestApp: (NSString*)appName inRole: (NSString*)role forExtension: (NSString*)ext;
setBestIcon:forExtension:
- (void) setBestIcon: (NSString*)iconPath forExtension: (NSString*)ext;