akJ Eclipse RCP Codes

plugin.properties
plugin.xml
org.jpn.xucker.optipngwrapper
OptiPNGExecuter
ResultData
org.jpn.xucker.rcp.optipngwrapper
FileListImageView
Messages
OptimizeListener
OptipngWrapperApplication
OptipngWrapperPerspective
OptipngWrapperPlugin
optipngwrapperResources.properties
optipngwrapperResources_ja.properties
OptipngWrapperView
OptipngWrapperWorkbenchAdvisor
ResultView
org.jpn.xucker.rcp.optipngwrapper.actions
UpdateAction
akJ OptipngWrapper

----
TOP
Blog
ak's java blog
Applications
akJ OptipngWrapper
Links
EclipseCon 2005
many great tutorials pdfs.
Eclipse RCP
eclipsepowered
---
Japanese(日本語) Site
Creative Commons
I use Java2Html.nice tool.
Messages.java
01 /*
02  * Created on 2005/03/04
03  * Author aki@www.xucker.jpn.org
04  * License Apache2.0 or Common Public License
05  */
06 package org.jpn.xucker.rcp.optipngwrapper;
07 
08 /**
09  
10  *
11  */
12 
13 
14 
15 
16     import java.util.MissingResourceException;
17     import java.util.ResourceBundle;
18 
19     public class Messages {
20 
21         private static final String BUNDLE_NAME = "org.jpn.xucker.rcp.optipngwrapper.optipngwrapperResources"//$NON-NLS-1$
22 
23         private static final ResourceBundle RESOURCE_BUNDLE =
24             ResourceBundle.getBundle(BUNDLE_NAME);
25 
26         private Messages() {
27         }
28 
29         public static String getString(String key) {
30             try {
31                 return RESOURCE_BUNDLE.getString(key);
32             catch (MissingResourceException e) {
33                 return '!' + key + '!';
34             }
35         }
36     }