/*
 * Copyright (c) 2013 Haulmont Technology Ltd. All Rights Reserved.
 * Haulmont Technology proprietary and confidential.
 * Use is subject to license terms.
 */

package com.haulmont.cuba.web.toolkit.ui.client.tabsheet;

import com.google.gwt.event.dom.client.ContextMenuEvent;
import com.vaadin.client.ui.VTabsheet;

/**
 * @author artamonov
 * @version $Id$
 */
public class CubaTabSheetWidget extends VTabsheet {

    public static final String CLASSNAME = "v-actions-tabsheet";

    protected TabContextMenuHandler tabContextMenuHandler;

    public CubaTabSheetWidget() {
        setStyleName(CLASSNAME);
    }

    @Override
    protected void onTabContextMenu(final int tabIndex, ContextMenuEvent event) {
        if (tabContextMenuHandler != null)
            tabContextMenuHandler.onContextMenu(tabIndex, event);
    }

    public interface TabContextMenuHandler {
        void onContextMenu(final int tabIndex, ContextMenuEvent event);
    }
}
@@ -439,207 +439,61 @@
    p
-ublic static final String CLASSNAME = %22v-actions-tabsheet%22;%0D%0A%0D%0A    protected TabContextMenuHandler tabContextMenuHandler;%0D%0A%0D%0A    public CubaTabSheetWidget() %7B%0D%0A        setStyleName(CLASSNAME);%0D%0A    %7D
+rotected TabContextMenuHandler tabContextMenuHandler;
 %0D%0A%0D%0A

Remove unnecessary custom style name for Tabsheet #PL-1995