Code Monkey home page Code Monkey logo

com.packtpub.e4's People

Contributors

alblue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

com.packtpub.e4's Issues

Different Timezone calculations in ViewerComparator and LabelProvider

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! :-)

No Dialog Box Appear after clicking Sample Command

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

ch9 SWTBot test won't work second time

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.

The book in Chinese

How could you view if your book would be in Chinese?
How much would license, help with translation etc?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.