this.file_ = null;
};
+armadillo.Actor.prototype.createDom = function() {
+ this.setElementInternal(this.dom_.createDom('div'));
+ this.decorate(this.getElement());
+};
+
/**
* Decorates the given element into a path control.
* @param {Element} element
return confirm;
};
-/**
- * Event handler for when this.popup_ closes.
- * @param {Event} e
- */
-armadillo.Actor.prototype.onPopupClosed_ = function(e) {
- // If an action is not being performed, then dispose the Actor. Otherwise,
- // this will get cleaned up after the actionObject_ closes.
- if (!this.actionObject_) {
- this.file_.setHighlight(armadillo.File.Highlight.SELECTED);
- this.dispose();
- }
-};
-
/**
* Tile Control Renderer
* @constructor
*/
armadillo.File.prototype.actorHandler_ = function(e) {
e.stopPropagation();
- if (!this.actor_.isInDocument()) {
+ if (!this.actor_.isInDocument())
this.actor_.render(this.element_);
- this.actor_.setVisible(true);
- }
- if (!this.zippy_)
+ if (false && !this.zippy_)
this.zippy_ = new goog.ui.AnimatedZippy(this.element_,
this.actor_.getElement(), false);
- this.zippy_.toggle();
+ // this.zippy_.toggle();
};
/**