package org.tianocore.frameworkwizard.platform.ui.id;\r
import java.io.File;\r
\r
-import org.tianocore.frameworkwizard.platform.ui.global.GlobalData;\r
+import org.tianocore.frameworkwizard.platform.ui.global.WorkspaceProfile;\r
\r
public class PackageIdentification extends Identification{\r
\r
\r
public String getPackageRelativeDir()throws Exception{\r
prepareSpdFile();\r
- return spdFile.getParent().substring(GlobalData.getWorkspacePath().length() + 1);\r
+ return spdFile.getParent().substring(WorkspaceProfile.getWorkspacePath().length() + 1);\r
}\r
\r
private void prepareSpdFile() throws Exception{\r
if (spdFile == null) {\r
- spdFile = GlobalData.getPackageFile(this);\r
+ spdFile = WorkspaceProfile.getPackageFile(this);\r
}\r
}\r
}\r