Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Select "Cross ARM GCC" by SWT script(SWT and select text in python)
Select "Cross ARM GCC" by SWT script [message #1790033] Sun, 03 June 2018 17:51
Jiri Pospisil is currently offline Jiri PospisilFriend
Messages: 10
Registered: May 2018
Junior Member
Hi frends. I try generate project by script. And I have a problem. I need select text by SWT. Any idea, how to select?

I have this function:
def project_create(name):
	SWT.viewByTitle("Project Explorer").setFocus()	
	SWT.menu("File").menu("New").menu("Project...").click()
	SWT.textWithLabel("Wizards:").setText("C project")
	SWT.button("Next >").click()
	#SWT.viewByTitle("Project Explorer").setFocus()	
	#SWT.menu("File").menu("New").menu("C Project").click()
	SWT.textWithLabel("Project name:").setText(name)
	SWT.tree().collapseNode("Executable")
	SWT.tree().getTreeItem("Makefile project").select().click()
	SWT.tree().getTreeItem("Makefile project").expand()

	# Select "Cross ARM GCC here"


Previous Topic:Select "Cross ARM GCC" by SWT script
Next Topic:Select "Cross ARM GCC" by SWT script
Goto Forum:
  


Current Time: Wed Nov 14 12:04:20 GMT 2018

Powered by FUDForum. Page generated in 0.01826 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top