Dop Sun schrieb:
> Thanks for your reply.
>
> Just look the link you are given briefly, UFace is a great idea.
>
> I guess in this forum, there are lot of discussions about what's the
> best widget library to build the application on. Personally, I ever
> used ExtGWT, because my colleagues are using ExtJS in their .NET
> project, and this can provide the similar look & Feel. SmartGWT also
> provides very creative and unique features. But the real problem we
> are facing may be: if we commit to a framework, it's very hard to
> switch to the other one (at least in the same project different
> versions). I'm not go through details about UFace, and I guess it can
> help on this?
>   

Yes it can. You can switch from technology to technology simply by
switching the root-factory.
We are just starting on a GWT port but an example switching between SWT
and QT might make
clear what I mean.

SWT:
public class Launcher {
  public static void main(String[] args) {
    final Display display = new Display();

    Realm.runWithDefault(SWTObservables.getRealm(display), new Runnable() {
      public void run() {
        JFaceFactory factory = new JFaceFactory();
        Workbench workbench = new Workbench(factory);
        workbench.open();

        while( ! workbench.isDisposed() ) {
          if( ! display.readAndDispatch() ) {
            display.sleep();
          }
        }
      }
    });
  }
}

QT:
public class Launcher {
  public static void main(String[] args) {
    QApplication.initialize(new String[0]);
    QApplication.setStyle(new QCleanlooksStyle());
   
    Realm.runWithDefault(QTObservables.getRealm(), new Runnable() {
      public void run() {
        QTFactory factory = new QTFactory();
        Workbench workbench = new Workbench(factory);
        workbench.open();
        QApplication.exec();
      }
    });
  }
}

http://tom-eclipse-dev.blogspot.com/2009/01/getting-started-with-ufacekit-and-qt.html
http://tom-eclipse-dev.blogspot.com/2009/01/pimp-your-application-l-with-ufacekit.html

In theory you could even mix different technologies but always using the
the same Widget-API.

The styling is done using a declarative markup (CSS, ....) so GWT is a
perfect match on this I guess.

Tom

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to