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

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


createTranslationUnitFrom

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


getCModel

public ICModel getCModel()
Returns the default ICModel.


isSharedLib

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


isObject

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


isExecutable

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


isBinary

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


isArchive

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


addElementChangedListener

public void addElementChangedListener(IElementChangedListener listener)

removeElementChangedListener

public 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

public void startIndexing()

getIndexManager

public IndexManager getIndexManager()

Eclipse CDT
Pre-release 3.0

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