package org.jboss.tools.seam.pages.xml.model.impl;

import org.jboss.tools.common.model.impl.CustomizedObjectImpl;
import org.jboss.tools.common.model.util.XModelObjectLoaderUtil;

public class SeamPageNavigationImpl extends CustomizedObjectImpl {
	private static final long serialVersionUID = 1L;

	public String getPathPart() {
    	return "navigation" + ":" + get(XModelObjectLoaderUtil.ATTR_ID_NAME);
    }

	public String getPresentationString() {
		String v1 = getAttributeValue("from action");
		if(v1 != null && v1.length() > 0) return v1;
		return "navigation";
	}

}
