[ADF-3606] added extra icon for special folders and fixed link navigation folder (#3960)

* [ADF-3606] added extra icon for special folders

* [ADF-3606] changed icons and added tests

* [ADF-3606] added navigation via linked folder

* [ADF-3606] fixed problem in test

* [ADF-3606] added extra documentation

* [ADF-3606] fixed problem with folderchange event
This commit is contained in:
Vito
2018-11-19 12:29:26 +00:00
committed by Eugenio Romano
parent a18b1c1579
commit 2fcec4f235
10 changed files with 151 additions and 8 deletions

View File

@@ -71,3 +71,29 @@ export class SmartFolderNode extends NodeMinimalEntry {
this.entry.aspectNames = ['smf:systemConfigSmartFolder'];
}
}
export class RuleFolderNode extends NodeMinimalEntry {
constructor(name?: string) {
super();
this.entry = new NodeMinimal();
this.entry.id = 'rule-folder-id';
this.entry.isFile = false;
this.entry.isFolder = true;
this.entry.name = name;
this.entry.path = new PathInfoEntity();
this.entry.aspectNames = ['rule:rules'];
}
}
export class LinkFolderNode extends NodeMinimalEntry {
constructor(name?: string) {
super();
this.entry = new NodeMinimal();
this.entry.id = 'link-folder-id';
this.entry.isFile = false;
this.entry.isFolder = true;
this.entry.nodeType = 'app:folderlink';
this.entry.name = name;
this.entry.path = new PathInfoEntity();
}
}