Programming

SWT Gantt Chart Widget

A couple of weeks ago I integrated the SWT Gantt chart widget in Sorting Thoughts. And I must say it is a really useful SWT widget and it fits perfect in the concept of Sorting Thoughts.

The integration of the widget is very simple and it’s supports some interface reps. abstract classes which helps by the customizing. See AbstractSettings and AbstractLanguageManager. My only problem was to set a new min zoom level because the limit constant in ISettings is not overwriteable. But as workaround it is possible to use the IGanttEventListener. zoomedIn(…) to stop zooming in a not useful zoom level.

Links


Die Architektur von Android

Android geht in vielerlei Hinsicht ganz andere Wege als andere Linux-Versionen – das beginnt bei Anpassungen am Kernel und hört bei der virtuellen Maschine Dalvik noch lange nicht auf. Die Besonderheiten der Android-Architektur zu kennen hilft dabei, die Eigenarten der populärsten Linux-Variante zu verstehen.

Interessanter Artikel von Arno Becker auf heise mobile: Die Architektur von Android


Useful RegEx Plugin for Eclipse

RegEx Util is a very useful Eclipse plugin for testing Java regular expressions:

Links



Sorting Thoughts is now available

The final version of Sorting Thoughts (Eclipse RCP based) is now available and ready for test:

Sorting Thoughts” is a personal information and knowledge management software. It is designed to manage your thoughts such as moments of sudden inspirations, tasks, events, projects and anything else you may think of.



Test a brand new Eclipse RCP application


My Eclipse RCP application Sorting Thoughts (for Mac OS X and MS Windows, Sync with HP Palm webOS devices) is now ready for beta test. If you looking for a personal information and knowledge management software try a look at:

Sorting Thoughts BETA Version


webOS by Example: Sorting Thoughts

My slides about my experience with webOS and the development of Sorting Thoughts for webOS:


Platform check in Eclipse 3.5

To check the running platform in an Eclipse 3.5 plugin or RCP app use this:

org.eclipse.jface/src/org/eclipse/jface/util/Util.java

...
        /**
	 * Note: this may be made internal in 3.5
	 * @return true for windows platforms
	 * @since 3.5
	 */
	public static final boolean isWindows() {
		final String ws = SWT.getPlatform();
		return WS_WIN32.equals(ws) || WS_WPF.equals(ws);
	}

	/**
	 * Note: this may be made internal in 3.5
	 * @return true for mac platforms
	 * @since 3.5
	 */
	public static final boolean isMac() {
		final String ws = SWT.getPlatform();
		return WS_CARBON.equals(ws) || WS_COCOA.equals(ws);
	}
...



Lösungen für einen SWT Rich Text Editor [Update]

Wenn man, wie ich, vor der Aufgabe steht einen WYSIWYG Rich Text Editor in eine Eclipse RCP Anwendung zu integrieren, stellt man leider schnell fest, das es keine Standardlösung gibt. Vielmehr hat man folgende Optionen mit ganz speziellen Vor- und Nachteilen, für die man sich entscheiden muss:

(continue reading…)



GuiceBerry: JUnit with dependency injection

GuiceBerry brings the joys of dependency injection to your test cases and test infrastructure. It leverages Guice to accomplish this. It allows you to use a composition model for the services your test needs, rather than the traditional extends MyTestCase approach.

GuiceBerry does not supplant your JUnit testing framework — it builds on top of it (and works around it, when necessary), so you can run your tests normally, from your favorite command line or IDE environment.

Links


Berkeley DB JE: DPL Assistant for Eclipse

The Berkeley DB Java Edition Team announced the DPL (Direct Persistence Layer) Assistant Eclipse Plugin:

This first version of the plug-in performs validation of DPL
annotations in Java source code. Each time you save changes from the
Java source code editor, the validator analyzes annotations (@Entity,
@Persistent, etc.) and reports any errors or warnings that it can
detect, in a similar way to how the IDE reports Java compilation
errors.


Java Performance Tuning

A Conversation With Java Champion Kirk Pepperdine:

“Because we’re trained to look at code, when something goes wrong, we look at code… Developers often fix things that have little or no impact on overall performance. I’ve seen teams literally waste months rewriting ugly code that had no impact on performance.”
Kirk Pepperdine


The Eclipse Movie..

..or the organic software visualization of Eclipse (SDK).

This visualization, called code_swarm, shows the history of commits in a software project. A commit happens when a developer makes changes to the code or documents and transfers them into the central project repository. Both developers and files are represented as moving elements. When a developer commits a file, it lights up and flies towards that developer. Files are colored according to their purpose, such as whether they are source code or a document. If files or developers have not been active for a while, they will fade away. A histogram at the bottom keeps a reminder of what has come before.

see Code Swarm, http://code.google.com/p/codeswarm


code_swarm – Eclipse (short ver.) from Michael Ogawa on Vimeo.


Werbung



Locations of visitors to this page
Copyright © 1996-2010 agilesWissen. All rights reserved.
iDream theme by Templates Next | Powered by WordPress