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 #1790032] Sun, 03 June 2018 17:50
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"


  • Attachment: Problem.PNG
    (Size: 31.22KB, Downloaded 13 times)
Previous Topic:delete...
Next Topic:Select "Cross ARM GCC" by SWT script
Goto Forum:
  


Current Time: Sat Nov 17 13:51:35 GMT 2018

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

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

Back to the top