use of net.sf.latexdraw.instruments.CompositeGUIVoidCommand in project latexdraw by arnobl.
the class TestHandDotStyle method testSelectFillingNotEnabledWhenNonFillableStyleSelection.
@Test
public void testSelectFillingNotEnabledWhenNonFillableStyleSelection() {
new CompositeGUIVoidCommand(activateHand, selectionAddDot, updateIns).execute();
setDotStyle.execute(DotStyle.ASTERISK);
assertTrue(fillingB.isDisabled());
}
use of net.sf.latexdraw.instruments.CompositeGUIVoidCommand in project latexdraw by arnobl.
the class TestHandDotStyle method testControllerDeactivatedWhenSelectionEmpty.
@Test
public void testControllerDeactivatedWhenSelectionEmpty() {
new CompositeGUIVoidCommand(activateHand, updateIns).execute();
assertFalse(ins.isActivated());
assertFalse(titledPane.isVisible());
}
use of net.sf.latexdraw.instruments.CompositeGUIVoidCommand in project latexdraw by arnobl.
the class TestHandDoubleLineStyle method testNotDbledWidgetsNotEnabledHand.
@Test
public void testNotDbledWidgetsNotEnabledHand() {
new CompositeGUIVoidCommand(activateHand, selectionAddRec, updateIns).execute();
assertFalse(dbleBoundCB.isDisabled());
assertTrue(dbleBoundColB.isDisabled());
assertTrue(dbleSepField.isDisabled());
}
use of net.sf.latexdraw.instruments.CompositeGUIVoidCommand in project latexdraw by arnobl.
the class TestHandDoubleLineStyle method testControllerDeactivatedWhenSelectionNotDot.
@Test
public void testControllerDeactivatedWhenSelectionNotDot() {
new CompositeGUIVoidCommand(selectionAddAxes, activateHand, updateIns).execute();
assertFalse(ins.isActivated());
assertFalse(titledPane.isVisible());
}
use of net.sf.latexdraw.instruments.CompositeGUIVoidCommand in project latexdraw by arnobl.
the class TestHandDoubleLineStyle method testControllerActivatedWhenSelectionDot.
@Test
public void testControllerActivatedWhenSelectionDot() {
new CompositeGUIVoidCommand(selectionAddRec, activateHand, updateIns).execute();
assertTrue(ins.isActivated());
assertTrue(titledPane.isVisible());
}
Aggregations