use of net.sf.latexdraw.models.interfaces.shape.PlottingStyle in project latexdraw by arnobl.
the class TestHandAxeStyle method testSelectShowLabelsSelection.
@Test
public void testSelectShowLabelsSelection() {
new CompositeGUIVoidCommand(activateHand, selectionAddAxes, selectionAddRec, selectionAddAxes, updateIns).execute();
PlottingStyle style = showLabels.getSelectionModel().getSelectedItem();
selectPlotLabel.execute();
PlottingStyle newStyle = showLabels.getSelectionModel().getSelectedItem();
assertEquals(newStyle, ((IAxesProp) drawing.getSelection().getShapeAt(0)).getLabelsDisplayed());
assertEquals(newStyle, ((IAxesProp) drawing.getSelection().getShapeAt(2)).getLabelsDisplayed());
assertNotEquals(style, newStyle);
}
Aggregations