Class orion.favorites.Favorites
A user interface element showing a list of favorites that can be browsed and manipulated.
Defined in: </shared/eclipse/e4/orion/I201201092230/plugins/org.eclipse.orion.client.core/web/orion/favorites.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
orion.favorites.Favorites(options)
Creates a new user interface element showing a list of favorites.
|
Method Attributes | Method Name and Description |
---|---|
editFavoriteName(fave, commandId, imageId, faveIndex)
|
|
editSearchName(search, commandId, imageId, faveIndex)
|
|
getUserURL(imageId)
|
|
render(favorites, searches)
|
Class Detail
orion.favorites.Favorites(options)
Creates a new user interface element showing a list of favorites.
- Parameters:
- {Object} options
- The service options
- {Object} options.parent
- The parent of this favorites widget
- {orion.serviceregistry.ServiceRegistry} options.serviceRegistry
- The service registry
Method Detail
editFavoriteName(fave, commandId, imageId, faveIndex)
- Parameters:
- fave
- commandId
- imageId
- faveIndex
editSearchName(search, commandId, imageId, faveIndex)
- Parameters:
- search
- commandId
- imageId
- faveIndex
getUserURL(imageId)
- Parameters:
- imageId
render(favorites, searches)
- Parameters:
- favorites
- searches