Ejemplo n.º 1
0
        public override bool doTool()
        {
            description = new Description();
            descriptionsController.addDescription(description);
            descriptionController = new DescriptionController(description);
            descriptionsController.addDescriptionController(descriptionController);

            return(true);
        }
Ejemplo n.º 2
0
 public override bool doTool()
 {
     description = (Description)descriptionsController.getSelectedDescription();
     descriptionsController.addDescription(description);
     descriptionController = new DescriptionController(description);
     descriptionsController.addDescriptionController(descriptionController);
     descriptionsController.setSelectedDescription(descriptionsController.getDescriptionCount() - 1);
     return(true);
 }
Ejemplo n.º 3
0
 public override bool undoTool()
 {
     descriptionsController.addDescriptionController(deletedDescriptionController, lastSelectedDescription);
     descriptionsController.addDescription(deletedDescriptionController.getDescriptionData(), lastSelectedDescription);
     descriptionsController.setSelectedDescription(lastSelectedDescription);
     Controller.Instance.updatePanel();
     return(true);
 }