General information
Category:
Object Oriented Programming
Title:
Design Pattern question (in hindsight)
I have a search and replace wizard class library that comprises several classes and subclasses. It's an old (and working) routine. Now, I'm trying to model it (yeah, yeah, I know :), and am driving myself nuts trying to identify what patterns things *might* be.
For example: I have a container superclass that I subclass into containers for each wizard step. I add the controls for each step to the container subclass. (I then have a pageframe class that subclasses the step containers.) In this case the container superclass just sets the layout information. I don't add any custom properties or methods. Is this an example (even if a bad one) of a Facade structural pattern? I looked at Template, but to me it's not a behavioral pattern.
Another example: I have a listbox subclass that adds a custom property called "PopulateList". This subclass calls PopulateList in the Init, but it doesn't code the Populate list. I let subclasses control that. Is this an example of a Template Method design pattern?
TIA for comments (and patience :)
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only