1 /*
2 * Copyright 1999-2006 Faculty of Mathematics, Physics and Informatics, Comenius
3 * University, Bratislava. This file is protected by the Mozilla Public License
4 * version 1.1 (the License); you may not use this file except in compliance
5 * with the License. You may obtain a copy of the License at
6 * http://euromath2.sourceforge.net/license.html Unless required by applicable
7 * law or agreed to in writing, software distributed under the License is
8 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
9 * KIND, either express or implied. See the License for the specific language
10 * governing permissions and limitations under the License.
11 */
12 package sk.uniba.euromath.editor.selections;
13
14 import sk.baka.ikslibs.interval.DOMIntervalSet;
15
16
17 /***
18 * A listener which is notified when a xml selection changes.
19 *
20 *
21 * TODO GUI : this could contains only some update of previous selection
22 * e.g. some DOMInterval is add to selection, than the result of
23 * @see DOMIntervalSet#union(sk.baka.ikslibs.interval.DOMInterval) can be this update
24 */
25 public interface IDOMSelectionChangedListener {
26
27 /***
28 * Notifies that the selection has changed.
29 *
30 * @param event
31 * event object describing the change
32 */
33 public void selectionChanged(DOMSelectionChangedEvent event);
34 }