Skip to content

Commit

Permalink
Enabling ElementChangedListener when an Eclipse refactoring is undone.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Oct 11, 2019
1 parent 20efaaf commit 3277140
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: JDeodorant Plug-in
Bundle-SymbolicName: gr.uom.java.jdeodorant; singleton:=true
Bundle-Version: 5.0.70
Bundle-Version: 5.0.71
Bundle-Activator: gr.uom.java.jdeodorant.refactoring.Activator
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ else if(delta.getKind() == IJavaElementDelta.REMOVED) {
CompilationUnitCache.getInstance().compilationUnitRemoved(compilationUnit);
}
else if(delta.getKind() == IJavaElementDelta.CHANGED) {
if((delta.getFlags() & IJavaElementDelta.F_FINE_GRAINED) != 0) {
if((delta.getFlags() & IJavaElementDelta.F_FINE_GRAINED) != 0 ||
(delta.getFlags() & IJavaElementDelta.F_PRIMARY_RESOURCE) != 0) {
CompilationUnitCache.getInstance().compilationUnitChanged(compilationUnit);
}
}
Expand Down

0 comments on commit 3277140

Please sign in to comment.