Lynkeos
Instance Methods | Class Methods | List of all members
NSObject(LynkeosProcessingViewAdditions) Category Reference

Informal protocol for validating the process view. More...

#import <LynkeosProcessingView.h>

Instance Methods

(BOOL) - handleKeyDown:
 This method allows a processing view controller to react on keys. More...
 

Class Methods

(unsigned int) + authorizedModesForConfig:
 Authorized list and data modes for this processing view controller. More...
 
(BOOL) + hasProgressIndicator
 Whether the processing view implements its own progress indicator. More...
 
(BOOL) + handleImageViewZoom
 Whether the processing view manages the zoom of the image view. More...
 

Detailed Description

Informal protocol for validating the process view.

To be implemented by processing view controllers which allow working on dark frame or flat field

Method Documentation

+ (unsigned int) authorizedModesForConfig: (id< NSObject >)  config

Authorized list and data modes for this processing view controller.

The processing view will be inhibited for unauthorized list modes. Upon processing view activation, the window will switch to the authorized data mode if needed. If this method is not implemented, only image mode is authorized ; and list mode for list management or processing, list and result modes for others.

Parameters
configThe optional configuration for this processing.
Returns
A bitfield of ListMode_t and DataMode_t
+ (BOOL) handleImageViewZoom

Whether the processing view manages the zoom of the image view.

If not implemented or it returns NO, the image view will use one zoom value for list mode and another one for result mode. If it returns YES, the zoom value is not altered when changing mode, it is up to the processing view to change it.

Returns
YES when the processing view controls the image view zoom
- (BOOL) handleKeyDown: (NSEvent *)  theEvent

This method allows a processing view controller to react on keys.

Parameters
theEventThe key event to process
Returns
Whether the event was processed
+ (BOOL) hasProgressIndicator

Whether the processing view implements its own progress indicator.

Returns
YES when the processing view implements its own progress indicator

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