Searched refs:wsFolderPath (Results 1 – 3 of 3) sorted by relevance
137 String wsFolderPath = mWsFolderPathTextField.getText(); in onWsFolderPathUpdated() local142 …wsFolderPath = wsFolderPath.replaceAll("/+\\.\\./+|/+\\./+|//+|\\\\+|^/+", "/"); //$NON-NLS-1$ //… in onWsFolderPathUpdated()143 …wsFolderPath = wsFolderPath.replaceAll("^\\.\\./+|^\\./+", ""); //$NON-NLS-1$ //… in onWsFolderPathUpdated()144 …wsFolderPath = wsFolderPath.replaceAll("/+\\.\\.$|/+\\.$|/+$", ""); //$NON-NLS-1$ //… in onWsFolderPathUpdated()147 if (wsFolderPath.startsWith(RES_FOLDER_REL)) { in onWsFolderPathUpdated()148 wsFolderPath = RES_FOLDER_ABS + wsFolderPath.substring(RES_FOLDER_REL.length()); in onWsFolderPathUpdated()151 mWsFolderPathTextField.setText(wsFolderPath); in onWsFolderPathUpdated()155 mValues.folderPath = wsFolderPath; in onWsFolderPathUpdated()157 if (wsFolderPath.startsWith(RES_FOLDER_ABS)) { in onWsFolderPathUpdated()158 wsFolderPath = wsFolderPath.substring(RES_FOLDER_ABS.length()); in onWsFolderPathUpdated()[all …]
647 IPath wsFolderPath = null; in initializeFromSelection() local651 wsFolderPath = res.getProjectRelativePath(); in initializeFromSelection()656 wsFolderPath = res.getParent().getProjectRelativePath(); in initializeFromSelection()660 if (wsFolderPath != null && in initializeFromSelection()661 wsFolderPath.segmentCount() > 1 && in initializeFromSelection()662 SdkConstants.FD_RESOURCES.equals(wsFolderPath.segment(0))) { in initializeFromSelection()665 wsFolderPath = null; in initializeFromSelection()674 targetWsFolderPath = wsFolderPath != null ? wsFolderPath.toString() : null; in initializeFromSelection()978 String wsFolderPath = mValues.folderPath; in updateFolderPath() local989 if (wsFolderPath.startsWith(RES_FOLDER_ABS)) { in updateFolderPath()[all …]
558 String wsFolderPath = mResFileCombo.getText(); in modifyText() local563 …wsFolderPath = wsFolderPath.replaceAll("/+\\.\\./+|/+\\./+|//+|\\\\+|^/+", "/"); //$NON-NLS-1$ //… in modifyText()564 …wsFolderPath = wsFolderPath.replaceAll("^\\.\\./+|^\\./+", ""); //$NON-NLS-1$ //… in modifyText()565 …wsFolderPath = wsFolderPath.replaceAll("/+\\.\\.$|/+\\.$|/+$", ""); //$NON-NLS-1$ //… in modifyText()568 if (wsFolderPath.startsWith(RES_FOLDER_REL)) { in modifyText()569 wsFolderPath = RES_FOLDER_ABS + wsFolderPath.substring(RES_FOLDER_REL.length()); in modifyText()572 mResFileCombo.setText(wsFolderPath); in modifyText()576 if (wsFolderPath.startsWith(RES_FOLDER_ABS)) { in modifyText()577 wsFolderPath = wsFolderPath.substring(RES_FOLDER_ABS.length()); in modifyText()579 int pos = wsFolderPath.indexOf(AdtConstants.WS_SEP_CHAR); in modifyText()[all …]