When a class defines a custom constructor with arguments it will be
impossible to right-click on the window and choose the class leading to a
valid instance. The reason is that a 'default' constructor is missing. Thus
another custom constructor without arguments is registered in the
REALmethodDefinition and everything is fine under this particular condition.
One caveat is that a user can call MyClass = new Class1, but this leads to
an instance that won't work. He/she should use the constructor that takes
arguments.
Is there a way to declare a constructor in the plugin that is protected or
private?
Alfred
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|