[ 
https://issues.apache.org/jira/browse/ISIS-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13758986#comment-13758986
 ] 

ASF subversion and git services commented on ISIS-503:
------------------------------------------------------

Commit c009dec571e84de2ea304807d43558ec08212111 in branch refs/heads/master 
from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=c009dec ]

ISIS-503: can now order contributed members

* FacetProcessor extended to be able to request sorting on an individual object 
member
  * introduced new MemberOrderingFacetFactory interface to identify the facet 
factories that do this work
* ObjectSpecDefault/Abstract now call the FacetProcessor whenever the 
contributed actions/associations are computed
* ObjectActionContributee, OneToOneAssociationContributee and 
OneToManyAssociationContributee now have their own copy of FacetHolderImpl 
(initialized with the facets from the underlying contributed action), so that 
can sort them without side-effects
* fixed bug such that contributed actions that are associated to contributed 
associations are also suppressed from the header

Also:
* ObjectAction.isAlwaysHidden redefined, only true if never visible anywhere 
and always

And also:
* renamed ObjectAssociationFilters -> ObjectAssociation.Filters
* renamed ObjectActionFilters -> ObjectAction.Filters
* renamed ObjectActionParameterFilters -> ObjectActionParameter.Filters

And also:
* enhanced ToDoItem to demonstrate this capability
* ToDoItemContributions#next and ToDoItemContributions#previous added

                
> Refactor the way that members are ordered to allow contributee actions to be 
> ordered within regular actions 
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-503
>                 URL: https://issues.apache.org/jira/browse/ISIS-503
>             Project: Isis
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: core-1.2.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>             Fix For: core-1.3.0
>
>
> Currently ordering is done on FacetedMethods, and contributee actions are 
> grafted onto the end.  Also complicating matters is the ObjectActionSet, 
> which groups contributee actions according to the service that contributed 
> them.
> First change is to remove ObjectActionSet, and have everything flattened.  
> Second change is to rework MemberLayoutArranger such that it acts upon 
> ObjectMembers rather than FacetedMethods.
> At same time, suggest retire the old "actionOrder()" supporting method.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to