Changeset 2096


Ignore:
Timestamp:
08/15/12 13:12:29 (12 years ago)
Author:
twagoo
Message:

Removed 'start over' action from component editor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/CMDComponentXMLEditor.as

    r1988 r2096  
    237237                        var buttons:FormItem = new SelectTypeRadioButtons(spec);
    238238                        head.addChild(buttons);
    239                         var startOverLabel:Label = createStartOverButton();
    240                         startOverLabel.setStyle("paddingTop", "2");
    241                         startOverLabel.height = buttons.height;
    242239                        var space:Spacer = new Spacer();
    243240                        space.width = 55;
    244241                        head.addChild(space);
    245                         head.addChild(startOverLabel);
    246242                        addChild(head);
    247243                       
     
    371367                        removeChild(event.currentTarget as DisplayObject);
    372368                }
    373                
    374                 private function createStartOverButton():Label {
    375                         var startOverButton:Label = new RemoveLabelButton();
    376                         startOverButton.addEventListener(MouseEvent.CLICK, clearEditorHandler);
    377                         startOverButton.toolTip = "Clears all input and removes added components";
    378                         startOverButton.text = "start over";
    379                         return startOverButton;
    380                 }
    381369        }
    382370}
Note: See TracChangeset for help on using the changeset viewer.