Search in sources :

Example 1 with ErlFolder

use of org.erlide.engine.internal.model.root.ErlFolder in project erlide_eclipse by erlang.

the class ErlModel method createFolder.

public IErlFolder createFolder(final IFolder folder, final IParent parent) {
    if (folder == null) {
        return null;
    }
    final IErlFolder f = new ErlFolder(folder, parent);
    final IParent p = parent;
    if (p != null) {
        p.addChild(f);
    } else {
    // ErlLogger.warn("creating folder %s in null parent?!", folder
    // .getName());
    }
    return f;
}
Also used : IParent(org.erlide.engine.model.IParent) ErlFolder(org.erlide.engine.internal.model.root.ErlFolder) IErlFolder(org.erlide.engine.model.root.IErlFolder) IErlFolder(org.erlide.engine.model.root.IErlFolder)

Aggregations

ErlFolder (org.erlide.engine.internal.model.root.ErlFolder)1 IParent (org.erlide.engine.model.IParent)1 IErlFolder (org.erlide.engine.model.root.IErlFolder)1