alblue / com.packtpub.e4 Goto Github PK
View Code? Open in Web Editor NEWCode samples for the "Eclipse Plugin Development by Example: Beginners Guide" book 978-1782160328
License: Eclipse Public License 1.0
Code samples for the "Eclipse Plugin Development by Example: Beginners Guide" book 978-1782160328
License: Eclipse Public License 1.0
In TimeZoneLabelProvider#getStyledText, the offset calculation should be like this:
int offset = ((TimeZone) element).getOffset(System.currentTimeMillis());
rather than:
int offset = -((TimeZone) element).getOffset(0);
since this is also how the offset is calculated in TimeZoneViewerComparator.
Without this fix, the offsets displayed in the UI are not sorted and the minus/plus prefix is reverse.
Great book, btw! :-)
Hi,
I installed a new Eclipse and download the sample code from the site. I followed the instruction to run it as Eclipse Application, and click the Sample Command in Sample Menu, but no Dialog box appeared. What went wrong ?
Thanks
Peter
Save time to readers and add direct link to the book at amazon http://www.amazon.com/Eclipse-Plug--Development-Example-Beginners/dp/1782160329 in the REAME
Hi author, I follow your book trying to create a SWTBot test case. For the first time, it takes a very long time to run, but in the end it would pass all test cases.
However when I try to run the same code for second time, only testUI() will pass, the other three will have org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
I though I have typo somewhere so I download the sample code from github, but the problem still exist. In the book you worte
If one is not currently visible, it polls (every 500 milliseconds by default) until one is found or the default timeout period (5 seconds) ends when a WidgetNotFoundException is thrown
But I don't see why the first time all test cases will pass but not the second time.
How could you view if your book would be in Chinese?
How much would license, help with translation etc?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.