public DialogNewFunction(Frame parent, CollaboratorLocal collaborator) throws ClipsException {
super(parent, "Исполняемая обязанность", null);
initComponents();
this.collaborator = collaborator;
chunkDetails = new CollaboratorFunctionsDetails();
chunkDetails.collaboratorID = collaborator.getID();
SelectorEditable<CollaboratorFunctionsChunk> functions = collaborator.getFunctions();
for (int i=0; i<functions.size(); i++){
collabChunks.add(functions.get(i));
}