public abstract class HttpPanelSyntaxHighlightTextView extends Object implements HttpPanelView, HttpPanelViewModelListener, SearchableHttpPanelView
Modifier and Type | Class and Description |
---|---|
protected class |
HttpPanelSyntaxHighlightTextView.CustomPopupMenu |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_MESSAGE_CONTAINER_NAME
Default name used for
MessageContainer . |
static String |
NAME |
Constructor and Description |
---|
HttpPanelSyntaxHighlightTextView(AbstractStringHttpPanelViewModel model) |
HttpPanelSyntaxHighlightTextView(String messageContainerName,
AbstractStringHttpPanelViewModel model) |
Modifier and Type | Method and Description |
---|---|
protected abstract HttpPanelSyntaxHighlightTextArea |
createHttpPanelTextArea() |
void |
dataChanged(HttpPanelViewModelEvent e) |
String |
getCaptionName() |
protected HttpPanelSyntaxHighlightTextArea |
getHttpPanelTextArea() |
HttpPanelViewModel |
getModel() |
String |
getName() |
JComponent |
getPane() |
int |
getPosition() |
String |
getTargetViewName() |
boolean |
hasChanged() |
void |
highlight(SearchMatch sm) |
boolean |
isEditable() |
boolean |
isEnabled(Message msg) |
void |
loadConfiguration(org.apache.commons.configuration.FileConfiguration fileConfiguration) |
void |
save()
Saves the data shown in the view into the current message.
|
void |
saveConfiguration(org.apache.commons.configuration.FileConfiguration fileConfiguration) |
void |
search(Pattern p,
List<SearchMatch> matches) |
void |
setEditable(boolean editable) |
void |
setParentConfigurationKey(String configurationKey) |
void |
setSelected(boolean selected) |
public static final String DEFAULT_MESSAGE_CONTAINER_NAME
MessageContainer
.MessageContainer
,
Constant Field Valuespublic static final String NAME
public HttpPanelSyntaxHighlightTextView(AbstractStringHttpPanelViewModel model)
public HttpPanelSyntaxHighlightTextView(String messageContainerName, AbstractStringHttpPanelViewModel model)
protected abstract HttpPanelSyntaxHighlightTextArea createHttpPanelTextArea()
protected HttpPanelSyntaxHighlightTextArea getHttpPanelTextArea()
public void setSelected(boolean selected)
setSelected
in interface HttpPanelView
public String getName()
getName
in interface HttpPanelView
public String getCaptionName()
getCaptionName
in interface HttpPanelView
public String getTargetViewName()
getTargetViewName
in interface HttpPanelView
public int getPosition()
getPosition
in interface HttpPanelView
public boolean isEnabled(Message msg)
isEnabled
in interface HttpPanelView
public boolean hasChanged()
hasChanged
in interface HttpPanelView
public JComponent getPane()
getPane
in interface HttpPanelView
public boolean isEditable()
isEditable
in interface HttpPanelView
public void setEditable(boolean editable)
setEditable
in interface HttpPanelView
public HttpPanelViewModel getModel()
getModel
in interface HttpPanelView
public void dataChanged(HttpPanelViewModelEvent e)
dataChanged
in interface HttpPanelViewModelListener
public void save()
HttpPanelView
save
in interface HttpPanelView
public void search(Pattern p, List<SearchMatch> matches)
search
in interface SearchableHttpPanelView
public void highlight(SearchMatch sm)
highlight
in interface SearchableHttpPanelView
public void setParentConfigurationKey(String configurationKey)
setParentConfigurationKey
in interface HttpPanelView
public void loadConfiguration(org.apache.commons.configuration.FileConfiguration fileConfiguration)
loadConfiguration
in interface HttpPanelView
public void saveConfiguration(org.apache.commons.configuration.FileConfiguration fileConfiguration)
saveConfiguration
in interface HttpPanelView