rcpexperiments.blogspot.com
Eclipse RCP Experiments: March 2010
http://rcpexperiments.blogspot.com/2010_03_01_archive.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. How to remove unwanted Preference Pages from your RCP application. Wednesday, March 31, 2010. When you use some of the Eclipse IDE plugins they may contribute preference pages that you may not necessarily want to show to your users. Remove them in the ApplicationWorkbenchWindowAdvisor.postWindowCreate():. PreferenceManager pm = PlatformUI.getWorkbench .getPreferenceManager();. Friday, March 19, 2010. Return new Color(di...
rcpexperiments.blogspot.com
Eclipse RCP Experiments: how to add the slope / swoosh to tabs in RCP
http://rcpexperiments.blogspot.com/2008/10/how-to-add-slope-swoosh-to-tabs-in-rcp.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. How to add the slope / swoosh to tabs in RCP. Monday, October 27, 2008. I looked for this for a while. Eclipse 3.x has the swooshed tab headers that taper towards the end. To get that in your RCP application where you may use IFolderLayout to group views, or have multiple editors you need to make your Eclipse application a product and do the following:. The following line does the magic:. View my complete profile.
rcpexperiments.blogspot.com
Eclipse RCP Experiments: How to remove unwanted Preference Pages from your RCP application
http://rcpexperiments.blogspot.com/2010/03/how-to-remove-unwanted-preference-pages.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. How to remove unwanted Preference Pages from your RCP application. Wednesday, March 31, 2010. When you use some of the Eclipse IDE plugins they may contribute preference pages that you may not necessarily want to show to your users. Remove them in the ApplicationWorkbenchWindowAdvisor.postWindowCreate():. PreferenceManager pm = PlatformUI.getWorkbench .getPreferenceManager();. Thanks, your blog helped me a lot!
rcpexperiments.blogspot.com
Eclipse RCP Experiments: Indeterminate progress bar in Eclipse RCP
http://rcpexperiments.blogspot.com/2009/07/indeterminate-progress-bar-in-eclipse.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. Indeterminate progress bar in Eclipse RCP. Wednesday, July 1, 2009. If you dont know the amount of work involved you need an indeterminate progress bar. If using ProgressMonitorDialog, in the run method of IRunnableWithProgress, instead of specifying an integer indicating the total as an argument do this:. Public void run(IProgressMonitor monitor) throws InvocationTargetException,InterruptedException {.
rcpexperiments.blogspot.com
Eclipse RCP Experiments: Setting colors and fonts for a table cell in SWT/JFace
http://rcpexperiments.blogspot.com/2010/03/setting-colors-and-fonts-for-table-cell.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. Setting colors and fonts for a table cell in SWT/JFace. Friday, March 19, 2010. How to set color and font for a table cell using TableViewer in JFace? All you need to do is make your ITableLabelProvider implementation also implement ITableFontProvider. Public class TypeLabelProvider implements ITableLabelProvider,. ITableFontProvider, ITableColorProvider {. Public Font getFont(Object element, int columnIndex) {.
rcpexperiments.blogspot.com
Eclipse RCP Experiments: October 2008
http://rcpexperiments.blogspot.com/2008_10_01_archive.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. How to add the slope / swoosh to tabs in RCP. Monday, October 27, 2008. I looked for this for a while. Eclipse 3.x has the swooshed tab headers that taper towards the end. To get that in your RCP application where you may use IFolderLayout to group views, or have multiple editors you need to make your Eclipse application a product and do the following:. The following line does the magic:. Subscribe to: Posts (Atom).
rcpexperiments.blogspot.com
Eclipse RCP Experiments: Commands, key Bindings and Contexts in Eclipse RCP
http://rcpexperiments.blogspot.com/2009/07/commands-key-bindings-and-contexts-in.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. Commands, key Bindings and Contexts in Eclipse RCP. Friday, July 17, 2009. How to create a key binding in your Eclipse RCP application? You need to create a command and its command handler and then create a key binding for it. 1 Define a command:. See an example below for a Save command:. Extension point="org.eclipse.ui.commands". Category description="My category for commands" id="MyCategory" name="My Category". You do...
rcpexperiments.blogspot.com
Eclipse RCP Experiments: July 2009
http://rcpexperiments.blogspot.com/2009_07_01_archive.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. Commands, key Bindings and Contexts in Eclipse RCP. Friday, July 17, 2009. How to create a key binding in your Eclipse RCP application? You need to create a command and its command handler and then create a key binding for it. 1 Define a command:. See an example below for a Save command:. Extension point="org.eclipse.ui.commands". Category description="My category for commands" id="MyCategory" name="My Category". You do...
rcpexperiments.blogspot.com
Eclipse RCP Experiments: How to show children of matched tree nodes in a Filtered Tree
http://rcpexperiments.blogspot.com/2009/07/how-to-show-children-of-matched-tree.html
Useful Eclipse RCP code snippets that I could not find anywhere else on the Internet. How to show children of matched tree nodes in a Filtered Tree. Wednesday, July 8, 2009. Here is how I did it:. Public class ShowChildrenPatternFilter extends PatternFilter {. Protected boolean isChildMatch(Viewer viewer, Object element) {. System.out.println("inchildmatch");. Object parent = ( ITreeContentProvider) ( AbstractTreeViewer) viewer). GetContentProvider() .getParent(element);. If(labelText = null) {. Public T...