Package org.openquark.cal.services

Examples of org.openquark.cal.services.ResourceManager


                ModuleName[] workspaceModuleNames = getWorkspace().getModuleNames();
               
                // loop through each module in the workspace
                for (final ModuleName moduleName : workspaceModuleNames) {
                   
                    ResourceManager metadataResourceManager = getWorkspace().getResourceManager(moduleName, WorkspaceResource.METADATA_RESOURCE_TYPE);
                   
                    MetadataStore metadataStore = (MetadataStore)metadataResourceManager.getResourceStore();
                    if (metadataStore.isWriteable()) {
                        for (Iterator<WorkspaceResource> it = metadataStore.getResourceIterator(moduleName); it.hasNext(); ) {
                            WorkspaceResource metadataResource = it.next();
                            ResourceIdentifier identifier = metadataResource.getIdentifier();
                            CALFeatureName featureName = (CALFeatureName)identifier.getFeatureName();
View Full Code Here

TOP

Related Classes of org.openquark.cal.services.ResourceManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.