1 19 20 package org.netbeans.core.windows.model; 21 22 23 import org.openide.windows.TopComponent; 24 25 import java.util.Collection ; 26 import java.util.Set ; 27 28 29 33 interface TopComponentGroupModel { 34 35 public String getName(); 36 37 public void open( 38 Collection <TopComponent> openedTopComponents, 39 Collection <TopComponent> openedBeforeTopComponents); 40 public void close(); 41 public boolean isOpened(); 42 43 public Set <TopComponent> getTopComponents(); 44 45 public Set <TopComponent> getOpenedTopComponents(); 46 public Set <TopComponent> getOpenedBeforeTopComponents(); 47 48 public Set <TopComponent> getOpeningTopComponents(); 49 public Set <TopComponent> getClosingTopComponents(); 50 51 public boolean addUnloadedTopComponent(String tcID); 52 public boolean removeUnloadedTopComponent(String tcID); 53 54 public boolean addOpeningTopComponent(TopComponent tc); 55 public boolean removeOpeningTopComponent(TopComponent tc); 56 57 public boolean addUnloadedOpeningTopComponent(String tcID); 58 public boolean removeUnloadedOpeningTopComponent(String tcID); 59 60 public boolean addUnloadedClosingTopComponent(String tcID); 61 public boolean removeUnloadedClosingTopComponent(String tcID); 62 63 public boolean addUnloadedOpenedTopComponent(String tcID); 65 66 public Set <String > getTopComponentsIDs(); 68 public Set <String > getOpeningSetIDs(); 69 public Set <String > getClosingSetIDs(); 70 public Set <String > getOpenedTopComponentsIDs(); 71 } 73 | Popular Tags |