Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deck of Cards
idsdkPins
Card
defaulttrue
labelUI Control
titleInterface for working with pins related to an issue

 

Please note that for visualizing the spots/pins, you have to use viewport3d, viewport3dController and its related templates.

Card
labelController & Methods
titleThe modules to be loaded for using this interface

Controller: pinsListController

Methods:

cancelAddPin(): Quits the pin add mode

showPins(): Show all pins

addPin(String issue_id, Object related_object): Add the pin object to the specified issue and returns a deferred object

deletePin(Object pin): Deletes the pin

findAll(String issue_id): Loads the pins that belong to an issue


Here is a list of Ember action helper methods which could be called from template or with sendAction() method

showPins(): Show all pins

addPin(): Add Adds the new pin to issue

addIssuePin(): Adds the new issue along with its pin

cancelAddPin(): Quits the pin add mode

showRelatedObject(Object object): Shows the specified object in 3D viewport

Card
labelTemplate & View
titleThe template that has to be loaded

Template: pinsList.hbs

View: pinsListView

...