View Javadoc

1   /*
2    * soapUI, copyright (C) 2004-2009 eviware.com
3    *
4    * soapUI is free software; you can redistribute it and/or modify it under the
5    * terms of version 2.1 of the GNU Lesser General Public License as published by
6    * the Free Software Foundation.
7    *
8    * soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
9    * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10   * See the GNU Lesser General Public License for more details at gnu.org.
11   */
12  
13  package com.eviware.soapui.support.components;
14  
15  import java.util.List;
16  
17  import javax.swing.JComponent;
18  
19  public interface JInspectorPanel
20  {
21  	public <T extends Inspector> T addInspector( final T inspector );
22  
23  	JComponent getComponent();
24  
25  	void setDefaultDividerLocation( float v );
26  
27  	public void activate( Inspector inspector );
28  
29  	void setCurrentInspector( String s );
30  
31  	void setDividerLocation( int i );
32  
33  	void setResizeWeight( double v );
34  
35  	List<Inspector> getInspectors();
36  
37  	Inspector getCurrentInspector();
38  
39  	Inspector getInspectorByTitle( String title );
40  
41  	void deactivate();
42  
43  	void removeInspector( Inspector inspector );
44  
45  	void setContentComponent( JComponent component );
46  
47  	int getDividerLocation();
48  
49  	Inspector getInspector( String inspectorId );
50  
51  	void setInspectorVisible( Inspector inspector, boolean b );
52  
53  	void setResetDividerLocation();
54  
55  	void release();
56  }