# GormWindowEditor class documentation

### Authors

Generated by heron

# Software documentation for the GormWindowEditor class

## GormWindowEditor : GormViewWithContentViewEditor

> Declared in:
>   GormCore/GormWindowEditor.h

Description forthcoming.

Instance Variables
Method summary

- -acceptsTypeFromArray:
- -activate
- -changeFont:
- -close
- -closeSubeditors
- -deactivate
- -deleteSelection
- -document
- -draggedImage:endedAt:deposited:
- -draggingSourceOperationMaskForLocal:
- -initWithObject:inDocument:
- -makeSelectionVisible:
- -openSubeditorForObject:
- -orderFront
- -pasteInSelection
- -resetObject:

### acceptsTypeFromArray:

- (BOOL) acceptsTypeFromArray: (NSArray*)types;
Returns `YES`, if the reciever accepts any of the pasteboard items in types.

### activate

- (BOOL) activate;
Activates the editor

### changeFont:

- (void) changeFont: (id)sender;
Change the font.

### close

- (void) close;
Close the editor. This will also call the deactivate method.

### closeSubeditors

- (void) closeSubeditors;
Close any and all editors which are subordinate to this one.

### deactivate

- (void) deactivate;
Deactivate the editor.

### deleteSelection

- (void) deleteSelection;
Delete the current selection.

### document

- (id) document;
Return the document which the object the receiver is edited is located in.

### draggedImage: endedAt: deposited:

- (void) draggedImage: (NSImage*)i endedAt: (NSPoint)p deposited: (BOOL)f;
Call with success or failure of the drag operation.

### draggingSourceOperationMaskForLocal:

- (NSUInteger) draggingSourceOperationMaskForLocal: (BOOL)flag;
Returns NSDragOperationNone.

### initWithObject: inDocument:

- (id) initWithObject: (id)anObject inDocument: (id)aDocument;
Instantiate with anObject in the document aDocument.

### makeSelectionVisible:

- (void) makeSelectionVisible: (BOOL)flag;
Make current selection visible.

### openSubeditorForObject:

- (id) openSubeditorForObject: (id)anObject;
Description forthcoming.

### orderFront

- (void) orderFront;
Order the edited window to the front.

### pasteInSelection

- (void) pasteInSelection;
Paste from pasteboard.

### resetObject:

- (void) resetObject: (id)anObject;
Reset object, redisplays the window.

## Instance Variables for GormWindowEditor Class

### dragPb

@protected NSPasteboard* dragPb;
Description forthcoming.

### dragType

@protected NSString* dragType;
Description forthcoming.

### edit_view

@protected NSView* edit_view;
Description forthcoming.

### isLinkSource

@protected BOOL isLinkSource;
Description forthcoming.

### subeditors

@protected NSMutableArray* subeditors;
Description forthcoming.