Package com.iizix.prop
Interface IModuleProjectPropProvider
- All Known Implementing Classes:
- EditorModuleProjectPropCnr,- ModuleProjectPropCnr,- ModuleRootPropCnr
 - public interface IModuleProjectPropProviderProvides access to the Module properties even from a runtime-style code.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - java.lang.String- getProjectName(GProp<?> requestor, java.lang.String alias)Gets the project name from an alias, the alias does NOT begin with "*".- PropCnr- getRootFromName(GProp<?> requestor, java.lang.String module)Gets the module root for a name.
 
- Method Detail- getProjectName- java.lang.String getProjectName(GProp<?> requestor, java.lang.String alias) Gets the project name from an alias, the alias does NOT begin with "*".- Parameters:
- requestor- The requestor.
- alias- The alias.
- Returns:
- The project name for the alias, or null if not found.
 
 - getRootFromName- PropCnr getRootFromName(GProp<?> requestor, java.lang.String module) Gets the module root for a name. In the Editor, the module is the project, and that root container is returned. In the Server, the module doesn't matter, so the real root returns itself.- When running with assertions, this call throws an assertion error by default, showing that the call is directed to a non-root property container. - Parameters:
- requestor- The requestor.
- module- The module name (without colon), i.e. the project name in the Designer.
- Returns:
- The root property container, or null if this container is not the root, or if the module name is not found. The default implementation returns null.