2,2c2,2 < * @(#)DrawingView.java 5.2 --- > * @(#)DrawingView.java 3a4,9 > * Project: JHotdraw - a GUI framework for technical drawings > * http://www.jhotdraw.org > * http://jhotdraw.sourceforge.net > * Copyright: © by the original author(s) and all contributors > * License: Lesser GNU Public License (LGPL) > * http://www.opensource.org/licenses/lgpl-license.html 10,10c18,18 < import java.util.*; --- > import java.util.*; 12,12c14,14 < import CH.ifa.draw.util.*; --- > import CH.ifa.draw.util.UndoManager; 34a41,42 > * > * @version <$CURRENT_VERSION$> 36,37d43 < < 103a110,115 > * Gets the current display update strategy. > * @see Painter > */ > public Painter getDisplayUpdate(); > > /** 116,116c128,128 < * Gets the currently selected figures in Z order. --- > * Gets the currently seleced figures in Z order. 128a141,145 > * Test whether a given figure is selected. > */ > public boolean isFigureSelected(Figure checkFigure); > > /** 138a156,160 > * Adds a FigureEnumeration to the current selection. > */ > public void addToSelectionAll(FigureEnumeration fe); > > /** 214,214c236,236 < * Gets the background color of the DrawingView --- > * Sets the background color of the DrawingView 264a287,313 > > /** > * Add a listener for selection changes in this DrawingView. > * @param fsl jhotdraw.framework.FigureSelectionListener > */ > public void addFigureSelectionListener(FigureSelectionListener fsl); > > /** > * Remove a listener for selection changes in this DrawingView. > * @param fsl jhotdraw.framework.FigureSelectionListener > */ > public void removeFigureSelectionListener(FigureSelectionListener fsl); > > /** > * Returns the vector of connection figures > */ > public Vector getConnectionFigures(Figure inFigure); > > /** > * Inserts figures in a drawing at given offset. Optional check for connection figures > * > * @return enumeration which has been added to the drawing. The figures in the enumeration > * can have changed during adding them (e.g. they could have been decorated). > */ > public FigureEnumeration insertFigures(FigureEnumeration inFigures, int dx, int dy, boolean bCheck); > > public UndoManager getUndoManager();