Skip to content

mkarneim/beanfabrics

Repository files navigation

Beanfabrics

A Presentation Model Component Framework for Java Desktop Applications

Author: Michael Karneim

Project Homepage: https://github.com/mkarneim/beanfabrics

About

Beanfabrics is a presentation model component framework for building rich clients and desktop applications with Java Swing or SWT. The Beanfabrics framework is free and open source software.

The term presentation model (PM) is the name of a pattern that was introduced by Martin Fowler in 2004. According to Fowler the PM

"represents the state and behavior of the presentation independently of the GUI controls used in the interface".

Documentation

Features

Beanfabrics provides

  • a set of ready-to-use PM components.
  • a set of ready-to-use visual presentation view components.

Beanfabrics

  • has a mechanism for binding visual components dynamically to specific nodes of the PM.
  • is compliant with the JavaBeans specification and supports bean customization within GUI builders like WindowBuilder.
  • is a framework to create custom PM and view components.

License

Beanfabrics is open source, and it is distributed under the terms of the LGPL license.

For more information please read the license file.

Maven Coordinates

Beanfabrics binaries are available at Sonatype OSS Maven Repository and Maven Central. The releases page contains a list of all stable releases with a change log.

Beanfabrics for Swing

<dependency>
    <groupId>org.beanfabrics</groupId>
    <artifactId>beanfabrics-swing</artifactId>
    <version>1.4.3</version>
</dependency>

Beanfabrics for SWT

<dependency>
    <groupId>org.beanfabrics</groupId>
    <artifactId>beanfabrics-swt</artifactId>
    <version>1.4.3</version>
</dependency>

Dependencies

Beanfabrics has only minimal dependencies.

Beanfabrics Eclipse Plugin

The Eclipse pluing provides a Bindable Component Wizard for creating a custom View component for a given PM component.

It can be downloaded and installed with the Update Manager inside Eclipse. The update site is at https://storage.googleapis.com/beanfabrics-updatesite/site.xml

How to Build

Beanfabrics can be built with Gradle.

Please make sure to set the Java Home property in gradle.properties to JDK 1.6, since Beanfabrics must not be compiled against JDK 1.7 libraries (rt.jar) in order to ensure backward compatibility to Java 6.

To build Beanfabrics, open your terminal app, change into the beanfabrics directory and run:

./gradlew build (on linux / osx)

or

gradlew.bat build (on windows)

About

A Presentation Model Component Framework for Java Desktop Applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages