FileDocCategorySizeDatePackage
IdResourceItem.javaAPI DocAndroid 1.5 API1796Wed May 06 22:41:10 BST 2009com.android.ide.eclipse.editors.resources.manager

IdResourceItem

public class IdResourceItem extends ProjectResourceItem implements com.android.ide.eclipse.common.resources.IIdResourceItem
Represents a resource item of type {@link ResourceType#ID}

Fields Summary
private final boolean
mIsDeclaredInline
Constructors Summary
IdResourceItem(String name, boolean isDeclaredInline)
Constructs a new ResourceItem.

param
name the name of the resource as it appears in the XML and R.java files.
param
isDeclaredInline Whether this id was declared inline.

        super(name);
        mIsDeclaredInline = isDeclaredInline;
    
Methods Summary
public booleanisDeclaredInline()

        return mIsDeclaredInline;
    
public booleanisEditableDirectly()

        return !mIsDeclaredInline;