1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 14:55:41 +02:00

fixed error tick updating

This commit is contained in:
David Inglis 2005-03-18 19:16:42 +00:00
parent 1575e7878e
commit 0629cdbc41
2 changed files with 16 additions and 7 deletions

View file

@ -1,3 +1,9 @@
2005-03-18 David Inglis
Fixed problem with error tick in CView not updateing properly.
* src/org/eclipse/cdt/internal/ui/util/ProblemTreeViewer.java
2005-03-13 Bogdan Gheorghe
New UI items to support index framework

View file

@ -56,7 +56,9 @@ public class ProblemTreeViewer extends TreeViewer {
}
protected void doUpdateItem(Item item) {
doUpdateItem(item, item.getData(), true);
}
/*
* @see StructuredViewer#mapElement(Object, Widget)
*/
@ -114,17 +116,18 @@ public class ProblemTreeViewer extends TreeViewer {
return;
}
/**
* @see org.eclipse.jface.viewers.StructuredViewer#update(java.lang.Object, java.lang.String[])
*/
public void update(Object element, String[] properties)
{
// /**
// * @see org.eclipse.jface.viewers.StructuredViewer#update(java.lang.Object, java.lang.String[])
// */
// public void update(Object element, String[] properties)
// {
/* Calling StructuredViewer.update() causes
* RunnableLock deadlock with StructuredViewer.doInternalUpdate()
* when long h file (with lots of declarations) is edited.
* This is only workaround, it only protects against
* deadlock but may cause other problems. */
}
// }
// Yeah, and the problem tree no longer updates after a schecdule decoration job!!!!
/* (non-Javadoc)
* @see org.eclipse.jface.viewers.AbstractTreeViewer#isExpandable(java.lang.Object)