Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.model
Class BinaryFilePresentation

java.lang.Object
  extended byorg.eclipse.cdt.core.model.BinaryFilePresentation

public abstract class BinaryFilePresentation
extends Object

Allows to configure the presentation of binaries.

Clients may create subclasses.

Since:
4.0.1.

Field Summary
protected  IBinaryFile fBinaryFile
           
 
Constructor Summary
BinaryFilePresentation(IBinaryFile binFile)
          Constructs the presentation object for a binary file.
 
Method Summary
 boolean showInBinaryContainer()
          Determines whether a binary is to be shown as part of the binary container.
static boolean showInBinaryContainer(IBinaryFile bin)
          Default implementation for showing binaries as part of the binary container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fBinaryFile

protected final IBinaryFile fBinaryFile
Constructor Detail

BinaryFilePresentation

public BinaryFilePresentation(IBinaryFile binFile)
Constructs the presentation object for a binary file.

Method Detail

showInBinaryContainer

public static boolean showInBinaryContainer(IBinaryFile bin)
Default implementation for showing binaries as part of the binary container. It is used whenever a IBinaryFile is not adaptable to BinaryFilePresentation.


showInBinaryContainer

public boolean showInBinaryContainer()
Determines whether a binary is to be shown as part of the binary container. The default implementation returns true for executables and dynamic libraries.


Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.