import org.tianocore.frameworkwizard.common.ui.StarLabel;\r
import org.tianocore.frameworkwizard.module.Identifications.ModuleIdentification;\r
import org.tianocore.frameworkwizard.platform.ui.global.WorkspaceProfile;\r
+import org.tianocore.frameworkwizard.workspace.Workspace;\r
\r
import java.awt.FlowLayout;\r
import java.awt.event.ActionEvent;\r
public void componentShown(ComponentEvent e) {\r
// if (ffc.getFlashDefinitionFile() != null) {\r
// jTextFieldFdf.setText(ffc.getFlashDefinitionFile());\r
-// initFvInFdfTable(System.getenv("WORKSPACE") + File.separator + jTextFieldFdf.getText());\r
+// initFvInFdfTable(Workspace.getCurrenetWorkspace() + File.separator + jTextFieldFdf.getText());\r
// \r
// }\r
}\r
\r
public void actionPerformed(ActionEvent e) {\r
// TODO Auto-generated method stub\r
- String wsDir = System.getenv("WORKSPACE");\r
+ String wsDir = Workspace.getCurrentWorkspace();\r
JFileChooser chooser = new JFileChooser(wsDir);\r
chooser.setMultiSelectionEnabled(false);\r
chooser.setFileSelectionMode(JFileChooser.FILES_AND_DIRECTORIES);\r
if (fdfFile != null && fdfFile.length() > 0) {\r
jCheckBoxFdf.setSelected(true);\r
jTextFieldFdf.setText(fdfFile);\r
- String fdfPath = System.getenv("WORKSPACE") + File.separator + fdfFile;\r
+ String fdfPath = Workspace.getCurrentWorkspace() + File.separator + fdfFile;\r
initFvInFdfTable(fdfPath);\r
}\r
\r