use of org.netxms.ui.eclipse.actions.ViewerProvider in project netxms by netxms.
the class SoftwareInventoryView method createActions.
/**
* Create actions
*/
private void createActions() {
actionRefresh = new RefreshAction(this) {
@Override
public void run() {
inventoryWidget.refresh();
}
};
ViewerProvider vp = new ViewerProvider() {
@Override
public ColumnViewer getViewer() {
return inventoryWidget.getViewer();
}
};
actionExportToCsv = new ExportToCsvAction(this, vp, true);
actionExportAllToCsv = new ExportToCsvAction(this, vp, false);
}
Aggregations