Today I had a small problem. I wanted to start an external C++ console programm with some parameters and get
WeiterlesenKategorie: Programmieren
JFace: Set selection index in TableViewer
Selecting a row by index in a table viewer isn’t very straightforward. There is no method like tableViewer.setSelectionIndex. Here is
WeiterlesenEclipse RCP: Remove tab folder from View
If you create a new RCP application a view gets a tab like this: To remove the tab, use the
WeiterlesenEMF: Setting an empty string as default value
If you create a string in an EMF model, its null by default: If you want to have an empty
WeiterlesenJava: Open an URL in the standard browser
Here is short code snippet to open an URL with the systems standard browser: public void openUrl(String url) throws IOException,
WeiterlesenEMF: Object is not contained in a resource
I had a small problem saving my EMF model to XML. I got the error message “The object … is
WeiterlesensetAccelerator(SWT.CTRL | ‚O‘); //not working!
In my current RCP application I had a problem that the menu key shortcuts did not work correctly: When I
Weiterlesenorg.eclipse.swt.SWTError: No more handles
In our current project we came across the following error, when we opened multiple of our editors in a RCP
WeiterlesenColor Themes for Eclipse
When it comes to programming I like dark backgrounds in the editor. Setting the colors in Eclipse is a lot
WeiterlesenSave and load an EMF model to an XML file
Here are two code snippets which give you an example how to save and load an EMF model to an
Weiterlesen