public class XmlOutlineEditorView extends com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument> implements AbstractOutlineTreeTable.PropertySource, com.eviware.soapui.support.propertyexpansion.PropertyExpansionTarget
Modifier and Type | Class and Description |
---|---|
static class |
XmlOutlineEditorView.Mode |
Modifier and Type | Field and Description |
---|---|
static String |
ENABLED_PROPERTY |
protected JPopupMenu |
popup |
Constructor and Description |
---|
XmlOutlineEditorView(com.eviware.soapui.support.editor.xml.XmlEditor<com.eviware.soapui.support.editor.xml.XmlDocument> xmlEditor,
com.eviware.soapui.model.ModelItem modelItem) |
XmlOutlineEditorView(com.eviware.soapui.support.editor.xml.XmlEditor<com.eviware.soapui.support.editor.xml.XmlDocument> xmlEditor,
com.eviware.soapui.model.ModelItem modelItem,
XmlOutlineEditorView.Mode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
activate(com.eviware.soapui.support.editor.EditorLocation<com.eviware.soapui.support.editor.xml.XmlDocument> location) |
boolean |
activate(com.eviware.soapui.support.editor.xml.XmlLocation location) |
protected void |
addInterceptingMouseListener(AbstractOutlineTreeTable treeToReturn) |
protected void |
addPopupMenuTo(AbstractOutlineTreeTable treeToReturn) |
protected void |
addToolbarButtons(com.eviware.soapui.support.components.JXToolBar toolbar) |
protected Component |
buildToolbar() |
protected void |
buildUI() |
void |
contentChange() |
boolean |
deactivate() |
void |
documentUpdated() |
boolean |
getAlwaysShowUpdatePropertyDialog() |
JComponent |
getComponent() |
com.eviware.soapui.model.ModelItem |
getContextModelItem() |
com.eviware.soapui.support.editor.xml.XmlLocation |
getEditorLocation() |
com.eviware.soapui.model.testsuite.TestProperty |
getMessageProperty() |
XmlOutlineEditorView.Mode |
getMode() |
String |
getNameForCreation() |
AbstractOutlineTreeTable |
getOutlineTable() |
int |
getSelectedRow() |
OutlineTreeNode |
getSelectedTreeNode() |
String |
getValueForCreation() |
void |
insertPropertyExpansion(com.eviware.soapui.model.propertyexpansion.PropertyExpansion expansion,
Point point) |
boolean |
isEnabled() |
boolean |
isInspectable() |
void |
locationChanged(com.eviware.soapui.support.editor.EditorLocation<com.eviware.soapui.support.editor.xml.XmlDocument> location) |
void |
release() |
boolean |
saveDocument(boolean validate) |
void |
setAlwaysShowUpdatePropertyDialog(boolean value) |
com.eviware.soapui.support.editor.xml.XmlLocation |
setCurrentOffset(int caretLine,
int caretColumn) |
void |
setEditable(boolean b) |
void |
setLocation(com.eviware.soapui.support.editor.EditorLocation<com.eviware.soapui.support.editor.xml.XmlDocument> location) |
protected void |
updateDocumentContentsFromOutline(XmlTreeTableModelEvent e) |
addLocationListener, addPropertyChangeListener, addPropertyChangeListener, fireLocationChanged, getDocument, getEditor, getPropertyChangeSupport, getTitle, getViewId, getXml, isActive, propertyChange, removeLocationListener, removePropertyChangeListener, removePropertyChangeListener, requestFocus, setDocument, setTitle, syncUpdates, update
public static final String ENABLED_PROPERTY
protected JPopupMenu popup
public XmlOutlineEditorView(com.eviware.soapui.support.editor.xml.XmlEditor<com.eviware.soapui.support.editor.xml.XmlDocument> xmlEditor, com.eviware.soapui.model.ModelItem modelItem, XmlOutlineEditorView.Mode mode)
public XmlOutlineEditorView(com.eviware.soapui.support.editor.xml.XmlEditor<com.eviware.soapui.support.editor.xml.XmlDocument> xmlEditor, com.eviware.soapui.model.ModelItem modelItem)
protected void buildUI()
protected void addPopupMenuTo(AbstractOutlineTreeTable treeToReturn)
public boolean getAlwaysShowUpdatePropertyDialog()
getAlwaysShowUpdatePropertyDialog
in interface com.eviware.soapui.support.propertyexpansion.PropertyExpansionTarget
public void setAlwaysShowUpdatePropertyDialog(boolean value)
protected void addInterceptingMouseListener(AbstractOutlineTreeTable treeToReturn)
public com.eviware.soapui.model.testsuite.TestProperty getMessageProperty()
getMessageProperty
in interface AbstractOutlineTreeTable.PropertySource
public boolean activate(com.eviware.soapui.support.editor.EditorLocation<com.eviware.soapui.support.editor.xml.XmlDocument> location)
activate
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
activate
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public boolean deactivate()
deactivate
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
deactivate
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public void contentChange()
public void release()
release
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
release
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
protected Component buildToolbar()
protected void addToolbarButtons(com.eviware.soapui.support.components.JXToolBar toolbar)
public final OutlineTreeNode getSelectedTreeNode()
public AbstractOutlineTreeTable getOutlineTable()
public int getSelectedRow()
public com.eviware.soapui.support.editor.xml.XmlLocation setCurrentOffset(int caretLine, int caretColumn)
public boolean activate(com.eviware.soapui.support.editor.xml.XmlLocation location)
public JComponent getComponent()
getComponent
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public com.eviware.soapui.support.editor.xml.XmlLocation getEditorLocation()
getEditorLocation
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
getEditorLocation
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public void documentUpdated()
documentUpdated
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public void setEditable(boolean b)
setEditable
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public void locationChanged(com.eviware.soapui.support.editor.EditorLocation<com.eviware.soapui.support.editor.xml.XmlDocument> location)
locationChanged
in interface com.eviware.soapui.support.editor.EditorLocationListener<com.eviware.soapui.support.editor.xml.XmlDocument>
locationChanged
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public void setLocation(com.eviware.soapui.support.editor.EditorLocation<com.eviware.soapui.support.editor.xml.XmlDocument> location)
setLocation
in interface com.eviware.soapui.support.editor.EditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
setLocation
in class com.eviware.soapui.support.editor.views.AbstractXmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
public com.eviware.soapui.model.ModelItem getContextModelItem()
getContextModelItem
in interface com.eviware.soapui.support.propertyexpansion.PropertyExpansionTarget
public String getNameForCreation()
getNameForCreation
in interface com.eviware.soapui.support.propertyexpansion.PropertyExpansionTarget
public String getValueForCreation()
getValueForCreation
in interface com.eviware.soapui.support.propertyexpansion.PropertyExpansionTarget
public void insertPropertyExpansion(com.eviware.soapui.model.propertyexpansion.PropertyExpansion expansion, Point point)
insertPropertyExpansion
in interface com.eviware.soapui.support.propertyexpansion.PropertyExpansionTarget
public boolean isInspectable()
public boolean saveDocument(boolean validate)
saveDocument
in interface com.eviware.soapui.support.editor.xml.XmlEditorView<com.eviware.soapui.support.editor.xml.XmlDocument>
protected void updateDocumentContentsFromOutline(XmlTreeTableModelEvent e)
public boolean isEnabled()
public XmlOutlineEditorView.Mode getMode()
Copyright © 2019. All rights reserved.