-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from yprie/sprint3/categoryCounter
Added current interview uses per interview
- Loading branch information
Showing
9 changed files
with
175 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
src/main/java/components/schemaTree/Cell/Visitors/InitTreeElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package components.schemaTree.Cell.Visitors; | ||
|
||
import models.*; | ||
|
||
public class InitTreeElement extends SchemaTreePluggableVisitor{ | ||
@Override | ||
public void visit(SchemaTreeRoot element) { | ||
element.foldersProperty().forEach(schemaFolder -> { schemaFolder.accept(this); }); | ||
element.categoriesProperty().forEach(schemaCategory -> { schemaCategory.accept(this); }); | ||
} | ||
|
||
@Override | ||
public void visit(SchemaFolder element) { | ||
element.foldersProperty().forEach(schemaFolder -> { schemaFolder.accept(this); }); | ||
element.categoriesProperty().forEach(schemaCategory -> { schemaCategory.accept(this); }); | ||
} | ||
|
||
@Override | ||
public void visit(SchemaCategory element) { | ||
element.init(); | ||
} | ||
|
||
@Override | ||
public void visit(SchemaProperty element) { | ||
|
||
} | ||
|
||
@Override | ||
public void visit(SchemaMomentType element) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.