Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java')
-rw-r--r--bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java66
1 files changed, 63 insertions, 3 deletions
diff --git a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java
index afafe02af3f..9bd93d5fd8b 100644
--- a/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java
+++ b/bundles/org.eclipse.e4.ui.model.workbench/src/org/eclipse/e4/ui/model/application/ui/basic/util/BasicSwitch.java
@@ -108,7 +108,7 @@ public class BasicSwitch<T1> extends Switch<T1> {
MCompositePart compositePart = (MCompositePart)theEObject;
T1 result = caseCompositePart(compositePart);
if (result == null) result = casePart(compositePart);
- if (result == null) result = casePartSashContainer(compositePart);
+ if (result == null) result = caseGenericTile(compositePart);
if (result == null) result = casePartSashContainerElement(compositePart);
if (result == null) result = caseStackElement(compositePart);
if (result == null) result = caseContribution(compositePart);
@@ -118,10 +118,9 @@ public class BasicSwitch<T1> extends Switch<T1> {
if (result == null) result = caseDirtyable(compositePart);
if (result == null) result = caseBindings(compositePart);
if (result == null) result = caseWindowElement(compositePart);
- if (result == null) result = caseGenericTile(compositePart);
- if (result == null) result = caseApplicationElement(compositePart);
if (result == null) result = caseElementContainer(compositePart);
if (result == null) result = caseUIElement(compositePart);
+ if (result == null) result = caseApplicationElement(compositePart);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -239,6 +238,37 @@ public class BasicSwitch<T1> extends Switch<T1> {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case BasicPackageImpl.DIALOG: {
+ MDialog dialog = (MDialog)theEObject;
+ T1 result = caseDialog(dialog);
+ if (result == null) result = caseWindow(dialog);
+ if (result == null) result = caseElementContainer(dialog);
+ if (result == null) result = caseUILabel(dialog);
+ if (result == null) result = caseContext(dialog);
+ if (result == null) result = caseHandlerContainer(dialog);
+ if (result == null) result = caseBindings(dialog);
+ if (result == null) result = caseSnippetContainer(dialog);
+ if (result == null) result = caseUIElement(dialog);
+ if (result == null) result = caseApplicationElement(dialog);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case BasicPackageImpl.WIZARD_DIALOG: {
+ MWizardDialog wizardDialog = (MWizardDialog)theEObject;
+ T1 result = caseWizardDialog(wizardDialog);
+ if (result == null) result = caseDialog(wizardDialog);
+ if (result == null) result = caseWindow(wizardDialog);
+ if (result == null) result = caseElementContainer(wizardDialog);
+ if (result == null) result = caseUILabel(wizardDialog);
+ if (result == null) result = caseContext(wizardDialog);
+ if (result == null) result = caseHandlerContainer(wizardDialog);
+ if (result == null) result = caseBindings(wizardDialog);
+ if (result == null) result = caseSnippetContainer(wizardDialog);
+ if (result == null) result = caseUIElement(wizardDialog);
+ if (result == null) result = caseApplicationElement(wizardDialog);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
default: return defaultCase(theEObject);
}
}
@@ -424,6 +454,36 @@ public class BasicSwitch<T1> extends Switch<T1> {
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>Dialog</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Dialog</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T1 caseDialog(MDialog object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Wizard Dialog</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpreting the object as an instance of '<em>Wizard Dialog</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T1 caseWizardDialog(MWizardDialog object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>Element</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;

Back to the top