1 package com.eviware.soapui.support.components; 2 3 import javax.swing.*; 4 import java.util.List; 5 6 /*** 7 * Created by IntelliJ IDEA. 8 * User: ole 9 * Date: Aug 29, 2008 10 * Time: 11:20:52 PM 11 * To change this template use File | Settings | File Templates. 12 */ 13 public interface JInspectorPanel { 14 public <T extends Inspector> T addInspector( final T inspector ) ; 15 16 JComponent getComponent(); 17 18 void setDefaultDividerLocation(float v); 19 20 public void activate( Inspector inspector ); 21 22 void setCurrentInspector(String s); 23 24 void setDividerLocation(int i); 25 26 void setResizeWeight(double v); 27 28 List<Inspector> getInspectors(); 29 30 Inspector getCurrentInspector(); 31 32 Inspector getInspectorByTitle(String title); 33 34 void deactivate(); 35 36 void removeInspector(Inspector inspector); 37 38 void setContentComponent(JComponent component); 39 40 int getDividerLocation(); 41 42 Inspector getInspector(String inspectorId); 43 44 void setInspectorVisible(Inspector inspector, boolean b); 45 46 void setResetDividerLocation(); 47 48 void release(); 49 }