Home
last modified time | relevance | path

Searched refs:wsFolderPath (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DChooseConfigurationPage.java137 String wsFolderPath = mWsFolderPathTextField.getText(); in onWsFolderPathUpdated() local
142wsFolderPath = wsFolderPath.replaceAll("/+\\.\\./+|/+\\./+|//+|\\\\+|^/+", "/"); //$NON-NLS-1$ //… in onWsFolderPathUpdated()
143wsFolderPath = wsFolderPath.replaceAll("^\\.\\./+|^\\./+", ""); //$NON-NLS-1$ //… in onWsFolderPathUpdated()
144wsFolderPath = 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 …]
DNewXmlFileCreationPage.java647 IPath wsFolderPath = null; in initializeFromSelection() local
651 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() local
989 if (wsFolderPath.startsWith(RES_FOLDER_ABS)) { in updateFolderPath()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/
DExtractStringInputPage.java558 String wsFolderPath = mResFileCombo.getText(); in modifyText() local
563wsFolderPath = wsFolderPath.replaceAll("/+\\.\\./+|/+\\./+|//+|\\\\+|^/+", "/"); //$NON-NLS-1$ //… in modifyText()
564wsFolderPath = wsFolderPath.replaceAll("^\\.\\./+|^\\./+", ""); //$NON-NLS-1$ //… in modifyText()
565wsFolderPath = 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 …]