View Javadoc

1   /*
2    *  soapUI, copyright (C) 2004-2007 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.impl.wsdl.panels.request.components.editor;
14  
15  import java.beans.PropertyChangeListener;
16  
17  import javax.swing.JComponent;
18  
19  /***
20   * Inspectors available for the XmlDocument of a XmlEditor
21   * 
22   * @author ole.matzura
23   */
24  
25  public interface XmlInspector extends XmlLocationListener
26  {
27  	public final static String TITLE_PROPERTY = XmlInspector.class.getName() + "@title";
28  	public final static String DESCRIPTION_PROPERTY = XmlInspector.class.getName() + "@description";
29  	public final static String ENABLED_PROPERTY = XmlInspector.class.getName() + "@enabled";
30  	
31  	public String getTitle();
32  
33  	public JComponent getComponent();
34  
35  	public String getDescription(); 
36  	
37  	public boolean isEnabled();
38  	
39  	public void init( XmlEditor editor );
40  	
41  	public XmlEditor getEditor();
42  	
43  	public void addPropertyChangeListener( PropertyChangeListener listener );
44  	
45  	public void removePropertyChangeListener( PropertyChangeListener listener );
46  
47  	public String getInspectorId();
48  
49  	public void release();
50  }