Last change
on this file since 1532 was 1532, checked in by bnemhaus, 4 years ago |
New feature: when creating a frameset, if the item being used is linked and you hold shift, it will use the items on the linked frame to populate the zero frame of the new frameset
|
File size:
562 bytes
|
Line | |
---|
1 | package org.expeditee.gio.gesture.data;
|
---|
2 |
|
---|
3 | public class CreateItemGestureData extends ItemSpecificGestureData {
|
---|
4 |
|
---|
5 | public enum ItemType {
|
---|
6 | LINE,
|
---|
7 | BOX
|
---|
8 | }
|
---|
9 |
|
---|
10 | private ItemType _itemType;
|
---|
11 |
|
---|
12 | public CreateItemGestureData(ItemType itemType)
|
---|
13 | {
|
---|
14 | super(false);
|
---|
15 | _itemType = itemType;
|
---|
16 | }
|
---|
17 |
|
---|
18 | public CreateItemGestureData(CreateItemGestureData other)
|
---|
19 | {
|
---|
20 | super(other);
|
---|
21 | if (other != null) _itemType = other._itemType;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public ItemType getItemType()
|
---|
25 | {
|
---|
26 | return _itemType;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public CreateItemGestureData clone()
|
---|
30 | {
|
---|
31 | return new CreateItemGestureData(this);
|
---|
32 | }
|
---|
33 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.