Index: TODO =================================================================== diff -u -rdf69a2729a1b835c38c170cb7439240089b86c6e -r2488a3699c78579fb1f4f1b4f2a8366946287fe5 --- TODO (.../TODO) (revision df69a2729a1b835c38c170cb7439240089b86c6e) +++ TODO (.../TODO) (revision 2488a3699c78579fb1f4f1b4f2a8366946287fe5) @@ -5329,9 +5329,10 @@ - adapt mixinof.test to the additional information - transform mixinof.test to newer style regression test with automated object deletion +- updated migration guide and tutorial to reflect recent changes + ======================================================================== TODO: -- update migration guide/tutorial - should we change "/obj/ info lookup syntax /methodName/" to return obj and method as well? (similar to "info method syntax /methodName/") Index: doc/next-migration.html =================================================================== diff -u -r3fe3b9ed6500be19a27cbd4a0dd212a47b142194 -r2488a3699c78579fb1f4f1b4f2a8366946287fe5 --- doc/next-migration.html (.../next-migration.html) (revision 3fe3b9ed6500be19a27cbd4a0dd212a47b142194) +++ doc/next-migration.html (.../next-migration.html) (revision 2488a3699c78579fb1f4f1b4f2a8366946287fe5) @@ -1027,7 +1027,7 @@

Total

-

46

+

45

124

@@ -1044,7 +1044,7 @@

Info-methods for Objects

-

12

+

11

25

@@ -3272,8 +3272,9 @@ -

The configure parameters provided by a class for the initialization of -instances can be introspected via /cls/ info configure parameters +

The parameters provided by a class for the initialization of +instances can be introspected via querying the parameters +of the method create: /cls/ info lookup parameters create (see [info_configure_parameter]).

@@ -4644,11 +4645,11 @@

2.6.7. List Configure Parameters

-

Obtain information, how newly created object can be configured. The -configuration of objects is performed in many languages over arguments -to the constructors. NX has - what we think - a superiour approach for -configuration via configure parameters. The configure parameter are -defined by NX application programs usually via property.

+

The way, how newly created objects can be configured is determined in NX +via properties. The configuration happens during creation via the +methods create or new or during runtime via configure. These +methods have therefore virtual argument lists, depending on the object +or class on which they are applied.

-
# Return configure parameter(s), the parameters
-# provided by a class for its instances; these
-# parameters define, how objects of this
+
# Return the parameters applicable to
+# the create method of a certain class.
 # class can be configured. A pattern can
 # be used to filter the results.
 
-/cls/ info configure parameters ?pattern?
+/cls/ info lookup parameters create ?/pattern/?
 
-# Return in the Tcl parameter syntax
+# Return in the result in documentation syntax
 
-/cls/ info configure syntax
+/cls/ info lookup syntax create ?/pattern/?
 
-# "info lookup configure parameters" returns
+# "info lookup parameters configure" returns
 # parameters available for configuring the
 # current object  (might contain object
 # specific information)
 
-/obj/ info lookup configure parameters ?pattern?
+/obj/ info lookup parameters configure ?pattern?
 
-
 # "info lookup configure syntax" returns syntax of
 # a call to configure in the Tcl parameter syntax
 
-/obj/ info lookup configure syntax
-# short form
-/obj/ info configure
+/obj/ info lookup syntax configure
 
 # Obtain information from a parameter
-# (as e.g. returned from "info configure
-# parameters").
+# (as e.g. returned from "info lookup
+# parameters configure").
 
-nsf::parameter::get name /parameter/
-nsf::parameter::get syntax /parameter/
-nsf::parameter::get type /parameter/
+nsf::parameter::info name /parameter/ +nsf::parameter::info syntax /parameter/ +nsf::parameter::info type /parameter/
@@ -5220,7 +5217,8 @@
# List objects, where /cls/ is a
 # per-object mixin
 
-/cls/ info mixinof -scope object ?-closure? ?pattern?
+/cls/ info mixinof -scope object ?-closure? \ + ?pattern?
@@ -5248,7 +5246,8 @@
# List classes, where /cls/ is a per-class mixin
 
-/cls/ info mixinof -scope class ?-closure? ?pattern?
+/cls/ info mixinof -scope class ?-closure? \ + ?pattern?
@@ -5277,7 +5276,8 @@
# List objects and classes, where /cls/ is
 # either a per-object or a per-class mixin
 
-/cls/ info mixinof -scope all ?-closure? ?pattern?
+/cls/ info mixinof -scope all ?-closure? \ + ?pattern?