mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Visual Edit
This commit is contained in:
@@ -255,7 +255,7 @@ public abstract class RadComponent extends PropertiesContainer {
|
||||
|
||||
public void accept(RadComponentVisitor visitor, boolean forward) {
|
||||
if (visitor.visit(this)) {
|
||||
List<RadComponent> children = getChildren();
|
||||
List<RadComponent> children = getChildrenForAccept(visitor);
|
||||
if (forward) {
|
||||
for (RadComponent child : children) {
|
||||
child.accept(visitor, forward);
|
||||
@@ -271,6 +271,10 @@ public abstract class RadComponent extends PropertiesContainer {
|
||||
}
|
||||
}
|
||||
|
||||
protected List<RadComponent> getChildrenForAccept(RadComponentVisitor visitor) {
|
||||
return getChildren();
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Operations
|
||||
|
||||
Reference in New Issue
Block a user