Commits

Colin Gordon committed e90f9e5

8

Comments (0)

Files changed (3)

logviewer/de.anbos.eclipse.logviewer.plugin/src/de/anbos/eclipse/logviewer/plugin/preferences/LogViewerPreferences.java

     private Button showWhenUpdated;
     private Button showTopOfFile;
 	
-	private IPropertyChangeListener validityChangeListener;
+	private @UI IPropertyChangeListener validityChangeListener;
     
 	// Public ------------------------------------------------------------------
 	
 	 * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
 	 */
 	public void init(IWorkbench workbench) {
-		validityChangeListener = new IPropertyChangeListener() {
+		validityChangeListener = new @UI IPropertyChangeListener() {
 			public void propertyChange(PropertyChangeEvent event) {
 				if (event.getProperty().equals(FieldEditor.IS_VALID)) 
 					updateValidState();

logviewer/de.anbos.eclipse.logviewer.plugin/src/de/anbos/eclipse/logviewer/plugin/preferences/rule/ItemMover.java

  * See the License for the specific language governing permissions
  * and limitations under the License.
  */
-
+import guitypes.checkers.quals.*;
+@UIType
 public class ItemMover implements SelectionListener {
 
 	// Attribute ---------------------------------------------------------------
 +15 (1:45): 35.  Mostly marked a couple safe types and packages.
 +60 (2:45): 20 (plus 2 warnings about redundant annotations because I haven't fixed the postDirectSupertypes() issue yet).  A few stub fixes, largely marking the AbstractViewAction heirarchy as UITypes.  Could probably replace those with a single package annotation.
 +15 (3:00): 10.  Largely marking things like JFaceResources and (shockingly) SWT Font as mostly safe
++15 (3:15): 8.  A UI type, and marking FieldEditor.setPropertyChangeListener as taking a @UI listener