Copyright (C) 2000, Geert Vernaeve. All Rights Reserved. |
This class describes a Part subclass. |
When set to true, the stack window adds an entry named "New |
This method should generate a new object of the given Part subclass.
Next, it should replace the dummy in the formula
by calling view.getFormula().replace(dummy,xxx)
where xxx is the freshly created object.
If you want, you can then position the cursor at a convenient
place in the formula (e.g. see the Matrix PartDescriptor).
|
A simpler version of generateNew() where we don't need to position the cursor. This is often the case, because after generateNew(), the fresh part's cursor is activated |