mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-29 11:55:40 +02:00
improper indentation
This commit is contained in:
parent
b3e3a91fd6
commit
539ff63173
1 changed files with 6 additions and 4 deletions
|
@ -127,10 +127,12 @@ public class CElementImageProvider {
|
||||||
ImageDescriptor descriptor= null;
|
ImageDescriptor descriptor= null;
|
||||||
if (element instanceof ICElement) {
|
if (element instanceof ICElement) {
|
||||||
if (!CCorePlugin.showSourceRootsAtTopOfProject() &&
|
if (!CCorePlugin.showSourceRootsAtTopOfProject() &&
|
||||||
element instanceof ICContainer && isParentOfSourceRoot(element))
|
element instanceof ICContainer && isParentOfSourceRoot(element)) {
|
||||||
|
|
||||||
descriptor = CPluginImages.DESC_OBJS_SOURCE2_ROOT;
|
descriptor = CPluginImages.DESC_OBJS_SOURCE2_ROOT;
|
||||||
else
|
} else {
|
||||||
descriptor= getCImageDescriptor((ICElement) element, flags);
|
descriptor= getCImageDescriptor((ICElement) element, flags);
|
||||||
|
}
|
||||||
} else if (element instanceof IFile) {
|
} else if (element instanceof IFile) {
|
||||||
// Check for Non Translation Unit.
|
// Check for Non Translation Unit.
|
||||||
IFile file = (IFile)element;
|
IFile file = (IFile)element;
|
||||||
|
@ -146,7 +148,7 @@ public class CElementImageProvider {
|
||||||
descriptor = CPluginImages.DESC_OBJS_TUNIT_RESOURCE;
|
descriptor = CPluginImages.DESC_OBJS_TUNIT_RESOURCE;
|
||||||
|
|
||||||
Point size= useSmallSize(flags) ? SMALL_SIZE : BIG_SIZE;
|
Point size= useSmallSize(flags) ? SMALL_SIZE : BIG_SIZE;
|
||||||
descriptor = new CElementImageDescriptor(descriptor, 0, size);
|
descriptor = new CElementImageDescriptor(descriptor, CElementImageDescriptor.INACTIVE, size);
|
||||||
}
|
}
|
||||||
} else if (!CCorePlugin.showSourceRootsAtTopOfProject() &&
|
} else if (!CCorePlugin.showSourceRootsAtTopOfProject() &&
|
||||||
element instanceof IFolder && isParentOfSourceRoot(element)) {
|
element instanceof IFolder && isParentOfSourceRoot(element)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue