/*
 * Copyright (c) 2008-2014 Haulmont. All rights reserved.
 * Use is subject to license terms, see http://www.cuba-platform.com/license for details.
 */

package com.haulmont.cuba.gui.components.filter.operationedit;

import com.haulmont.cuba.core.global.AppBeans;
import com.haulmont.cuba.gui.components.BoxLayout;
import com.haulmont.cuba.gui.components.Component;
import com.haulmont.cuba.gui.components.filter.condition.AbstractCondition;
import com.haulmont.cuba.gui.xml.layout.ComponentsFactory;

/**
 * Grouping condition operation editor. Actually does nothing.
 *
 * @author krivopustov
 * @version $Id$
 */
public class GroupOperationEditor extends AbstractOperationEditor {

    protected ComponentsFactory componentsFactory = AppBeans.get(ComponentsFactory.class);

    public GroupOperationEditor(AbstractCondition condition) {
        super(condition);
    }

    @Override
    protected Component createComponent() {
        return componentsFactory.createComponent(BoxLayout.VBOX);
    }
}

@@ -300,24 +300,24 @@
 ponents.
-BoxLayou
+Componen
 t;%0Aimpor
@@ -347,32 +347,33 @@
 .components.
-Componen
+VBoxLayou
 t;%0Aimport co
@@ -977,16 +977,17 @@
 mponent(
+V
 BoxLayou
@@ -992,12 +992,12 @@
 out.
-VBOX
+NAME
 );%0A 

Change initialization order for loaders #PL-5547