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:
parent
1575e7878e
commit
0629cdbc41
2 changed files with 16 additions and 7 deletions
|
@ -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
|
2005-03-13 Bogdan Gheorghe
|
||||||
New UI items to support index framework
|
New UI items to support index framework
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,9 @@ public class ProblemTreeViewer extends TreeViewer {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
protected void doUpdateItem(Item item) {
|
||||||
|
doUpdateItem(item, item.getData(), true);
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* @see StructuredViewer#mapElement(Object, Widget)
|
* @see StructuredViewer#mapElement(Object, Widget)
|
||||||
*/
|
*/
|
||||||
|
@ -114,17 +116,18 @@ public class ProblemTreeViewer extends TreeViewer {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* @see org.eclipse.jface.viewers.StructuredViewer#update(java.lang.Object, java.lang.String[])
|
// * @see org.eclipse.jface.viewers.StructuredViewer#update(java.lang.Object, java.lang.String[])
|
||||||
*/
|
// */
|
||||||
public void update(Object element, String[] properties)
|
// public void update(Object element, String[] properties)
|
||||||
{
|
// {
|
||||||
/* Calling StructuredViewer.update() causes
|
/* Calling StructuredViewer.update() causes
|
||||||
* RunnableLock deadlock with StructuredViewer.doInternalUpdate()
|
* RunnableLock deadlock with StructuredViewer.doInternalUpdate()
|
||||||
* when long h file (with lots of declarations) is edited.
|
* when long h file (with lots of declarations) is edited.
|
||||||
* This is only workaround, it only protects against
|
* This is only workaround, it only protects against
|
||||||
* deadlock but may cause other problems. */
|
* deadlock but may cause other problems. */
|
||||||
}
|
// }
|
||||||
|
// Yeah, and the problem tree no longer updates after a schecdule decoration job!!!!
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.jface.viewers.AbstractTreeViewer#isExpandable(java.lang.Object)
|
* @see org.eclipse.jface.viewers.AbstractTreeViewer#isExpandable(java.lang.Object)
|
||||||
|
|
Loading…
Add table
Reference in a new issue