use of org.netxms.ui.eclipse.agentmanager.views.helpers.DeploymentStatusComparator in project netxms by netxms.
the class PackageDeploymentMonitor method createPartControl.
/* (non-Javadoc)
* @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
*/
@Override
public void createPartControl(Composite parent) {
final String[] names = { Messages.get().PackageDeploymentMonitor_ColumnNode, Messages.get().PackageDeploymentMonitor_ColumnStatus, Messages.get().PackageDeploymentMonitor_ColumnMessage };
final int[] widths = { 200, 110, 400 };
viewer = new SortableTableViewer(parent, names, widths, COLUMN_NODE, SWT.DOWN, SWT.FULL_SELECTION | SWT.MULTI);
viewer.setContentProvider(new ArrayContentProvider());
viewer.setLabelProvider(new DeploymentStatusLabelProvider());
viewer.setComparator(new DeploymentStatusComparator());
createActions();
contributeToActionBars();
}
Aggregations