You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2017/10/03 14:56:41 UTC

[isis] branch dev/2.0.0/ISIS-1742-remove-deprecations updated: ISIS-1742: removes @DescribedAs from .adoc's

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch dev/2.0.0/ISIS-1742-remove-deprecations
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/dev/2.0.0/ISIS-1742-remove-deprecations by this push:
     new ec9d46b  ISIS-1742: removes @DescribedAs from .adoc's
ec9d46b is described below

commit ec9d46bf4ebabd4e014d827e15c7ea996ded6fe7
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Tue Oct 3 15:56:34 2017 +0100

    ISIS-1742: removes @DescribedAs from .adoc's
---
 .../guides/rgant/_rgant-DomainObjectLayout_describedAs.adoc         | 2 +-
 .../asciidoc/guides/rgant/_rgant-ParameterLayout_describedAs.adoc   | 6 ++----
 .../asciidoc/guides/rgant/_rgant-PropertyLayout_describedAs.adoc    | 2 +-
 .../src/main/asciidoc/guides/rgant/_rgant_aaa_deprecated.adoc       | 5 -----
 4 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-DomainObjectLayout_describedAs.adoc b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-DomainObjectLayout_describedAs.adoc
index 23c1650..ac6b00a 100644
--- a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-DomainObjectLayout_describedAs.adoc
+++ b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-DomainObjectLayout_describedAs.adoc
@@ -11,7 +11,7 @@ For example:
 
 [source,java]
 ----
-@DescribedAs("A customer who may have originally become known to us via " +
+@DomainObjectLayout(describedAs="A customer who may have originally become known to us via " +
              "the marketing system or who may have contacted us directly.")
 public class ProspectiveSale {
    ...
diff --git a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-ParameterLayout_describedAs.adoc b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-ParameterLayout_describedAs.adoc
index a25df4a..5ec651e 100644
--- a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-ParameterLayout_describedAs.adoc
+++ b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-ParameterLayout_describedAs.adoc
@@ -9,12 +9,10 @@ The `describedAs()` attribute is used to provide a short description of the acti
 
 Descriptions may be provided for objects, members (properties,
 collections and actions), and for individual parameters within an action
-method. `@DescribedAs` therefore works in a very similar manner to
-`@Named` <!--(see ?)-->.
-
+method.
 
 To provide a description for an individual action parameter, use the
-`@DescribedAs` annotation in-line i.e. immediately before the parameter
+`describedAs` attribute in-line i.e. immediately before the parameter
 declaration.
 
 For example:
diff --git a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-PropertyLayout_describedAs.adoc b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-PropertyLayout_describedAs.adoc
index 410f7ea..1e65f56 100644
--- a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-PropertyLayout_describedAs.adoc
+++ b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant-PropertyLayout_describedAs.adoc
@@ -13,7 +13,7 @@ For example:
 [source,java]
 ----
 public class Customer {
-    @DescribedAs("The name that the customer has indicated that they wish to be " +
+    @PropertyLayout(describedAs="The name that the customer has indicated that they wish to be " +
                  "addressed as (e.g. Johnny rather than Jonathan)")
     public String getFirstName() { ... }
 }
diff --git a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant_aaa_deprecated.adoc b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant_aaa_deprecated.adoc
index 73825d8..fdcecfc 100644
--- a/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant_aaa_deprecated.adoc
+++ b/adocs/documentation/src/main/asciidoc/guides/rgant/_rgant_aaa_deprecated.adoc
@@ -67,11 +67,6 @@ The annotations listed in the table below are still supported by Apache Isis, bu
 |UI
 |
 
-|`@DescribedAs`
-|Provide a longer description/tool-tip of an object or object member.
-|`#describedAs()` attribute for xref:../rgant/rgant.adoc#_rgant-DomainObject_describedAs[`@DomainObjectLayout`], xref:../rgant/rgant.adoc#_rgant-PropertyLayout_describedAs[`@PropertyLayout`], xref:../rgant/rgant.adoc#_rgant-CollectionLayout_describedAs[`@CollectionLayout`], xref:../rgant/rgant.adoc#_rgant-ActionLayout_describedAs[`@ActionLayout`] and xref:../rgant/rgant.adoc#_rgant-ParameterLayout_describedAs[`@ParameterLayout`]
-|UI
-|Yes
 
 |`@Disabled`
 |Object property cannot be edited, an object collection cannot be added to/removed from, or an object action cannot be invoked.

-- 
To stop receiving notification emails like this one, please contact
['"commits@isis.apache.org" <co...@isis.apache.org>'].