Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.model
Interface ICoreModel

All Known Implementing Classes:
CoreModel

public interface ICoreModel


Method Summary
 void addElementChangedListener(IElementChangedListener listener)
           
 ICElement create(IPath path)
          Creates an ICElement form and IPath.
 ITranslationUnit createTranslationUnitFrom(ICProject cproject, IPath path)
          Creates a translation form and IPath.
 ICModel getCModel()
          Returns the default ICModel.
 IndexManager getIndexManager()
           
 boolean isArchive(IFile file)
          Return true if IFile is an Achive, *.a
 boolean isBinary(IFile file)
          Return true if IFile is an ELF.
 boolean isExecutable(IFile file)
          Return true if IFile is an ELF executable
 boolean isObject(IFile file)
          Return true if IFile is a an object(ELF), i.e. *.o
 boolean isSharedLib(IFile file)
          Return true if IFile is a shared library, i.e. libxx.so
 void removeElementChangedListener(IElementChangedListener listener)
          Removes the given element changed listener.
 void startIndexing()
           
 

Method Detail

create

ICElement create(IPath path)
Creates an ICElement form and IPath. Returns null if not found.


createTranslationUnitFrom

ITranslationUnit createTranslationUnitFrom(ICProject cproject,
                                           IPath path)
Creates a translation form and IPath. Returns null if not found.


getCModel

ICModel getCModel()
Returns the default ICModel.


isSharedLib

boolean isSharedLib(IFile file)
Return true if IFile is a shared library, i.e. libxx.so


isObject

boolean isObject(IFile file)
Return true if IFile is a an object(ELF), i.e. *.o


isExecutable

boolean isExecutable(IFile file)
Return true if IFile is an ELF executable


isBinary

boolean isBinary(IFile file)
Return true if IFile is an ELF.


isArchive

boolean isArchive(IFile file)
Return true if IFile is an Achive, *.a


addElementChangedListener

void addElementChangedListener(IElementChangedListener listener)

removeElementChangedListener

void removeElementChangedListener(IElementChangedListener listener)
Removes the given element changed listener. Has no affect if an identical listener is not registered.

Parameters:
listener - the listener

startIndexing

void startIndexing()

getIndexManager

IndexManager getIndexManager()

Eclipse CDT
Pre-release 3.0

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