Jump to: navigation, search

Difference between revisions of "Platform UI/33 Features"

(New page: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>3.3 Features Overview</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> ...)
 
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+
{{Platform UI}}
<html>
+
<head>
+
<title>3.3 Features Overview</title>
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+
</head>
+
 
+
<body>
+
 
<h1>3.3 UI Features Overview </h1>
 
<h1>3.3 UI Features Overview </h1>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
<p>Vista</p>
+
<p><h2>Vista</h2></p>
<img src="vistashot.jpg" alt="Vista screenshot" >
+
[[Image:vistashot.jpg]]
  
 
<ul>
 
<ul>
Line 17: Line 10:
 
</ul>
 
</ul>
  
<p>New colours </p>
+
<p><h2>New colours</h2> </p>
 
<ul>
 
<ul>
 
   <li>Did a refresh in 3.3</li>
 
   <li>Did a refresh in 3.3</li>
Line 24: Line 17:
 
   <li>Reduced palette theme enhanced to deal with accessibility issues</li>
 
   <li>Reduced palette theme enhanced to deal with accessibility issues</li>
 
</ul>
 
</ul>
<p>Column Based Viewers</p>
+
<p><h2>Column Based Viewers</h2></p>
 
<ul>
 
<ul>
 
   <li>Tree and Table viewers support this</li>
 
   <li>Tree and Table viewers support this</li>
Line 35: Line 28:
 
   <li> No broken API</li>
 
   <li> No broken API</li>
 
</ul>
 
</ul>
<p>OwnerDraw</p>
+
<p><h2>OwnerDraw</h2></p>
<img src="ownerdraw.jpg" alt="Owner Draw" >
+
[[Image:Ownerdraw.jpg]]
 
<ul>
 
<ul>
 
   <li> Can now treat a cell like a GC</li>
 
   <li> Can now treat a cell like a GC</li>
 
   <li> Required a viewer that can look at a cell</li>
 
   <li> Required a viewer that can look at a cell</li>
 
</ul>
 
</ul>
<p>CellEditors</p>
+
<p><h2>CellEditors</h2></p>
 
<ul>
 
<ul>
 
   <li> Simplifies cell editing</li>
 
   <li> Simplifies cell editing</li>
Line 50: Line 43:
 
   <li></li>
 
   <li></li>
 
</ul>
 
</ul>
<p>Databindings</p>
+
<p><h2>Databindings</h2></p>
 
<ul>
 
<ul>
 
   <li>API no longer provisional in 3.3</li>
 
   <li>API no longer provisional in 3.3</li>
Line 59: Line 52:
 
   <li> Also handles conversion of data types and validation</li>
 
   <li> Also handles conversion of data types and validation</li>
 
</ul>
 
</ul>
<p>Menus</p>
+
<p><h2>Menus</h2></p>
 
<ul>
 
<ul>
 
   <li> Actions were limited as to how you could add them</li>
 
   <li> Actions were limited as to how you could add them</li>
Line 69: Line 62:
 
     your entry to</li>
 
     your entry to</li>
 
</ul>
 
</ul>
<p>Custom Splash</p>
+
<p><h2>Custom Splash</h2></p>
<img src="customsplash.jpg" alt="Custom Splash" >
+
[[Image:customsplash.jpg]]
 
<ul>
 
<ul>
 
   <li> Before 3.3 splash was a custom SWT application and not extensible except  
 
   <li> Before 3.3 splash was a custom SWT application and not extensible except  
Line 79: Line 72:
 
   <li> Remember there is no workbench yet so stay in SWT code</li>
 
   <li> Remember there is no workbench yet so stay in SWT code</li>
 
</ul>
 
</ul>
<p>ErrorHandling</p>
+
<p><h2>ErrorHandling</h2></p>
 
<ul>
 
<ul>
 
   <li> Constant error dialogs are annoying if it is an unexpected error that occurs  
 
   <li> Constant error dialogs are annoying if it is an unexpected error that occurs  
Line 88: Line 81:
 
   <li> We are going to handle errors in a non-intrusive way</li>
 
   <li> We are going to handle errors in a non-intrusive way</li>
 
</ul>
 
</ul>
<p>SWT System Tray &#8211;</p>
+
<p><h2>SWT System Tray</h2></p>
 
+
[[Image:tray.jpg]]
<img src="tray.jpg" alt="System Tray" >
+
 
<ul>
 
<ul>
 
   <li> Can now link into the OS system tray</li>
 
   <li> Can now link into the OS system tray</li>
Line 97: Line 89:
 
<p><br>
 
<p><br>
 
</p>
 
</p>
</body>
+
 
</html>
+
<h2>Min/Max</h2>
 +
[[Image:Minmax.jpg]]
 +
<ul>
 +
  <li> Min/max now uses the trim area to move views to the trim area</li>
 +
  <li> Stacks are now moved as groups</li>
 +
</ul>
 +
<p><br>
 +
</p>
 +
[[Category:Platform UI]]

Latest revision as of 13:54, 13 September 2007

3.3 UI Features Overview

 

Vista

Vistashot.jpg

  • Supported in 3.2.2 and M5
  • Working on it full time now

New colours

  • Did a refresh in 3.3
  • Do more blending of the selection colour
  • All text is black where possible
  • Reduced palette theme enhanced to deal with accessibility issues

Column Based Viewers

  • Tree and Table viewers support this
  • Removed the need for keeping track of indices all of the time
  • Allows you to update based on the cell
  • Opens up label providers
  • Had 6 interfaces to choose from in 3.2 – don’t want to add more
  • Still support the old ones
  • No broken API

OwnerDraw

Ownerdraw.jpg

  • Can now treat a cell like a GC
  • Required a viewer that can look at a cell

CellEditors

  • Simplifies cell editing
  • More fine grained than the CellEditor
  • Can implement it on a per column basis
  • A CellEditor applied to the entire Viewer
  • Use EditingSupport instead of ICellModifier (new in 3.3).

Databindings

  • API no longer provisional in 3.3
  • Listeners are an overly complex way for widgets to interact
  • Databindings are a way to connect widgets and model objects
  • Reduces the amount of code required to synchronize data from the widget to the model and vice versa
  • Also handles conversion of data types and validation

Menus

  • Actions were limited as to how you could add them
  • The additions path was the only place to add an action
  • Could not place a new entry anywhere you wanted
  • Menus define the commands that will show up in them
  • Menus allow you to do much more powerful enablement
  • Everything is declarative so you can access the location you want to add your entry to

Custom Splash

Customsplash.jpg

  • Before 3.3 splash was a custom SWT application and not extensible except for the image
  • Now we have org.eclipse.ui.splashhandler
  • You are given a Shell to fill in whatever you like
  • Your custom splash only appears when it is bound to your product id
  • Remember there is no workbench yet so stay in SWT code

ErrorHandling

  • Constant error dialogs are annoying if it is an unexpected error that occurs frequently
  • To handle more eloquently use StatusManager in org.eclipse.ui.workbench
  • You can implement your own status handler using the org.eclipse.ui.statushandlers extension point
  • We are going to handle errors in a non-intrusive way

SWT System Tray

Tray.jpg

  • Can now link into the OS system tray
  • We set our own tray icon in the advisor


Min/Max

Minmax.jpg

  • Min/max now uses the trim area to move views to the trim area
  • Stacks are now moved as groups