OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/components/wp-fast-table/builders/modes/rows-builder.ts

24 lines
564 B

import {States} from '../../../states.service';
import {WorkPackageTable} from '../../wp-fast-table';
import {PrimaryRenderPass} from '../primary-render-pass';
export abstract class RowsBuilder {
public states:States;
constructor(public workPackageTable:WorkPackageTable) {
}
/**
* Build all rows of the table.
*/
public abstract buildRows():PrimaryRenderPass;
/**
* Determine if this builder applies to the current view mode.
*/
public isApplicable(table:WorkPackageTable) {
return true;
}
}
RowsBuilder.$inject = ['states'];