ProjectManager  0.2
Instance Methods | List of all members
<GNUstepAppLauncherDelegate> Protocol Reference
Inheritance diagram for <GNUstepAppLauncherDelegate>:
ApplicationProjectType

Instance Methods

(NSArray *) - launchTargetsForAppLauncher:
 The delegate should provide a list of target-names which the launcher will display in it's target button. More...
 
(BOOL) - appLauncher:shouldDelayLaunchWithTarget:
 Asks the delegate whether the sender should delay a launch. More...
 
(void) - stopDelayedLaunchForAppLauncher:
 This message is sent to the delegate in case it requested the sender to delay launching and the user hit the ‘Stop’ button in the mean time. More...
 
(NSString *) - appLauncher:pathToProjectBinaryOfType:
 The delegate should provide a path to the binary of the project. More...
 

Method Documentation

◆ appLauncher:pathToProjectBinaryOfType:

- (NSString *) appLauncher: (id)  sender
pathToProjectBinaryOfType: (NSString *)  target 

The delegate should provide a path to the binary of the project.

Parameters
senderThe sending launcher object.
targetTypeThe type of the project binary to which to provide the path.
Returns
A path to the binary of the project which can be executed.

◆ appLauncher:shouldDelayLaunchWithTarget:

- (BOOL) appLauncher: (id)  sender
shouldDelayLaunchWithTarget: (NSString *)  target 

Asks the delegate whether the sender should delay a launch.

Delaying a launch may be desirable in case the project needs to be built first.

Parameters
senderThe sending launcher object.
targetTypeThe type of the target which would be launched.
Returns
NO if the project should be launched immediatelly. In case the delegate wants to delay the launch, it should return YES and then send a -proceedWithLaunch: message to the sender.

◆ launchTargetsForAppLauncher:

- (NSArray *) launchTargetsForAppLauncher: (id)  sender

The delegate should provide a list of target-names which the launcher will display in it's target button.

Parameters
senderThe sending launcher object.
Returns
An array of names which the user may select as launch targets.

◆ stopDelayedLaunchForAppLauncher:

- (void) stopDelayedLaunchForAppLauncher: (id)  sender

This message is sent to the delegate in case it requested the sender to delay launching and the user hit the ‘Stop’ button in the mean time.

The delegate must stop any launch preparations.

Parameters
senderThe sending launcher object.

The documentation for this protocol was generated from the following file: