* The Actor is a popup that displays the various actions that can be performed
* on a given File.
* @param {armadillo.File} file The file to act on.
- * @param {goog.dom.DomHelper} opt_domHelper
* @constructor
*/
-armadillo.Actor = function(file, opt_domHelper) {
+armadillo.Actor = function(file) {
/**
* The file object on which this acts.
* @type {armadillo.File}
*/
this.element_ = null;
- /**
- * The UI element used for a specific action.
- * @type {goog.Disposable}
- */
- this.actionObject_ = null;
-
/**
* Controls for the current action.
- * @type {goog.ui.Control}
+ * @type {Element}
*/
this.controlContainer_ = null;
}
/**
* Creates the DOM Element that is inserted into the popup.
* @param {armadillo.Actor.options_} Key of the option to create
- * @returns {goog.ui.Control}
+ * @returns {Element}
*/
armadillo.Actor.prototype.createTile_ = function(option) {
var value = armadillo.Actor.options_[option];
/**
* Control UI for the name component of the path.
- * @type {goog.ui.Control}
+ * @type {Element}
*/
this.nameControl_ = null;
};
/**
* Gets the name control.
- * @returns {goog.ui.Control}
+ * @returns {Element}
*/
armadillo.PathControl.prototype.getNameControl = function() {
return this.nameControl_;
* the given menu.
* @param {string} path The path to get a list of items in
* @param {string} name The name to select
- * @param {goog.ui.Menu} The menu to attach items to
+ * @param {Element} The menu to attach items to
*/
armadillo.PathControl.prototype.fetchMenuContents_ = function(path, name, menu) {
var fullPath = this.path_;