<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://javawiki.sowas.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://javawiki.sowas.com/feed.php">
        <title>Java Wiki en:eclipse-rcp</title>
        <description></description>
        <link>http://javawiki.sowas.com/</link>
        <image rdf:resource="http://javawiki.sowas.com/lib/images/favicon.ico" />
       <dc:date>2023-09-18T06:05:11+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:activatecontext&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:application-settitle&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:binding&amp;rev=1350570367&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:bundle-plugin-feature&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:command-call&amp;rev=1350570387&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:create-product&amp;rev=1362490940&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-iconverter&amp;rev=1353072810&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-istartup&amp;rev=1353074508&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-rcp&amp;rev=1363441305&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editor-open&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editor-view&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editorpage-image&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:maximize-applicationwindow&amp;rev=1350567876&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:menues&amp;rev=1362488928&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:perspective&amp;rev=1363437609&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:realm&amp;rev=1363438959&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:saferunner&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:searchresultviewpart&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:setsize-applicationwindow&amp;rev=1350568112&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:source-example-application&amp;rev=1350567456&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:tabbed-views&amp;rev=1363438446&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:umlaute&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:wizard-forms&amp;rev=1579723244&amp;do=diff"/>
                <rdf:li rdf:resource="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:wizard&amp;rev=1363440389&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://javawiki.sowas.com/lib/images/favicon.ico">
        <title>Java Wiki</title>
        <link>http://javawiki.sowas.com/</link>
        <url>http://javawiki.sowas.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:activatecontext&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:activatecontext</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:activatecontext&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



org.eclipse.ui.contexts

In the example it is set an own context at the receipt of the focus. At the loss of the focus, the context is removed again. 









addFocusListener(new FocusListener() {
   IContextActivation context;
   IContextService service;
            
   @Override
   public void focusGained(FocusEvent e) {
      service = (IContextService)PlatformUIActivator.getDefault().getWorkbench().getService(IContextService.class);
      context = service.activateCon…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:application-settitle&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:application-settitle</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:application-settitle&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



org.eclipse.ui.application.WorkbenchWindowAdvisor











public class ApplicationWorkbenchWindowAdvisor extends WorkbenchWindowAdvisor {
   ...
   
   @Override
   public void preWindowOpen() {
      IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
      configurer.setTitle(&quot;Mein Titel&quot;);  //$NON-NLS-1$
   }	
}</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:binding&amp;rev=1350570367&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-10-18T16:26:07+02:00</dc:date>
        <title>en:eclipse-rcp:binding</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:binding&amp;rev=1350570367&amp;do=diff</link>
        <description>Java - Eclipse-RCP



JFace-Data-Binding from Eclipse 3.3



In a thought example, a model shall consist of these three attributes:


	*  surname

	*  first name

	*  date of birth









binding-method

The binding-method can be implemented for example in the MyFormPart-class.</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:bundle-plugin-feature&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:bundle-plugin-feature</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:bundle-plugin-feature&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



A Bundle is a loadable codeunity of the OSGi-framework.



Each Eclipse-Plugin corresponds to an OSGi-Bundle.



A Fragment is a part of a plugin. The appearance of a fragment is just like the appearance of a plugin. There are just a few little differences:</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:command-call&amp;rev=1350570387&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-10-18T16:26:27+02:00</dc:date>
        <title>en:eclipse-rcp:command-call</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:command-call&amp;rev=1350570387&amp;do=diff</link>
        <description>Java - Eclipse-RCP



org.eclipse.ui.commands.ICommandService
 








ICommandService cs = (ICommandService)PlatformUI.getWorkbench().getService(ICommandService.class);
try {
   cs.getCommand(&quot;MyCommandID&quot;).executeWithChecks(new ExecutionEvent());
} catch (Exception e) {
   e.printStackTrace();
}</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:create-product&amp;rev=1362490940&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-05T14:42:20+02:00</dc:date>
        <title>en:eclipse-rcp:create-product</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:create-product&amp;rev=1362490940&amp;do=diff</link>
        <description>Java - Eclipse-RCP



	*  requirement is a plugin.
	*  in the plugin manifest (plugin.xml) an extension to org.eclipse.core.runetime.products has to be created, in which Product Id, name and description have to be indicated.
	*  create a Product in the menu with data file/new/other/plugin Development/Product Configuration (the easiest way is out of „use a launch configuration“). Indicate the Product Id there like in the Plug-in.
	*  If a Splahscreen is desired, then a file „splash.bmp“ can be fi…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-iconverter&amp;rev=1353072810&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-11-16T14:33:30+02:00</dc:date>
        <title>en:eclipse-rcp:eclipse-iconverter</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-iconverter&amp;rev=1353072810&amp;do=diff</link>
        <description>Java - Eclipse-RCP



org.eclipse.core.databinding.conversion.IConverter

This is a simple example for a converter, which converts an integer to a string:









class MyIntegerToStringConverter implements IConverter() {
   /** delivers the conversion result */
   public Object convert(Object fromObject) {
      return fromObject.toString();
   }
   /** delivers the type, which shall be converted **/
   public Object getFromType() {
      return Integer.class;
   }
   /** delivers the type, to…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-istartup&amp;rev=1353074508&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-11-16T15:01:48+02:00</dc:date>
        <title>en:eclipse-rcp:eclipse-istartup</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-istartup&amp;rev=1353074508&amp;do=diff</link>
        <description>Java - Eclipse-RCP



When a plugin expands the extensionpoint org.eclipse.ui.startup, the plugin is loaded immediately after the initialization of the workbench.




package com.sowas.javawiki.startup;
import org.eclipse.ui.IStartup;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.PlatformUI;

public class MyStartup implements IStartup {
   public void earlyStartup() {
      IWorkbench workbench = PlatformUI.getWorkbench();
      workbench.getDisplay().syncExec(new Runnable() {
        …</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-rcp&amp;rev=1363441305&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-16T14:41:45+02:00</dc:date>
        <title>en:eclipse-rcp:eclipse-rcp</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:eclipse-rcp&amp;rev=1363441305&amp;do=diff</link>
        <description>The here available code-shreds assume a complete application.

The source for these application-examples are found here: source-example-application




	*  activate own context
	*  applicationwindow, set size
	*  applicationwindow, set title
	*  binding (from Eclipse 3.3)
	*  bundle/plugin/feature - definition
	*  commands, manuel call
	*  create product
	*  editorpage, set icon
	*  editor - view, distinction
	*  IConverter
	*  IStartup - load plugin early</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editor-open&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:editor-open</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editor-open&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



In the following example an editor is opened.

This occurs in a seperate thread, so that the GUI doesn't „freeze up“ during the opening.

The method openEditor(..) doesn't have to be compulsory within the editor.








The editor must be registered in the extensions within the plugin.xml under the extension point org.eclipse.ui.editors (use PDE-editor for it; call occurs by opening the MANIFEST.MF-file).

You have to name minimal id (here: com.sowas.javawiki.MyEditor) and…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editor-view&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:editor-view</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editor-view&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



	*  The essential distinction is, that an opened editor is visible in each perspective.
	*  Editors cannot be placed in any order.</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editorpage-image&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:editorpage-image</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:editorpage-image&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



To set the icon in the rider of an editorpage, the method configurePage(..) in the FormEditor has to be overwritten:









@Override
protected void configurePage(final int index, final IFormPage page) throws PartInitException {
   super.configurePage(index, page); 
   setPageImage(index, page.getTitleImage());
}</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:maximize-applicationwindow&amp;rev=1350567876&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-10-18T15:44:36+02:00</dc:date>
        <title>en:eclipse-rcp:maximize-applicationwindow</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:maximize-applicationwindow&amp;rev=1350567876&amp;do=diff</link>
        <description>Java - Eclipse-RCP



To maximize the mainwindow of an Eclipse-RCP-application at the gun (full screen), the method createWindowContents(..) in the class ApplicationWorkbenchWindowAdvisor must be overwritten.









import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.application.ActionBarAdvisor;
import org.eclipse.ui.application.IActionBarConfigurer;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;

public class Ap…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:menues&amp;rev=1362488928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-05T14:08:48+02:00</dc:date>
        <title>en:eclipse-rcp:menues</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:menues&amp;rev=1362488928&amp;do=diff</link>
        <description>Java - Eclipse-RCP



The creation of menues and toolbars is almost identical and therefore, it will be explained together.










with one handler per menu item

In the example, a script with the menu item Tahoma 10 shall be created above a menu:</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:perspective&amp;rev=1363437609&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-16T13:40:09+02:00</dc:date>
        <title>en:eclipse-rcp:perspective</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:perspective&amp;rev=1363437609&amp;do=diff</link>
        <description>Java - Eclipse-RCP



Determine the initial perspective:




public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
   public String getInitialWindowPerspectiveId() {
      return MyPerspective.ID;
   }
}










Display the perspective-selection and determine position:</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:realm&amp;rev=1363438959&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-16T14:02:39+02:00</dc:date>
        <title>en:eclipse-rcp:realm</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:realm&amp;rev=1363438959&amp;do=diff</link>
        <description>Java - Eclipse-RCP



org.eclipse.core.databinding.observable.Realm



A Realm defines a context from which the access on objects, which are based on IObservable, has to occur.

In practice a Realm corresponds to a Thread.

To enable the access over several Realms, subclasses from Binding can be used.








If you want to access objects without Binding, the access must occur as follows:</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:saferunner&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:saferunner</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:saferunner&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



The code in the handed over SafeRunnable runs in a protected mode. Exceptions are logged, but not passed on outwards.









SafeRunner.run(new SafeRunnable() {
   public void run() throws Exception {
      ...
   }
});</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:searchresultviewpart&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:searchresultviewpart</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:searchresultviewpart&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



org.eclipse.search.ui.ISearchResultPage

org.eclipse.search.ui.ISearchResultViewPart

org.eclipse.search.ui.NewSearchUI









ISearchResultViewPart part = NewSearchUI.getSearchResultView();
ISearchResultPage page = part.getActivePage();</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:setsize-applicationwindow&amp;rev=1350568112&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-10-18T15:48:32+02:00</dc:date>
        <title>en:eclipse-rcp:setsize-applicationwindow</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:setsize-applicationwindow&amp;rev=1350568112&amp;do=diff</link>
        <description>Java - Eclipse-RCP



To set the size of the mainwindow of an Eclipse-RCP-application at the gun the method createWindowContents(..) in the class ApplicationWorkbenchWindowAdvisor must be overwritten.

At the same place you can also set, if a toolbar (coolbar) and a statusline shall be displayed.</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:source-example-application&amp;rev=1350567456&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-10-18T15:37:36+02:00</dc:date>
        <title>en:eclipse-rcp:source-example-application</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:source-example-application&amp;rev=1350567456&amp;do=diff</link>
        <description>Java - Eclipse-RCP



The following source is the basis for many code shreds which are listed in the RCP-part of this wiki:





MyEditor.java:




package com.sowas.javawiki.rcpbaseapplication;

import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IPersistableElement;
import org.eclipse.ui.IWorkbenchPage;
imp…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:tabbed-views&amp;rev=1363438446&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-16T13:54:06+02:00</dc:date>
        <title>en:eclipse-rcp:tabbed-views</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:tabbed-views&amp;rev=1363438446&amp;do=diff</link>
        <description>Java - Eclipse-RCP



It is quite simple to order several viewsone behind the other. The individual views can be selected over tabs.




package com.sowas.javawiki.rcp.views;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class MyPerspectiveFactory implements IPerspectiveFactory {
  public final static String ID = &quot;myviews&quot;;
    
   public void createInitialLayout(IPageLayout layout) {
      layout.setEditorAreaVisible(…</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:umlaute&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:umlaute</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:umlaute&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



If vowel mutations shall be depicted correctly, so the following line has to fit in the file build.properties:









javacDefaultEncoding.. = UTF-8</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:wizard-forms&amp;rev=1579723244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-22T21:00:44+02:00</dc:date>
        <title>en:eclipse-rcp:wizard-forms</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:wizard-forms&amp;rev=1579723244&amp;do=diff</link>
        <description>Java - Eclipse-RCP



Basis of this example is again the example-application.



The advantage of Wizards with Forms is that the same GUI-elements can be used for Editor and Wizard.








Let's begin with the class MyWizard, in which the method addPages() can be changed as follows:</description>
    </item>
    <item rdf:about="http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:wizard&amp;rev=1363440389&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-16T14:26:29+02:00</dc:date>
        <title>en:eclipse-rcp:wizard</title>
        <link>http://javawiki.sowas.com/doku.php?id=en:eclipse-rcp:wizard&amp;rev=1363440389&amp;do=diff</link>
        <description>Java - Eclipse-RCP



Basis of this example is the example-application.








The (empty) Wizard:




package com.sowas.javawiki.rcpbaseapplication.wizard;

import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.ui.INewWizard;
import org.eclipse.ui.IWorkbench;

public class MyWizard extends Wizard implements INewWizard{

   @Override
   public boolean performFinish(){
      return false;
   }

   @Override
   public void init(IWorkbenc…</description>
    </item>
</rdf:RDF>
