2758 |
2758 |
2759 @return path of the project file (string) |
2759 @return path of the project file (string) |
2760 """ |
2760 """ |
2761 return self.pfile |
2761 return self.pfile |
2762 |
2762 |
|
2763 def getProjectName(self): |
|
2764 """ |
|
2765 Public method to get the name of the project. |
|
2766 |
|
2767 The project name is determined from the name of the project file. |
|
2768 |
|
2769 @return name of the project (string) |
|
2770 """ |
|
2771 if self.pfile: |
|
2772 name = os.path.splitext(self.pfile)[0] |
|
2773 return os.path.basename(name) |
|
2774 else: |
|
2775 return "" |
|
2776 |
2763 def getProjectManagementDir(self): |
2777 def getProjectManagementDir(self): |
2764 """ |
2778 """ |
2765 Public method to get the path of the management directory. |
2779 Public method to get the path of the management directory. |
2766 |
2780 |
2767 @return path of the management directory (string) |
2781 @return path of the management directory (string) |