1 /* 2 Copyright 2000 by Ralph Hartley 3 This software is licenced under the terms of the 4 Gnu Public Licence 5 */ 6 import java.awt.geom.*; 7 import java.util.*; 8 9 /** 10 *This interface is implemented by Symbols that can have new 11 *parts added to them. 12 */ 13 public interface Addable extends SubSelectable{ 14 15 /** Get the type of object that can be added. */ 16 public Class addType(); 17 18 /** Add a symbol to this one. 19 *For example extend a curve */ 20 public void add(Symbol s,Set subs, View view); 21 22 /** Delete the given symbol from this symbol. */ 23 public void delete(Symbol s); 24 25 /** Tells this symbol that its parts have changed. <br> 26 *and which parts have changed. 27 */ 28 public void change(Set changelist,Point2D pos,View v); 29 } 30