Uploaded image for project: 'Workflow Engine'
  1. Workflow Engine
  2. WFE-30

Workbench Plugin: Reexport org.eclipse.ui dependency

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None
    • Requirement Category:
      Functional

      Description

      If one wants to write his own WorkflowDelegate extending the AbstractWorkbenchDelegate, such as

      public class HelloWorldWorkflowDelegate
      extends
      AbstractWorkbenchDelegate<HelloWorldConfiguration, Workflow>{

      he needs to specify the WorkflowConfigurationType and WorkflowType as type parameters. To be able to use the standard Workflow class, as shown above, the class loader needs to access classes from org.eclipse.ui to resolve a valid type hierarchy in the de.uka.ipd.sdq.de.workflow.workbench plugin.
      To ensure this, the plugin de.uka.ipd.sdq.de.workflow.workbench should reexport the dependency to the plugin org.eclipse.ui.

      Otherwise you will get an error such as no valid type hierarchy.

        Attachments

          Activity

            People

            Assignee:
            benjamin Benjamin Klatt (Inactive)
            Reporter:
            benjamin Benjamin Klatt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration