aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes AbstractAction = Command Pattern? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "AbstractAction = Command Pattern?" Watch "AbstractAction = Command Pattern?" New topic
Author

AbstractAction = Command Pattern?

Lance Finney
Ranch Hand

Joined: Apr 26, 2001
Posts: 133
I'm using subclasses of AbstractAction for my buttons and menuItems, and I was thinking about switching to the Command Pattern. However, the more I think about it, the more I wonder if I already have the Command pattern using my approach.
Essentially, AbstractAction serves the purpose of Command, and ActionPerformed served the purpose of execute().
Does this seems right?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AbstractAction = Command Pattern?