Most common in programming is to load text files to a string. Since this usually involves some lines of code,
WeiterlesenKategorie: Programmieren
Java/SWT GUI Access from Thread
A thread in Java cannot directly access the GUI. With the following snippet the access is possible: Call from the
WeiterlesenRemove unwanted actions in RCP application
In my current RCP application some unwanted Eclipse actions showed up in the toolbar and menubar: How to get rid
WeiterlesenSet title for JFace dialog
The following snippet sets the title for a JFace dialog: @Override protected void configureShell(Shell shell) { super.configureShell(shell); shell.setText("My Dialog Title");
WeiterlesenGet plugin path
This snippets gets the local folder for a plugin: public static File getPluginFolder() { if(pluginFolder == null) { URL url
Weiterlesen