View Javadoc

1   // Copyright 2004, FreeHEP.
2   package hep.wired.edit;
3   
4   import hep.wired.services.GraphicsPanel;
5   import hep.wired.services.Edit;
6   
7   /***
8    * Interface for edits handled by changing the graphics panel.
9    *
10   * @author Mark Donszelmann
11   * @version $Id: GraphicsPanelEdit.java 256 2004-06-07 23:31:10Z duns $
12   */
13  
14  public interface GraphicsPanelEdit extends Edit {
15  
16      /***
17       * Returns true if this edit is supported by the given graphics panel.
18       *
19       * @param graphicsPanel panel by which this edit will be handled.
20       * @return true if the edit is supported.
21       */
22      public boolean isSupportedBy(GraphicsPanel graphicsPanel);    
23  }