~ubuntu-branches/ubuntu/lucid/graphviz/lucid-updates

« back to all changes in this revision

Viewing changes to macosx/GVAttributeInspectorController.h

  • Committer: Bazaar Package Importer
  • Author(s): Bryce Harrington
  • Date: 2008-06-19 20:23:23 UTC
  • mfrom: (1.2.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080619202323-ls23h96ntj9ny94m
Tags: 2.18-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Build depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Drop libttf-dev (libttf-dev is in universe) (LP: #174749).
  - Replace gs-common with ghostscript.
  - Build-depend on python-dev instead of python2.4-dev or python2.5-dev.
  - Mention the correct python version for the python bindings in the
    package description.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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: */
 
3
 
 
4
/**********************************************************
 
5
*      This software is part of the graphviz package      *
 
6
*                http://www.graphviz.org/                 *
 
7
*                                                         *
 
8
*            Copyright (c) 1994-2008 AT&T Corp.           *
 
9
*                and is licensed under the                *
 
10
*            Common Public License, Version 1.0           *
 
11
*                      by AT&T Corp.                      *
 
12
*                                                         *
 
13
*        Information and Software Systems Research        *
 
14
*              AT&T Research, Florham Park NJ             *
 
15
**********************************************************/
 
16
 
 
17
#import <Foundation/Foundation.h>
 
18
#import <AppKit/AppKit.h>
 
19
#import <WebKit/WebKit.h>
 
20
 
 
21
@class GVGraph;
 
22
 
 
23
@interface GVAttributeInspectorController : NSWindowController {
 
24
        IBOutlet NSToolbar *componentToolbar;
 
25
        IBOutlet NSToolbarItem *graphToolbarItem;
 
26
        IBOutlet NSToolbarItem *nodeDefaultToolbarItem;
 
27
        IBOutlet NSToolbarItem *edgeDefaultToolbarItem;
 
28
        
 
29
        IBOutlet NSTableView *attributeTable;
 
30
        IBOutlet WebView *documentationWeb;
 
31
        
 
32
        NSDictionary *_allSchemas;
 
33
        NSMutableDictionary *_allAttributes;
 
34
        
 
35
        GVGraph *_inspectedGraph;
 
36
        BOOL _otherChangedGraph;
 
37
}
 
38
 
 
39
- (id)init;
 
40
 
 
41
- (void)awakeFromNib;
 
42
 
 
43
/* notifications */
 
44
- (IBAction)toolbarItemDidSelect:(id)sender;
 
45
- (void)graphWindowDidBecomeMain:(NSNotification *)notification;
 
46
- (void)graphDidChange:(NSNotification *)notification;
 
47
 
 
48
/* toolbar delegate methods */
 
49
- (NSArray *)toolbarSelectableItemIdentifiers:(NSToolbar *)toolbar;
 
50
 
 
51
/* table delegate methods */
 
52
- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;
 
53
- (void)tableViewSelectionDidChange:(NSNotification *)aNotification;
 
54
 
 
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;
 
59
 
 
60
- (void)dealloc;
 
61
 
 
62
@end