Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_Build_1009 / libraries / libFMap / src / com / iver / cit / gvsig / fmap / edition / BeforeRowEditEvent.java @ 12649

History | View | Annotate | Download (748 Bytes)

1
package com.iver.cit.gvsig.fmap.edition;
2

    
3
import com.iver.utiles.swing.threads.Cancellable;
4

    
5
public class BeforeRowEditEvent extends EditionEvent {
6

    
7
        String newFID;
8
        int changeType;
9
        Cancellable cancel;
10
        public BeforeRowEditEvent(IEditableSource source, String newFID, int changeType, Cancellable cancel,int sourceType)
11
        {
12
                super(source, EditionEvent.ROW_EDITION, sourceType);
13
                this.newFID = newFID;
14
                this.changeType = changeType;
15
                this.cancel = cancel;
16
        }
17
        /**
18
         * @return Returns the cancel.
19
         */
20
        public Cancellable getCancel() {
21
                return cancel;
22
        }
23
        /**
24
         * @return Returns the changeType.
25
         */
26
        public int getChangeType() {
27
                return changeType;
28
        }
29
        /**
30
         * @return Returns the numRow.
31
         */
32
        public String getFID() {
33
                return newFID;
34
        }
35

    
36
}