return warea;
}
private MultiAreaFrame buildNewFrame(IArea area, boolean isContainer) {
MultiAreaFrame frame = new MultiAreaFrame(area);
if (!clipStack.isEmpty()) {
//frame.setClip(clipStack.peek());
}
MultiAreaFrame parentFrame = frameStack.isEmpty() ? null
: (MultiAreaFrame) frameStack.peek();
frame.setParent(parentFrame);
if (parentFrame != null) {
parentFrame.addChild(frame);
}
if (isContainer) {
frameStack.push(frame);
}