Last change
on this file since 29 was
5,
checked in by zeiss, 14 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
805 bytes
|
Rev | Line | |
---|
[5] | 1 | package de.ugoe.cs.swe.bnftools.ui.views.syntaxdiagram;
|
---|
| 2 |
|
---|
| 3 | import org.eclipse.draw2d.Figure;
|
---|
| 4 |
|
---|
| 5 | public class SyntaxDiagramFigure extends Figure {
|
---|
| 6 |
|
---|
| 7 | SideAnchor leftAnchor = new SideAnchor(this, SideAnchor.LEFT_SIDE);
|
---|
| 8 | SideAnchor rightAnchor = new SideAnchor(this, SideAnchor.RIGHT_SIDE);
|
---|
| 9 |
|
---|
| 10 | public SyntaxDiagramFigure() {
|
---|
| 11 | // DragAndDropListener dndListener = new DragAndDropListener();
|
---|
| 12 | // addMouseListener(dndListener);
|
---|
| 13 | // addMouseMotionListener(dndListener);
|
---|
| 14 | }
|
---|
| 15 |
|
---|
| 16 | public SideAnchor getLeftAnchor() {
|
---|
| 17 | return leftAnchor;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public void setLeftAnchor(SideAnchor leftAnchor) {
|
---|
| 21 | this.leftAnchor = leftAnchor;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | public SideAnchor getRightAnchor() {
|
---|
| 25 | return rightAnchor;
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | public void setRightAnchor(SideAnchor rightAnchor) {
|
---|
| 29 | this.rightAnchor = rightAnchor;
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.