Showing posts with label java. Show all posts
Showing posts with label java. Show all posts

Monday, June 28, 2010

dotNOT

Thursday, March 25, 2010

Eclipse 2010 Community Awards Winners Announced

PosterGenius was not the winner for the "Best RCP Application for 2010" but one of the finalists.

I want to congratulate:
  • The people behind Tasktop Pro, the best RCP application for 2010, for the greate product they have create.
  • Our development team, here at Scigen Technologies, for the more than 3 years of hard work that puts PosterGenius in hall-of-fame in eclipse community awards.
  • The Bioclipse community. I'm really impressed by the whole Bioclipse project and RCP implementation.

Wednesday, February 24, 2010

The fastest and easiest way to create your conference poster: PosterGenius

PosterGenius, a powerful, user-friendly software application that helps you create your scientific posters in less than 10 minutes. PosterGenius has been designed by physicians, scientists and researchers for physicians, scientists and researchers and offers a workflow tailored to the needs of the busy academic and researcher who creates scientific posters.

Why PosterGenius is the best tool for the creation of your scientific posters.
  1. It separates the content from the design of your poster. Therefore, it allows you to focus on your content, while the application automatically optimizes and manages the look and feel of the poster.
  2. It’s easier and faster than any other software for the creation of scientific posters.
  3. It takes your workflow to a whole new level with its unique features such as:
  • the 100+ professionally designed templates,
  • the optimal reading distance indicator,
  • the image optimizer that automatically positions, scales and aligns your images and captions.
Get the free Trial Version.
  1. To get the free Trial Version of PosterGenius, visit our Download page and click on the download link.
  2. After the download finishes, follow the instructions on the page, in order to install the application.

Thursday, June 26, 2008

Decoupling with Adapters - The Adapter pattern

Interesting article that demonstrate Adapter pattern and its usage in Eclipse.

Summary

The adapter pattern is used extensively in Eclipse. The use of this pattern allows plug-ins to be loosely coupled, yet still be tightly integrated in the extremely dynamic Eclipse runtime environment. In this article, we show you how to use the adapter framework to make your own objects adaptable, and adapt other objects.

By Wayne Beaton, The Eclipse Foundation
June 24, 2008

Sunday, June 22, 2008

Gradient Background to any SWT Control

Helper class that add gradent bg to a give control

public class GradientHelper{

private static Image oldImage = null;

public static void applyGradientBG(
Composite composite) {
Rectangle rect = composite.getClientArea();
Image newImage = new Image(composite.getDisplay(), 1, Math.max(1,
rect.height));
GC gc = new GC(newImage);
gc
.setForeground(composite.getDisplay().getSystemColor(
SWT.COLOR_WHITE));
gc.setBackground(new Color(composite.getDisplay(), 228, 234, 243));
gc.fillGradientRectangle(0, 0, 1, rect.height, true);
gc.dispose();
composite.setBackgroundImage(newImage);

if (oldImage != null)
oldImage.dispose();
oldImage = newImage;
}
}


Examples

Adding background to a tree.

treeView.getTree().
addListener(SWT.Resize,new Listener() {
public void handleEvent(Event event) {
GradientHelper.applyGradientBG(rreeViewer.getTree());
}
});

Tuesday, June 17, 2008

Grails !!! Screencast is amazing

Database driven web application based on java, hibernate, spring in 3 mins. UI included!!!


Amazing?

Informative screencasts show just how easy it is to build an application in Grails.

Wednesday, June 11, 2008

Better RCPs with Lotus Expeditor

Lotus Expeditor provides better Look 'n Feel

Before:
After:


Interesting features:

  • Custom widgets. Lotus Expeditor provides a mechanism for applying a common style to the user interface of applications. It does so by supporting not only standard SWT controls but also a set of custom widgets for which you can extend the customization. If you use these custom widgets to build the user interface of your application, you get the added capability of reflecting the workbench style or theme in your application to ensure that it looks like a member of the suite of application offerings. You can also apply a static style to the widgets to give your application a look and feel that is different from the other application offerings, if desired.
  • Rich text editor. The rich text editor enables your users to edit text through standard functions such as typing text, selecting fonts, and underlining. The rich text editor has the advantage of being completely configurable, manageable, and easily modified. It can be embedded in a Java application, provides a default UI (such as a tool bar), supports APIs for application development, and can extend an application's functions, such as handling events and contents.
  • Spell checking. Applications can perform spell checking, but to do so, a series of dictionaries must be set. The four ways to check misspelled words are by using:
    • The dictionaries supported by the given locale
    • The dictionaries supported by the platform default locale
    • Given dictionaries
    • Given dictionaries and a customized user dictionary

http://www.ibm.com/developerworks/lotus/library/expeditor-eclipse/

Wednesday, April 2, 2008

Eclipse RCP Book companion CD

For those readers who purchased a soft-copy of the book or lost the companion CD


that's me :-P

http://eclipsercp.org/book/cd.php

Sunday, February 17, 2008

Tasktop tour

Tasktop Technologies created and leads Eclipse Mylyn, an open source tool that transforms the developer's workday by automatically focusing the development environment on the task at hand. To enable all knowledge workers to benefit from the dramatic productivity improvements cited by developers using Mylyn, Tasktop Technologies is developing the task-focused desktop. Tasktop also provides consulting services to companies extending their offerings to leverage Mylyn's Task-Focused User Interface.

http://tasktop.com/videos/2008-winter/tasktop-eclipse.html

Monday, November 12, 2007

Serialize objects to XML and back again

XStream is a simple library to serialize objects to XML and back again.

Features

  • Ease of use. A high level facade is supplied that simplifies common use cases.
  • No mappings required. Most objects can be serialized without need for specifying mappings.
  • Performance. Speed and low memory footprint are a crucial part of the design, making it suitable for large object graphs or systems with high message throughput.
  • Clean XML. No information is duplicated that can be obtained via reflection. This results in XML that is easier to read for humans and more compact than native Java serialization.
  • Requires no modifications to objects. Serializes internal fields, including private and final. Supports non-public and inner classes. Classes are not required to have default constructor.
  • Full object graph support. Duplicate references encountered in the object-model will be maintained. Supports circular references.
  • Integrates with other XML APIs. By implementing an interface, XStream can serialize directly to/from any tree structure (not just XML).
  • Customizable conversion strategies. Strategies can be registered allowing customization of how particular types are represented as XML.
  • Error messages. When an exception occurs due to malformed XML, detailed diagnostics are provided to help isolate and fix the problem.
  • Alternative output format. The modular design allows other output formats. XStream ships currently with JSON support and morphing

Tutorial

A simple tutorial is also available at http://xstream.codehaus.org/tutorial.html