blob: 81c640a53600f75439f3cddab1a1f8d730d4d09d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2010 Soyatec (http://www.soyatec.com) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Soyatec - initial API and implementation
*******************************************************************************/
package org.eclipse.xwt.metadata;
/**
* This class is used to indicate when the property can be
* initialized during the XML Loading.
*
* @author yyang <yves.yang@soyatec.com>
*/
public interface ILoadingType {
public ILoadingType DEFAULT = new ILoadingType() {
public IValueLoading getValueLoading() {
return IValueLoading.Normal;
}
public IProperty[] getDependencies() {
return IProperty.EMPTY_ARRAY;
}
};
/**
* When the property can be loaded.
* @return
*/
IValueLoading getValueLoading();
/**
* The dependency properties must be loaded before.
* @return
*/
IProperty[] getDependencies();
}