use of org.twak.tweed.tools.PlaneTool in project chordatlas by twak.
the class PanoGen method getUI.
@Override
public JComponent getUI() {
ui.removeAll();
ui.setLayout(new ListDownLayout());
if (new File(Tweed.toWorkspace(folder), TO_DOWNLOAD).exists()) {
JButton download = new JButton("download");
download.addActionListener(e -> downloadPanos());
ui.add(download);
}
JButton align = new JButton("facade tool");
align.addActionListener(e -> tweed.setTool(new FacadeTool(tweed)));
ui.add(align);
JButton plane = new JButton("plane tool");
plane.addActionListener(e -> tweed.setTool(new PlaneTool(tweed)));
ui.add(plane);
return ui;
}
Aggregations