new ColumnPixelData(120, true, true),
new ColumnPixelData(60, true, true),
new ColumnWeightData(100, 100, true),
new ColumnPixelData(100, true, true),
};
final ColumnLabelProvider providerList[] = {
new ColumnLabelProvider() {
@Override
public String getText(Object element) {
return (((IHttpRequestTask) element).getTimeCompleted() == null) ? "in progress" : "complete";
}
},
new ColumnLabelProvider() {
@Override
public String getText(Object element) {
return uriToHostString(((IHttpRequestTask) element).getRequest().getURI());
}
},
new ColumnLabelProvider() {
@Override
public String getText(Object element) {
return ((IHttpRequestTask) element).getRequest().getMethod();
}
},
new ColumnLabelProvider() {
@Override
public String getText(Object element) {
return uriToPathString(((IHttpRequestTask) element).getRequest().getURI());
}
},
new ColumnLabelProvider() {
@Override
public String getText(Object element) {
final IRequestOrigin origin = ((IHttpRequestTask) element).getRequestEngine().getRequestOrigin();
if (origin instanceof IRequestOriginProxy) {
return origin.toString();