You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
527 B
TypeScript
20 lines
527 B
TypeScript
import { GroupData } from './canvasModel';
|
|
|
|
export interface GroupHandler {
|
|
group(groupData: GroupData): void;
|
|
}
|
|
|
|
export class GroupHandlerImpl implements GroupHandler {
|
|
// callback is used to notify about grouping end
|
|
private onGroupDone: (objects: any[], reset: boolean) => void;
|
|
|
|
public constructor(onGroupDone: any) {
|
|
this.onGroupDone = onGroupDone;
|
|
}
|
|
|
|
/* eslint-disable-next-line */
|
|
public group(groupData: GroupData): void {
|
|
throw new Error('Method not implemented.');
|
|
}
|
|
}
|