package org.simantics.district.network.ui.breakdown; import javax.annotation.PostConstruct; import org.eclipse.e4.ui.di.Focus; import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Composite; /** * @author Tuukka Lehtonen * @since 1.35.0 */ public class DistrictNetworkBreakdownPart { public static final String ID = "org.simantics.district.breakdown"; //$NON-NLS-1$ private DistrictNetworkBreakdownPanel panel; @PostConstruct public void createPartControl(Composite parent) { panel = new DistrictNetworkBreakdownPanel(parent, SWT.NONE); } @Focus public void setFocus() { panel.setFocus(); } }