|
Revision 1121, 1.1 kB
(checked in by arjanmol, 2 years ago)
|
Merged changed from new-canvas branch to trunk
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
from zope import interface |
|---|
| 2 |
from zope import component |
|---|
| 3 |
class IGaphorAction(interface.Interface): |
|---|
| 4 |
"""Action interface for use in Gaphor""" |
|---|
| 5 |
|
|---|
| 6 |
class IMenuAction(interface.Interface): |
|---|
| 7 |
"""An interface to hook up items to.""" |
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
class TestAdapter(object): |
|---|
| 11 |
def __init__(self, context): |
|---|
| 12 |
self.context = context |
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
class IDiagramElementReceivedFocus(interface.Interface): |
|---|
| 34 |
"""A diagram item received focus""" |
|---|
| 35 |
diagramItem = interface.Attribute("The diagram item that received focus") |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
class IWidget(interface.Interface): |
|---|
| 39 |
"""A GTK widget""" |
|---|
| 40 |
|
|---|
| 41 |
class IDetailsPage(IWidget): |
|---|
| 42 |
"""A property page which can display itself in a notebook""" |
|---|
| 43 |
|
|---|