Download presentation
Presentation is loading. Please wait.
Published byMarshall Carpenter Modified over 8 years ago
1
2006-2008 Soyatec http://www.soyatec.com
2
Contents Needs Architecture XAML fundamentals Data Binding Advanced features Style Q&A
3
2006-2008 Soyatec http://www.soyatec.com Domain developer Needs Final User Business Analyst Application designer Visual UI Editor UI Modeler Component developer UI Code Generator Visual UI Editor UI Code Generator Visual UI Editor
4
2006-2008 Soyatec http://www.soyatec.com Needs Tools Visual Editor MDA UI Modeler Advanced UI Resource Editor Agile system
5
2006-2008 Soyatec http://www.soyatec.com Needs Final User Visual UI Editor UI Modeler UI Code Generator Visual UI Editor UI Code Generator Visual UI Editor Component developer Application designer Domain developer Business Analyst
6
2006-2008 Soyatec http://www.soyatec.com Architecture XAML Files Java GUI Ressource Dynamic GUI Event / Action
7
2006-2008 Soyatec http://www.soyatec.com Architecture 1.Meta model 2.Abstract and generic model 3.Programming API 4.Event management 5.Data binding
8
2006-2008 Soyatec http://www.soyatec.com XAML Fundamentals Hello, world! <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Title=“Appearance"> Hello world! Window window = new Window(); Window.setTitle("Appearance"); Button button = new Button(); Button.setFontSize(20); Button.setFontWeights(FontWeights.BOLD); Window.getChildren().add(button); Window.show();
9
2006-2008 Soyatec http://www.soyatec.com XAML Fundamentals Event Handling <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" x:Class="tutorial.event.handling.Handler" Title="Event handling"> Click here! package tutorial.event.handling; import com.soyatec.eface.upf.actions.RoutedEventArgs; public class Handler { public void onClick(Object sender, RoutedEventArgs args) { System.out.println("Hello world!"); }
10
2006-2008 Soyatec http://www.soyatec.com Data Binding Event notification Control event Data event Data context management Data Binding expression Data conversion Data validation Regular expression Customizable error handling Automatic update in two directions Data source object to GUI GUI modification to data source object
11
2006-2008 Soyatec http://www.soyatec.com Data Binding <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Title="Data binding" Width="235" Height="90"> <TextBox Canvas.Top="5" Canvas.Left="70" Width="150" Text="{Binding Path=FirstName}"/> <TextBox Canvas.Top="30" Canvas.Left="70" Width="150" Text="{Binding Path=LastName}"/>
12
2006-2008 Soyatec http://www.soyatec.com Advanced Features Default value resolution – Dependent Property Style Named Style, Style overriding and event triggered Data binding Binding, MultiBinding and PriorityBinding Trigger DataTrigger, EventTrigger and MultiTrigger Template for dynamic GUI Control template and Data template Collection View Sort and filter XAML Editor on top of Eclipse XML editor Eclipse RCP integration
13
2006-2008 Soyatec http://www.soyatec.com Style overriding <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
14
2006-2008 Soyatec http://www.soyatec.com Named Style <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
15
2006-2008 Soyatec http://www.soyatec.com Event triggered Style <Window xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
16
2006-2008 Soyatec http://www.soyatec.com Q&A ?
17
Contacts Yves YANG CEO Tel: +33 (1) 60 13 06 67 Email: yves.yang@soyatec.com http://www.soyatec.com
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.