Go to the source code of this file.
function doGetPlacesControllerForCommand |
( |
|
aCommand | ) |
|
function goDoPlacesCommand |
( |
|
aCommand | ) |
|
function goUpdatePlacesCommands |
( |
| ) |
|
function InsertionPoint |
( |
|
aItemId, |
|
|
|
aIndex, |
|
|
|
aOrientation, |
|
|
|
aIsTag, |
|
|
|
aDropNearItemId |
|
) |
| |
Represents an insertion point within a container where we can insert items.
- Parameters
-
aItemId | The identifier of the parent container |
aIndex | The index within the container where we should insert |
aOrientation | The orientation of the insertion. NOTE: the adjustments to the insertion point to accommodate the orientation should be done by the person who constructs the IP, not the user. The orientation is provided for informational purposes only! |
[optional] | aIsTag Indicates if parent container is a tag |
[optional] | aDropNearItemId When defined we will calculate index based on this itemId |
Definition at line 84 of file controller.js.
function PlacesController |
( |
|
aView | ) |
|
const ORGANIZER_ROOT_BOOKMARKS = "place:folder=BOOKMARKS_MENU&excludeItems=1&queryType=1" |
const ORGANIZER_SUBSCRIPTIONS_QUERY = "place:annotation=livemark%2FfeedURI" |
var PlacesControllerDragHelper |
Handles drag and drop operations for views. Note that this is view agnostic! You should not use PlacesController._view within these methods, since the view that the item(s) have been dropped on was not necessarily active. Drop functions are passed the view that is being dropped on.
Definition at line 1333 of file controller.js.
Initial value:= {
return this._index =
val;
},
get index() {
if (this.dropNearItemId > 0) {
var index = PlacesUtils.bookmarks.getItemIndex(this.dropNearItemId);
return this.orientation ==
Ci.nsITreeView.DROP_BEFORE ? index : index + 1;
}
return this._index;
}
}
this _dialogInput val(dateText)
Definition at line 93 of file controller.js.
const RELOAD_ACTION_INSERT = 1 |
const RELOAD_ACTION_MOVE = 3 |
const RELOAD_ACTION_NOTHING = 0 |
const RELOAD_ACTION_REMOVE = 2 |
const REMOVE_PAGES_CHUNKLEN = 300 |
const REMOVE_PAGES_MAX_SINGLEREMOVES = 10 |