1 19 20 package org.netbeans.modules.xml.xam; 21 22 27 public interface ComponentUpdater<C extends Component> { 28 public enum Operation { ADD, REMOVE }; 29 30 38 void update(C target, C child, Operation operation); 39 40 49 void update(C target, C child, int index, Operation operation); 50 51 54 interface Query<C extends Component> { 55 61 boolean canAdd(C target, Component child); 62 } 63 } 64 | Popular Tags |