1
/* $Id: GVAttributeInspectorController.h,v 1.1 2008/02/11 12:34:07 glenlow Exp $ $Revision: 1.1 $ */
2
/* vim:set shiftwidth=4 ts=8: */
4
/**********************************************************
5
* This software is part of the graphviz package *
6
* http://www.graphviz.org/ *
8
* Copyright (c) 1994-2008 AT&T Corp. *
9
* and is licensed under the *
10
* Common Public License, Version 1.0 *
13
* Information and Software Systems Research *
14
* AT&T Research, Florham Park NJ *
15
**********************************************************/
17
#import <Foundation/Foundation.h>
18
#import <AppKit/AppKit.h>
19
#import <WebKit/WebKit.h>
23
@interface GVAttributeInspectorController : NSWindowController {
24
IBOutlet NSToolbar *componentToolbar;
25
IBOutlet NSToolbarItem *graphToolbarItem;
26
IBOutlet NSToolbarItem *nodeDefaultToolbarItem;
27
IBOutlet NSToolbarItem *edgeDefaultToolbarItem;
29
IBOutlet NSTableView *attributeTable;
30
IBOutlet WebView *documentationWeb;
32
NSDictionary *_allSchemas;
33
NSMutableDictionary *_allAttributes;
35
GVGraph *_inspectedGraph;
36
BOOL _otherChangedGraph;
44
- (IBAction)toolbarItemDidSelect:(id)sender;
45
- (void)graphWindowDidBecomeMain:(NSNotification *)notification;
46
- (void)graphDidChange:(NSNotification *)notification;
48
/* toolbar delegate methods */
49
- (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar;
51
/* table delegate methods */
52
- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;
53
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification;
55
/* table data source methods */
56
- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView;
57
- (id)tableView:(NSTableView *)aTableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIndex;
58
- (void)tableView:(NSTableView *)aTableView setObjectValue:(id)anObject forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIndex;