public abstract class AbstractXmlInspector extends Object implements XmlInspector, LicensedInspector
Modifier and Type | Field and Description |
---|---|
static org.apache.logging.log4j.Logger |
log |
VISIBLE_PROPERTY
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
AbstractXmlInspector(String title,
String description,
boolean enabled,
String inspectorId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent, getHelpLink, shouldShowInspectorCallOut, showInspectorCallOut
isTrialAllowed
public final String getInspectorId()
getInspectorId
in interface Inspector
public void deactivate()
deactivate
in interface Inspector
public void setIcon(ImageIcon imageIcon)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface Inspector
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface Inspector
public String getDescription()
getDescription
in interface Inspector
public void setDescription(String description)
public void setTitle(String title)
public void setEnabled(boolean enabled)
public void init(Editor<XmlDocument> editor)
init
in interface EditorInspector<XmlDocument>
init
in interface XmlInspector
public Editor<XmlDocument> getEditor()
getEditor
in interface EditorInspector<XmlDocument>
getEditor
in interface XmlInspector
public boolean isActive()
public boolean isContentHandler()
isContentHandler
in interface EditorInspector<XmlDocument>
isContentHandler
in interface XmlInspector
public void locationChanged(EditorLocation<XmlDocument> location)
locationChanged
in interface EditorLocationListener<XmlDocument>
public boolean isEnabledFor(EditorView<XmlDocument> view)
isEnabledFor
in interface EditorInspector<XmlDocument>
isEnabledFor
in interface XmlInspector
public void showInPanel()
public boolean licensedToUse()
licensedToUse
in interface Inspector
public boolean licenseNeededToUse()
licenseNeededToUse
in interface Inspector
public Runnable getStartTrialTask()
getStartTrialTask
in interface LicensedInspector
public boolean hasContent()
hasContent
in interface EditorInspector<XmlDocument>
public boolean isVisible()
isVisible
in interface EditorInspector<XmlDocument>
public void setInitialVisibility(boolean visible)
setInitialVisibility
in interface EditorInspector<XmlDocument>
public void setVisible(boolean visible)
Copyright © 2019. All rights reserved.