|
|
@ -241,12 +241,14 @@ public class ComponentTree extends JTree { |
|
|
|
creator.notShowInComponentTree(path); |
|
|
|
creator.notShowInComponentTree(path); |
|
|
|
} |
|
|
|
} |
|
|
|
//绝对布局作为body的时候不显示自适应布局父层
|
|
|
|
//绝对布局作为body的时候不显示自适应布局父层
|
|
|
|
if (((XCreator) parent).acceptType(XWAbsoluteBodyLayout.class) |
|
|
|
if (((XCreator) parent).acceptType(XWAbsoluteBodyLayout.class)) { |
|
|
|
&& (parent.getParent() != null) |
|
|
|
if ((parent.getParent() != null) |
|
|
|
&& ((XCreator)parent.getParent()).acceptType(XWFitLayout.class)){ |
|
|
|
&& ((XCreator)parent.getParent()).acceptType(XWFitLayout.class)){ |
|
|
|
parent = parent.getParent().getParent(); |
|
|
|
parent = parent.getParent().getParent(); |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
parent = parent.getParent(); |
|
|
|
parent = parent.getParent(); |
|
|
|
} |
|
|
|
} |
|
|
|
Object[] components = path.toArray(); |
|
|
|
Object[] components = path.toArray(); |
|
|
|