예제 #1
0
        public override bool undoTool()
        {
            bool undone = descriptionsController.removeDescription(description) && descriptionsController.removeDescriptionController(descriptionController);

            if (undone)
            {
                descriptionsController.setSelectedDescription(descriptionsController.getDescriptionCount() - 1);
                Controller.Instance.updatePanel();
                return(true);
            }
            return(false);
        }