package at.acdp.urweb.close; import javax.swing.BoxLayout; import javax.swing.JPanel; import at.acdp.urweb.pickorplace.Style; import com.ur.urcap.api.contribution.ContributionProvider; import com.ur.urcap.api.contribution.program.swing.SwingProgramNodeView; public class GripperCloseProgramNodeView implements SwingProgramNodeView { private final Style style; GripperCloseProgramNodeView(Style style) { this.style = style; } @Override public void buildUI(JPanel panel, ContributionProvider provider) { panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS)); panel.add(style.createVerticalSpacing()); panel.add(style.createInfo("Closing of the gripper is specified in this subtree.")); } }