Victor Woeltjen
d059116782
[Creation] Rename creation capability
...
...to instantiation, to distinguish from creation (which
typically includes persistence.)
2015-11-06 14:07:53 -08:00
Victor Woeltjen
62b9eb5180
[Creation] Simplify creationService
...
Add the newly-created domain object directly, instead of via
its id.
2015-11-05 15:36:33 -08:00
Victor Woeltjen
65a33f8af5
[Creation] Clean up creationService
...
Remove unused dependency, update JSDoc
2015-11-05 15:15:23 -08:00
Victor Woeltjen
331b4e9259
[Creation] Use creation capability
...
...from creationService to initially instantiate a domain object
before persisting it.
2015-11-05 15:13:33 -08:00
Pete Richards
3d996ac466
[RequireJS] Specify path for uuid
...
Specify path for uuid, making it available for any code that would require it,
without that code needing to know the path to it.
Fixes https://github.com/nasa/openmctweb/issues/211 .
2015-10-23 16:32:05 -07:00
Pete Richards
6ce4ce6ada
Merge remote-tracking branch 'github-open/open139-1' into open-master
2015-09-23 13:51:55 -07:00
Pete Richards
70bc17c79f
Merge remote-tracking branch 'github-open/open97' into open-master
2015-09-23 13:44:48 -07:00
Victor Woeltjen
56ccf29cfe
[Persistence] Include timestamp on creation
...
Include a persisted timestamp when an object is first
created. nasa/openmctweb#139
2015-09-22 11:32:18 -07:00
Victor Woeltjen
52df7fe1e2
[Angular] Avoid infinite digest
...
Avoid infinite digest loop from LocatorController associated
with upgrade to Angular 1.4.4
2015-09-09 17:15:35 -07:00
Victor Woeltjen
b1238b0c96
[Composition] Return newly-contextualized object
...
After adding to composition, return the newly-contextualized
object; this is regularly used by other services.
2015-09-02 11:37:47 -07:00
Victor Woeltjen
8759fdbd95
[Composition] Update specs
...
Update specs to reflect usage of the add method in
the composition capability.
2015-09-02 09:37:26 -07:00
Victor Woeltjen
8e995eba8f
[Composition] Use composition.add during creation
2015-09-01 17:11:09 -07:00
Victor Woeltjen
01f2fab70f
[Create] Filter out control-less properties
...
When properties have no control defined, don't show them
in the create dialog (but do show them in metadata, e.g.
info bubble.) For nasa/openmctweb#92
2015-09-01 11:48:15 -07:00
Victor Woeltjen
b39753d0a6
[Entanglement] Separate out location
...
Separate out location property from the CreationService,
instead handle in the entanglement bundle; this is
consistent with changes for identity management (attaching
a creator to newly-created domain object models).
for nasa/openmctweb#92
2015-09-01 10:57:56 -07:00
Victor Woeltjen
f27e4d6e06
Merge branch 'open-master' into open1482c
...
Merge in latest in preparation to merge; WTD-1482
Conflicts:
platform/commonUI/browse/src/creation/CreationService.js
platform/core/src/models/RootModelProvider.js
platform/entanglement/src/services/LinkService.js
platform/entanglement/src/services/MoveService.js
2015-08-19 15:00:52 -07:00
Victor Woeltjen
a77920bd18
[Code Style] Use prototypes in Browse bundle
...
WTD-1482.
2015-08-10 11:52:23 -07:00
Victor Woeltjen
eaaa1a19ca
[JSDoc] Remove obsolete module references
...
WTD-1482
2015-08-07 11:55:38 -07:00
Victor Woeltjen
c08a460d30
[JSDoc] Add annotations
...
Bulk-add JSDoc annotations, WTD-1482.
2015-08-07 11:44:54 -07:00
Pete Richards
c80e9bfa26
[Style] JSLint Compliance
2015-08-06 15:21:28 -07:00
Pete Richards
f72f88adfa
[Location] Use parent id as location
...
Use the parent id as the location for a model.
This greatly reduces the recursive work that must be done
during move operations to keep the location accurate.
Additionally, the locationService now implements a method
`persistLocation` which can be used to persist the current object
location as it's original location.
2015-08-06 15:05:47 -07:00
larkin
40e85b718d
[Creation] Store location of new objects
...
The creation service stores the location (the full path) to
the domain object as "model.location"
2015-08-04 11:24:50 -07:00
larkin
8811f2a53e
[Creation] createObject returns newObject
...
createObject returns a promise which is resolved when the object
has been persisted. The promise is resolved with an instance of the
new domainObject.
2015-06-11 13:09:01 -07:00
Victor Woeltjen
2648f01966
[Composition] Disallow composition for leaf types
...
Disallow composition for domain object types which will
not have a composition property; WTD-1221.
2015-06-04 09:16:12 -07:00
Victor Woeltjen
10863514cb
[Licenses] Add license headers
...
WTD-1051.
2015-05-13 16:43:30 -07:00
Victor Woeltjen
cc0a46d5cc
[Containment] Set validity in locator
...
Set validity of selected location from locator control, to
disallow creation when no valid location is selected (which
is possible due to containment rules.) WTD-962.
2015-04-07 22:30:21 -07:00
Victor Woeltjen
0550e09344
[Containment] Enforce containment rules in locator
...
Enforce containment rules in locator; WTD-962.
2015-04-07 22:21:37 -07:00
Victor Woeltjen
6c83b3774d
[Create] Expose type information
...
Expose type information in the metadata for Create
actions, to allow identification of appropriate Create
actions for WTD-922.
2015-03-17 18:00:25 -07:00
Victor Woeltjen
b073e3d553
[Create] Restrict Create to certain types
...
Restrict the Create action to types with a 'creation' feature;
WTD-705.
2015-01-21 16:16:59 -08:00
Victor Woeltjen
61cee6d8f8
[Forms] Change CreateWizard method name
...
Change CreateWizard method name to be consistent
with terms used for form structure elsewhere.
WTD-593.
2014-12-03 17:00:22 -08:00
Victor Woeltjen
2476941eb2
[Forms] Add Locator control
...
Add Locator form control, to allow selection of a
destination for newly-created domain objects in a
tree. WTD-593.
2014-12-03 13:51:07 -08:00
Victor Woeltjen
9dd0a54568
[Forms] Initialize model from form value
...
Correctly initialize domain object model from form
value upon domain object creation. Integration of
forms component, WTD-593.
2014-12-03 13:44:27 -08:00
Victor Woeltjen
ccdd1bcd57
[Forms] Adjust Create form formats
...
Adjust formats used in Create forms to match those used
by the mct-form directive. Integration of forms bundle,
WTD-593.
2014-12-03 12:52:51 -08:00
Victor Woeltjen
36fab50825
[Common UI] Add in-line docs for Browse
...
Add in-line docs for bundle platform/commonUI/browse,
which implements Browse mode, one of the common user
interface bundles being transitioned in WTD-574.
2014-11-25 16:53:22 -08:00
Victor Woeltjen
b97e2d0324
[Common UI] Add JSDoc, remove UUIDService
...
Add JSDoc to Create-related classes and remove the
UUIDService (replaced by third-party lib) to reduce
amount of code to cover and prepare for code review,
as part of ongoing transition of common user interface
elements, WTD-574.
2014-11-25 16:14:09 -08:00
Victor Woeltjen
845c1ad7d7
[Common UI] Add JSDoc for CreateMenuController
...
Add JSDoc and clarifying comments to the CreateMenuController,
which is responsible for maintaining an up-to-date set of
Create actions for a given domain object. WTD-574.
2014-11-24 07:20:49 -08:00
Victor Woeltjen
6e9d6e2199
[Common UI] Remove CreateButtonController
...
Remove CreateButtonController; this has been generalized to
ClickAwayController in the platform/commonUI/general bundle.
WTD-574.
2014-11-24 07:19:40 -08:00
Victor Woeltjen
078d63de36
[Common UI] Add JSDoc
...
Add JSDoc to classes from commonUI bundles. WTD-574.
2014-11-23 18:03:48 -08:00
Victor Woeltjen
1b0303e517
[Common UI] Initial commonUI bundles
...
Bring in work on general-purpose and over-arching
user interface bundles from the sandbox transition
branch. WTD-574.
2014-11-23 15:41:20 -08:00