svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.swing / org.gvsig.fmap.dal.swing.api / src / main / java / org / gvsig / fmap / dal / EditingNotification.java @ 44259
History | View | Annotate | Download (2.62 KB)
1 | 40557 | jjdelcerro | /**
|
---|---|---|---|
2 | * gvSIG. Desktop Geographic Information System.
|
||
3 | *
|
||
4 | * Copyright (C) 2007-2013 gvSIG Association.
|
||
5 | *
|
||
6 | * This program is free software; you can redistribute it and/or
|
||
7 | * modify it under the terms of the GNU General Public License
|
||
8 | * as published by the Free Software Foundation; either version 3
|
||
9 | * of the License, or (at your option) any later version.
|
||
10 | *
|
||
11 | * This program is distributed in the hope that it will be useful,
|
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
13 | 41323 | jjdelcerro | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 | 40557 | jjdelcerro | * GNU General Public License for more details.
|
15 | *
|
||
16 | * You should have received a copy of the GNU General Public License
|
||
17 | * along with this program; if not, write to the Free Software
|
||
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||
19 | 41323 | jjdelcerro | * MA 02110-1301, USA.
|
20 | 40557 | jjdelcerro | *
|
21 | * For any additional information, do not hesitate to contact us
|
||
22 | * at info AT gvsig.com, or visit our website www.gvsig.com.
|
||
23 | */
|
||
24 | 42775 | jjdelcerro | package org.gvsig.fmap.dal; |
25 | 40435 | jjdelcerro | |
26 | 41323 | jjdelcerro | import org.gvsig.fmap.dal.feature.EditableFeatureType; |
27 | 40435 | jjdelcerro | import org.gvsig.fmap.dal.feature.Feature; |
28 | import org.gvsig.fmap.dal.feature.FeatureStore; |
||
29 | 41323 | jjdelcerro | import org.gvsig.tools.observer.Notification; |
30 | 40435 | jjdelcerro | |
31 | 41323 | jjdelcerro | public interface EditingNotification extends Notification { |
32 | 40435 | jjdelcerro | |
33 | 41323 | jjdelcerro | public static final String BEFORE_ENTER_EDITING_STORE = "BEFORE_ENTER_EDITING_STORE"; |
34 | public static final String BEFORE_EXIT_EDITING_STORE = "BEFORE_EXIT_EDITING_STORE"; |
||
35 | public static final String BEFORE_INSERT_FEATURE = "BEFORE_INSERT_FEATURE"; |
||
36 | public static final String BEFORE_UPDATE_FEATURE = "BEFORE_UPDATE_FEATURE"; |
||
37 | public static final String BEFORE_REMOVE_FEATURE = "BEFORE_REMOVE_FEATURE"; |
||
38 | public static final String BEFORE_UPDATE_FEATURE_TYPE = "BEFORE_UPDATE_FEATURE_TYPE"; |
||
39 | 40435 | jjdelcerro | |
40 | 41323 | jjdelcerro | public static final String AFTER_ENTER_EDITING_STORE = "AFTER_ENTER_EDITING_STORE"; |
41 | public static final String AFTER_EXIT_EDITING_STORE = "AFTER_EXIT_EDITING_STORE"; |
||
42 | public static final String AFTER_INSERT_FEATURE = "AFTER_INSERT_FEATURE"; |
||
43 | public static final String AFTER_UPDATE_FEATURE = "AFTER_UPDATE_FEATURE"; |
||
44 | public static final String AFTER_REMOVE_FEATURE = "AFTER_REMOVE_FEATURE"; |
||
45 | public static final String AFTER_UPDATE_FEATURE_TYPE = "AFTER_UPDATE_FEATURE_TYPE"; |
||
46 | |||
47 | public Object getSource(); |
||
48 | |||
49 | public Object getDocument(); |
||
50 | |||
51 | 42775 | jjdelcerro | public Object getAuxData(); |
52 | 41323 | jjdelcerro | |
53 | public DataStore getStore();
|
||
54 | |||
55 | public FeatureStore getFeatureStore();
|
||
56 | |||
57 | public Feature getFeature();
|
||
58 | |||
59 | public EditableFeatureType getFeatureType();
|
||
60 | |||
61 | public boolean isCancelable(); |
||
62 | 41335 | jjdelcerro | |
63 | public void setSkipFeatureValidation(boolean skip); |
||
64 | |||
65 | public boolean shouldValidateTheFeature(); |
||
66 | 40435 | jjdelcerro | } |