Dieser Commit ist enthalten in:
Ursprung
9be20fd60d
Commit
9fd44392e1
@ -89,6 +89,12 @@ public class SchematicSelector {
|
|||||||
injectable.onSelectorOpen(this, SchematicSelectorInjectable.OpenFrom.REOPEN);
|
injectable.onSelectorOpen(this, SchematicSelectorInjectable.OpenFrom.REOPEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void reOpenDirUp() {
|
||||||
|
depth--;
|
||||||
|
openList(dirUp(lastParent));
|
||||||
|
injectable.onSelectorOpen(this, SchematicSelectorInjectable.OpenFrom.REOPEN);
|
||||||
|
}
|
||||||
|
|
||||||
private void openList(SchematicNode parent) {
|
private void openList(SchematicNode parent) {
|
||||||
lastParent = parent;
|
lastParent = parent;
|
||||||
List<SchematicNode> nodes = applySorting(filter.isFilter()?getFilteredSchematics():getSchematicList(parent));
|
List<SchematicNode> nodes = applySorting(filter.isFilter()?getFilteredSchematics():getSchematicList(parent));
|
||||||
@ -150,14 +156,12 @@ public class SchematicSelector {
|
|||||||
inv.open();
|
inv.open();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void handleClick(SchematicNode node, SchematicNode parent) {
|
private SchematicNode dirUp(SchematicNode parent) {
|
||||||
if(node == null) {
|
|
||||||
depth--;
|
|
||||||
if(!singleDirOpen) {
|
if(!singleDirOpen) {
|
||||||
if(NodeMember.getNodeMember(parent.getId(), user.getId()) != null) {
|
if(NodeMember.getNodeMember(parent.getId(), user.getId()) != null) {
|
||||||
openList(null);
|
return null;
|
||||||
} else {
|
} else {
|
||||||
openList(getParent(parent));
|
return getParent(parent);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
SchematicNode currentParent = parent;
|
SchematicNode currentParent = parent;
|
||||||
@ -173,11 +177,17 @@ public class SchematicSelector {
|
|||||||
getSchematicList(currentParent);
|
getSchematicList(currentParent);
|
||||||
} while (sdoTrigger);
|
} while (sdoTrigger);
|
||||||
if(isMember || NodeMember.getNodeMember(parent.getId(), user.getId()) != null) {
|
if(isMember || NodeMember.getNodeMember(parent.getId(), user.getId()) != null) {
|
||||||
openList(null);
|
return null;
|
||||||
} else {
|
} else {
|
||||||
openList(currentParent);
|
return currentParent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void handleClick(SchematicNode node, SchematicNode parent) {
|
||||||
|
if(node == null) {
|
||||||
|
depth--;
|
||||||
|
openList(dirUp(parent));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(node.isDir()) {
|
if(node.isDir()) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren