View Javadoc

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.xmlEditor.viewers;
13  
14  import org.eclipse.gef.GraphicalViewer;
15  
16  import sk.baka.ikslibs.interval.DOMIntervalSet;
17  import sk.uniba.euromath.editor.selections.IDOMSelectionChangedListener;
18  import sk.uniba.euromath.editor.selections.IDOMSelectionProvider;
19  
20  /***
21   * @author Martin Kollar
22   * 
23   */
24  public interface IXMLGraphicalViewer extends GraphicalViewer,
25          IDOMSelectionProvider, IDOMSelectionChangedListener {
26  
27      /***
28       * Shows selection, but actual selection doesn't changes.
29       * 
30       * @param selection
31       *            the selection to show
32       */
33      public void showSelection(DOMIntervalSet selection);
34      
35  }