As CET progresses through time, there were a lot of design differences that have been implemented along the way. One of such, is good old the Property Box.
Currently, we are trying the best we can to unify the looks of how our property boxes, to give a sense of harmony throughout all User Interfaces in CET.
Old Property Box | Old Catalog Property Box | New Property Box |
Old Property Box
For the most part, the Old Property Box has been automatically switched into using the New Property Box since CET 9.0.
All G1 and G2 Properties have been automatically migrated into using the New Property Box since CET 9.0.
Old Catalog Property Box
But how about the Old Catalog Property Box? As the name suggests, this is a special property box made for Data Symbols created from Catalog Creator in it's early days.
There are some cases where Extensions are still using this UI, and might want to migrate but don't know how. We'll layout the differences between the two, and give a simple guide migrating from the Old Catalog Property Box into the New Property Box.
Old Catalog Property Box vs New Property Box
Features | Old Catalog Property Box | New Property Box |
Movable | ✔ | ✔ |
Minimize property box | ✔ | ✔ |
Collapsible Feature Groups | ✔ | ✖ |
Transparent when moving | ✖ | ✔ |
Resizable | Only Width Resizable |
Not Resizable |
Docking (Automatically move to stay nearby its Snapper.) |
On New Insert | Able to dock, undock at any time. |
User Interface | Old Catalog Property Box | New Property Box |
Animation Properties(AP) Text Alignment | Left | Right |
Quick Properties(QP) Text Alignment | Left | Left |
Text fields | White | Green when unselected, White when selected |
Dock toggle icon | (Only for undock) |
|
Edges | Hard L | Slightly Rounded |
How to Migrate:
Old Catalog Property Box 🠖 New Property Box
The general idea of the migration is to:
- In the Extension's
DsPDataProxy
implementation class, remove all methods usingDsSideBarProperty
class. - Fix compile errors and move all changes in related Property methods.
E.g. If there are implementations about a Property visibility related toDsSideBarProperty
, you can migrate into using visibility methods inDsPDataProxy
class instead likevisibleInFactory()
. - Make sure to override
usingG2()
in yourDsPDataProxy
implementation to return true. - After code migration, test for compilation errors, and test if properties remained unchanged from a user perspective.
DsSideBarProperty
and it's migration, do reach out to Developer Support for further guidance.
Comments
0 comments
Please sign in to leave a comment.