Creating/Extending modules

6 views
Skip to first unread message

vieira

unread,
Aug 2, 2010, 10:04:27 AM8/2/10
to jmatter
Hi, has anyone had the experience of creating a new module, or
extending an existing one (in this case, the swingvm)?

For example, if we wanted to change some of the base view components,
such has menu, class bar, calendar, etc... we could change swingvm,
but it's not a good option. How can swingvm be extended (without
creating a new module by copy&paste and change it) and how can we use
this new created module?

Thanks,
Carlos V.

Eitan Suez

unread,
Aug 2, 2010, 2:59:02 PM8/2/10
to jma...@googlegroups.com
there's a notion of a view mechanism (see the interface by
the same name). SwingViewMechanism
is one implementation. implementations of the ViewMechanism
interface are essentially a registry of what components are used
for different parts of the user interface (object views, list views,
atomic editors, renderers, etc..). what view mechanism is in
play for a specific app can be altered by revising the
spring bean defined in src/applicationContext.xml with the id of
"view-mechanism."

/ eitan

> --
> You received this message because you are subscribed to the Google Groups "jmatter" group.
> To post to this group, send email to jma...@googlegroups.com.
> To unsubscribe from this group, send email to jmatter+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/jmatter?hl=en.
>
>

Carlos Vieira

unread,
Aug 4, 2010, 6:27:23 AM8/4/10
to jma...@googlegroups.com
Hi Eitan... many thanks!

Now it's pretty much clear the great modularity and extensibility of the framework ;)

Regards,
Carlos V.

Eitan Suez

unread,
Aug 4, 2010, 7:42:04 AM8/4/10
to jma...@googlegroups.com
On Wed, Aug 4, 2010 at 5:27 AM, Carlos Vieira <carlos...@gmail.com> wrote:
> Hi Eitan... many thanks!
>
you're welcome.

> Now it's pretty much clear the great modularity and extensibility of the
> framework ;)
>

i wouldn't go that far. :-) but i did try to make the system somewhat
modular.

thanks,
/ eitan

Reply all
Reply to author
Forward
0 new messages