01: /*
02: * soapUI, copyright (C) 2004-2007 eviware.com
03: *
04: * soapUI is free software; you can redistribute it and/or modify it under the
05: * terms of version 2.1 of the GNU Lesser General Public License as published by
06: * the Free Software Foundation.
07: *
08: * soapUI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
09: * 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: public final static String TITLE_PROPERTY = XmlInspector.class
27: .getName()
28: + "@title";
29: public final static String DESCRIPTION_PROPERTY = XmlInspector.class
30: .getName()
31: + "@description";
32: public final static String ENABLED_PROPERTY = XmlInspector.class
33: .getName()
34: + "@enabled";
35:
36: public String getTitle();
37:
38: public JComponent getComponent();
39:
40: public String getDescription();
41:
42: public boolean isEnabled();
43:
44: public void init(XmlEditor editor);
45:
46: public XmlEditor getEditor();
47:
48: public void addPropertyChangeListener(
49: PropertyChangeListener listener);
50:
51: public void removePropertyChangeListener(
52: PropertyChangeListener listener);
53:
54: public String getInspectorId();
55:
56: public void release();
57: }
|