Home
last modified time | relevance | path

Searched refs:TemplateHandler (Results 1 – 15 of 15) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateMetadata.java21 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_BACKGROUN…
22 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_CLIPART_N…
23 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_DESCRIPTI…
24 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_FOREGROUN…
25 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_FORMAT;
26 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_NAME;
27 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_PADDING;
28 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_SHAPE;
29 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_SOURCE_TY…
30 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_TEXT;
[all …]
DParameter.java19 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_CONSTRAIN…
20 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_DEFAULT;
21 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_HELP;
22 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_ID;
23 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_NAME;
24 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_SUGGEST;
224 String typeName = parameter.getAttribute(TemplateHandler.ATTR_TYPE); in Parameter()
225 assert typeName != null && !typeName.isEmpty() : TemplateHandler.ATTR_TYPE; in Parameter()
DNewTemplateWizardState.java58 private TemplateHandler mTemplateHandler;
96 TemplateHandler getTemplateHandler() { in getTemplateHandler()
105 mTemplateHandler = TemplateHandler.createFromPath(inputPath); in getTemplateHandler()
164 TemplateHandler.addDirectoryParameters(parameters, project); in computeChanges()
190 TemplateHandler handler = getTemplateHandler(); in getIconState()
DTypedVariable.java32 String value = attributes.getValue(TemplateHandler.ATTR_VALUE); in parseGlobal()
33 Type type = Type.get(attributes.getValue(TemplateHandler.ATTR_TYPE)); in parseGlobal()
DNewProjectWizardState.java37 template = TemplateHandler.createFromName(CATEGORY_PROJECTS, in NewProjectWizardState()
42 public final TemplateHandler template;
DNewProjectWizard.java261 final TemplateHandler template = mValues.template; in computeChanges()
272 TemplateHandler.addDirectoryParameters(paramMap, getProject()); in computeChanges()
296 final TemplateHandler template = mValues.template; in performFinish()
348 final TemplateHandler activityTemplate = in performFinish()
401 private void generateActivity(TemplateHandler projectTemplate, IProject project, in generateActivity()
414 TemplateHandler.addDirectoryParameters(parameters, project); in generateActivity()
416 TemplateHandler activityTemplate = activityValues.getTemplateHandler(); in generateActivity()
DActivityPage.java21 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.PREVIEW_PADDIN…
22 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.PREVIEW_WIDTH;
187 TemplateHandler handler = mValues.activityValues.getTemplateHandler(); in updatePreview()
271 TemplateHandler templateHandler = mValues.activityValues.getTemplateHandler(); in validatePage()
DTemplateTestPage.java103 if (!new File(mTemplate, TemplateHandler.TEMPLATE_XML).exists()) { in validatePage()
108 if (mTemplate.getName().equals(TemplateHandler.TEMPLATE_XML)) { in validatePage()
DNewActivityWizard.java164 TemplateHandler activityTemplate = mActivityValues.getTemplateHandler(); in getFilesToOpen()
171 TemplateHandler activityTemplate = mActivityValues.getTemplateHandler(); in getFinalizingActions()
DNewTemplateWizard.java139 TemplateHandler activityTemplate = mValues.getTemplateHandler(); in getFilesToOpen()
146 TemplateHandler activityTemplate = mValues.getTemplateHandler(); in getFinalizingActions()
DStringEvaluator.java52 mParameters = TemplateHandler.createBuiltinMap(); in StringEvaluator()
DTemplateHandler.java119 class TemplateHandler { class
267 static TemplateHandler createFromPath(File rootPath) { in createFromPath()
268 return new TemplateHandler(rootPath, new TemplateManager()); in createFromPath()
273 static TemplateHandler createFromName(String category, String name) { in createFromName()
281 return new TemplateHandler(file, manager); in createFromName()
285 return new TemplateHandler(new File(getTemplateRootFolder(), in createFromName()
289 private TemplateHandler(File rootPath, TemplateManager manager) { in TemplateHandler() method in TemplateHandler
DNewTemplatePage.java21 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_DEFAULT;
22 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_ID;
23 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_NAME;
24 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.PREVIEW_PADDIN…
25 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.PREVIEW_WIDTH;
DTemplateManager.java21 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.TEMPLATE_XML;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/wizards/templates/
DTemplateHandlerTest.java23 import static com.android.ide.eclipse.adt.internal.wizards.templates.TemplateHandler.ATTR_ID;
545 TemplateHandler templateHandler = values.getTemplateHandler(); in checkApiTarget()
738 if (TemplateHandler.sMostRecentException != null) { in createProject()
739 fail(values.projectName + ": " + TemplateHandler.sMostRecentException.toString()); in createProject()