Heute wurde mir ein Update für Android Studio angezeigt. Also Update heruntergeladen und installiert. Wie immer erwartet man da natürlich
WeiterlesenKategorie: Programmieren
Java: copy array to another
String[] stringArray = Arrays.copyOf(items.toArray(), items.size(), String[].class);
WeiterlesenJava: Convert String to InputStream
Some methods want an InputStream, converting a String into an InputStream is very easy: /** * Converts a string into
WeiterlesenRCP: Problems when generating PDF files with RCP
Recently I ran into a problem in my RCP application during the generation of a PDF file from a BIRT
WeiterlesenRCP: Get command line parameters in Eclipse Apps
You can easily access the command line parameters of your RCP application via the Platform object, here is an example:
WeiterlesenEasy logging for RCP applications
A small class for easy logging in RCP applications by using the Activators logging functions. This class mainly wraps the
WeiterlesenRCP: Switch to perspective via code
A small snippet which switches to a certain perspective via code: IPerspectiveDescriptor[] perspectives = PlatformUI.getWorkbench().getPerspectiveRegistry().getPerspectives(); IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage(); if(page
WeiterlesenRCP: Remove unwanted preference pages
In my RCP application some unwanted sections in the preferences showed up: How to get rid of them? Thats easy,
WeiterlesenRCP: Perspectives and Perspective Contributions
Note: I put the example project in a ZIP file, you can use that to have a look to the
WeiterlesenRemove unwanted preference pages from your RCP app
In my recent RCP app some unwanted preferences, contributed from other plugins showed up: To remove them, just add the
Weiterlesen