Search in sources :

Example 1 with ModelInsertHandleAction

use of com.cburch.draw.actions.ModelInsertHandleAction in project logisim-evolution by reds-heig.

the class AppearanceEditHandler method addControlPoint.

@Override
public void addControlPoint() {
    Selection sel = canvas.getSelection();
    Handle handle = sel.getSelectedHandle();
    canvas.doAction(new ModelInsertHandleAction(canvas.getModel(), handle));
}
Also used : ModelInsertHandleAction(com.cburch.draw.actions.ModelInsertHandleAction) Selection(com.cburch.draw.canvas.Selection) Handle(com.cburch.draw.model.Handle)

Aggregations

ModelInsertHandleAction (com.cburch.draw.actions.ModelInsertHandleAction)1 Selection (com.cburch.draw.canvas.Selection)1 Handle (com.cburch.draw.model.Handle)1