Portal > Foren > Offtopic > Projekte unserer Mitglieder > PgsBindings 0.1 - easily bind swing components to a properties-file
Antwort
 
Themen-Optionen
Alt 18.02.2005, 22:59 Nach oben    #1
Projektleiter
 
Registriert seit: 30.11.2005
Ort: Bottrop
Beiträge: 1.110
Standard PgsBindings 0.1 - easily bind swing components to a properties-file

Sorry, ich bin etwas zu faul, um die Ankündigung, die ich gerade auf Javalobby veröffentlicht habe zu übersetzen, deswegen hier der englische Text:

Zitat:
This is a very small libary I create some time ago. I eventually decided to release it under the Apache License 2.0.
Its main features include:
* ease of use
* binding for most components (that might be used in configuration-dialogs)
* validation-support
* very small size (just ~11kb)

It is not supposed to be as huge as other products in this space, however it is supposed to be extremly easy to use, being extremly extensible and powerfull.

You might use it for configuration-dialogs or other things (for example there is an example of how to create a Mapper that stores the size of a JFrame).

The download contains a PDF-document explaining the usage of PgsBindings as the website is currently only available in german.

Download is available at
http://www.pagosoft.com/downloads/bindings.zip

Try it and tell me what you think.


Patrick Gotthardt
Sowohl Anleitung als auch Dokumentation sind englisch, also sollte das wohl egal sein, oder?
__________________
Patrick Gotthardts Weblog.
pago ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 10:48 Nach oben    #2
Erfahrener Benutzer
 
Benutzerbild von Gottzilla
 
Registriert seit: 02.02.2005
Beiträge: 523
Standard

Sorry, aber bei mir funzt des Ding net so ganz :confused:
Gottzilla ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 12:45 Nach oben    #3
Projektleiter
 
Registriert seit: 30.11.2005
Ort: Bottrop
Beiträge: 1.110
Standard

Fehlermeldung? Beschreibung dafür, was du unter "funzt nicht" verstehst?

Das "Ding" speichert die Properties nicht, wenn du save aufrufst. Es überträgt nur die Daten aus den Komponenten in die Map.
Die Properties musst du selbst in einer Datei speichern.


Anmerkung: Ich arbeite gerade an einem neuen release... nach einem Wunsch auf Javalobby habe ich zwei kleine Utility-Klassen erstellt, die das ganze auch Bean-Kompatibel machen, d.h. statt einer Map kann eine beliebige Klasse übergeben werden (Anmerkung: Eigentlich wird das Objekt von einer Map "gewrapt").
__________________
Patrick Gotthardts Weblog.
pago ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 12:48 Nach oben    #4
Erfahrener Benutzer
 
Benutzerbild von Gottzilla
 
Registriert seit: 02.02.2005
Beiträge: 523
Standard

Nö, funzt gar nix! Kann die Jar nicht mal starten! Könnt aber auch an meinem PC liegen :rolleyes:
Gottzilla ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 13:24 Nach oben    #5
Erfahrener Benutzer
 
Benutzerbild von peschmae
 
Registriert seit: 29.05.2004
Beiträge: 228
Standard

Ich habs nicht angeguckt aber ich nehme mal an das ist eine Bibliothek und kein Programm. Also nix Jar starten.

MfG Peschmä
__________________
Amazon.de | The Java Trap | Freie Software | Freie Software vs. Open Source | GNU Classpath | GCJ | SableVM
"We should forget about small efficiencies, say about 97% of the time: Premature optimization is the root of all evil." - Donald Knuth
peschmae ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 13:34 Nach oben    #6
Projektleiter
 
Registriert seit: 30.11.2005
Ort: Bottrop
Beiträge: 1.110
Standard

Richtig. Da gibt es nichts zum starten.

Es ist eine Bibliothek, die das arbeiten erleichtern soll. Wie genau steht a) in der Ankündigung und b) in der beiliegenden PDF-Datei.
__________________
Patrick Gotthardts Weblog.
pago ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 13:40 Nach oben    #7
Erfahrener Benutzer
 
Benutzerbild von Gottzilla
 
Registriert seit: 02.02.2005
Beiträge: 523
Standard

Oh, Sorry! Mein Englisch ist net so ganz perfekt (muss ich wohl überlesen haben).
Gottzilla ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 19.02.2005, 13:53 Nach oben    #8
Projektleiter
 
Registriert seit: 30.11.2005
Ort: Bottrop
Beiträge: 1.110
Standard

Macht ja nix.


Die neue Version ist nun übrigens draußen.
Unterstützt werden nun auch Beans anstelle von Maps.
__________________
Patrick Gotthardts Weblog.
pago ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 10.03.2005, 21:44 Nach oben    #9
Projektleiter
 
Registriert seit: 30.11.2005
Ort: Bottrop
Beiträge: 1.110
Standard

Und weil ich es so sehr liebe, mich selbst zu zitieren:

Zitat:
This new release contains some bugfixes and enhancements.
Here's the changelog:
* Enhanced bean-support by using BeanProperties from Glazed Lists (thanks to Andrea Aime)
** You can now use deeper nested Beans like myObjectShare.getBeanA().getBeanB().getProperty()
which would be "beanA.beanB.property" if myObjectShare is put into an BeanMap.
* Fixed a bug in DefaultSwingValidationResultList - it just returned all components when asked for the failed ones
* Included two expensive examples (one using a Properties-object as destination, one using a Bean) - Note: You will need to download our PgsLayout-Libary (containing EGBConstraints) to run the demos. It is available here .
* Added an ant-script for easier building
Damit der Hobbit nicht übersetzen muss: Ich hab extra für dich ne Demo gebastelt.

Einfach sowas wie
Code:
ant compile  (zum kompilieren)
ant demo-simple  (für die Properties-Demo)
ant demo-bean  (für die Bean-Demo)
Per Kommandozeile verwenden (nicht vergessen, die zusätzliche Bibliothek downzuloaden).
__________________
Patrick Gotthardts Weblog.
pago ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Alt 13.08.2005, 19:08 Nach oben    #10
Projektleiter
 
Registriert seit: 30.11.2005
Ort: Bottrop
Beiträge: 1.110
Standard

Nach langer Zeit nun ein neues Release:
Zitat:
This release is incompatible with the last one. Its validation-support has been rewritten, improved and moved into a different package.

Changes:
* Again enhanced bean-support. You can now bind a bean to a bean!
* Strong refactoring and enhancements of validation-support
** Included visual feedback for validation
** Introduction of ValidationEvents and ValidationListeners
* LiveBinding - the map/bean will be updated on every change of the component
* Rewrite of the developers guide

I'm open to comments, suggestions and requests - like always.
__________________
Patrick Gotthardts Weblog.
pago ist offline  
Add Post to del.icio.usBookmark Post in TechnoratiDiesen Beitrag zu Mister Wong hinzufügen!
Mit Zitat antworten
Antwort

Lesezeichen


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:52 Uhr.


Powered by vBulletin® Version 3.7.3 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44