public final static String VIEW_ID = "HTTP Content";
public EditorView<?> createRequestEditorView(Editor<?> editor, ModelItem modelItem) {
if (editor instanceof AbstractHttpXmlRequestDesktopPanel.HttpRequestMessageEditor && modelItem instanceof HttpRequestInterface<?>) {
if (modelItem instanceof RestTestRequestInterface) {
return new RestTestRequestContentView((HttpRequestMessageEditor) editor, (RestRequestInterface) modelItem);
} else if (modelItem instanceof RestRequestInterface) {
return new RestRequestContentView((HttpRequestMessageEditor) editor, (RestRequestInterface) modelItem);
} else {
return new HttpRequestContentView((HttpRequestMessageEditor) editor, (HttpRequestInterface<?>) modelItem);
}