-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3239] Add missing reference widget builder
Bug: #3239 Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com>
- Loading branch information
1 parent
187c4cb
commit 4ce24de
Showing
46 changed files
with
428 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
.../components/view/builder/generated/ConditionalReferenceWidgetDescriptionStyleBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2023, 2024 Obeo. | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Obeo - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.sirius.components.view.builder.generated; | ||
|
||
/** | ||
* Builder for ConditionalReferenceWidgetDescriptionStyleBuilder. | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public class ConditionalReferenceWidgetDescriptionStyleBuilder { | ||
|
||
/** | ||
* Create instance org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle. | ||
* @generated | ||
*/ | ||
private org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle conditionalReferenceWidgetDescriptionStyle = org.eclipse.sirius.components.widgets.reference.ReferenceFactory.eINSTANCE.createConditionalReferenceWidgetDescriptionStyle(); | ||
|
||
/** | ||
* Return instance org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle. | ||
* @generated | ||
*/ | ||
protected org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle getConditionalReferenceWidgetDescriptionStyle() { | ||
return this.conditionalReferenceWidgetDescriptionStyle; | ||
} | ||
|
||
/** | ||
* Return instance org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle. | ||
* @generated | ||
*/ | ||
public org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle build() { | ||
return this.getConditionalReferenceWidgetDescriptionStyle(); | ||
} | ||
|
||
/** | ||
* Setter for Condition. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder condition(java.lang.String value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setCondition(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for FontSize. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder fontSize(java.lang.Integer value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setFontSize(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for Italic. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder italic(java.lang.Boolean value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setItalic(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for Bold. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder bold(java.lang.Boolean value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setBold(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for Underline. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder underline(java.lang.Boolean value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setUnderline(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for StrikeThrough. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder strikeThrough(java.lang.Boolean value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setStrikeThrough(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for Color. | ||
* | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder color(org.eclipse.sirius.components.view.UserColor value) { | ||
this.getConditionalReferenceWidgetDescriptionStyle().setColor(value); | ||
return this; | ||
} | ||
|
||
} | ||
|
53 changes: 53 additions & 0 deletions
53
...src/main/java/org/eclipse/sirius/components/view/builder/generated/ReferenceBuilders.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2023, 2024 Obeo. | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Obeo - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.sirius.components.view.builder.generated; | ||
|
||
/** | ||
* Use to instantiate a new builder. | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public class ReferenceBuilders { | ||
/** | ||
* Instantiate a ReferenceWidgetDescriptionBuilder . | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder newReferenceWidgetDescription() { | ||
return new ReferenceWidgetDescriptionBuilder(); | ||
} | ||
|
||
/** | ||
* Instantiate a ReferenceWidgetDescriptionStyleBuilder . | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionStyleBuilder newReferenceWidgetDescriptionStyle() { | ||
return new ReferenceWidgetDescriptionStyleBuilder(); | ||
} | ||
|
||
/** | ||
* Instantiate a ConditionalReferenceWidgetDescriptionStyleBuilder . | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public ConditionalReferenceWidgetDescriptionStyleBuilder newConditionalReferenceWidgetDescriptionStyle() { | ||
return new ConditionalReferenceWidgetDescriptionStyleBuilder(); | ||
} | ||
|
||
|
||
} |
134 changes: 134 additions & 0 deletions
134
...g/eclipse/sirius/components/view/builder/generated/ReferenceWidgetDescriptionBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2023, 2024 Obeo. | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Obeo - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.sirius.components.view.builder.generated; | ||
|
||
/** | ||
* Builder for ReferenceWidgetDescriptionBuilder. | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public class ReferenceWidgetDescriptionBuilder { | ||
|
||
/** | ||
* Create instance org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescription. | ||
* @generated | ||
*/ | ||
private org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescription referenceWidgetDescription = org.eclipse.sirius.components.widgets.reference.ReferenceFactory.eINSTANCE.createReferenceWidgetDescription(); | ||
|
||
/** | ||
* Return instance org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescription. | ||
* @generated | ||
*/ | ||
protected org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescription getReferenceWidgetDescription() { | ||
return this.referenceWidgetDescription; | ||
} | ||
|
||
/** | ||
* Return instance org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescription. | ||
* @generated | ||
*/ | ||
public org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescription build() { | ||
return this.getReferenceWidgetDescription(); | ||
} | ||
|
||
/** | ||
* Setter for Name. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder name(java.lang.String value) { | ||
this.getReferenceWidgetDescription().setName(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for LabelExpression. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder labelExpression(java.lang.String value) { | ||
this.getReferenceWidgetDescription().setLabelExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for HelpExpression. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder helpExpression(java.lang.String value) { | ||
this.getReferenceWidgetDescription().setHelpExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for IsEnabledExpression. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder isEnabledExpression(java.lang.String value) { | ||
this.getReferenceWidgetDescription().setIsEnabledExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for ReferenceOwnerExpression. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder referenceOwnerExpression(java.lang.String value) { | ||
this.getReferenceWidgetDescription().setReferenceOwnerExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for ReferenceNameExpression. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder referenceNameExpression(java.lang.String value) { | ||
this.getReferenceWidgetDescription().setReferenceNameExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for Body. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder body(org.eclipse.sirius.components.view.Operation ... values) { | ||
for (org.eclipse.sirius.components.view.Operation value : values) { | ||
this.getReferenceWidgetDescription().getBody().add(value); | ||
} | ||
return this; | ||
} | ||
|
||
/** | ||
* Setter for Style. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder style(org.eclipse.sirius.components.widgets.reference.ReferenceWidgetDescriptionStyle value) { | ||
this.getReferenceWidgetDescription().setStyle(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for ConditionalStyles. | ||
* | ||
* @generated | ||
*/ | ||
public ReferenceWidgetDescriptionBuilder conditionalStyles(org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle ... values) { | ||
for (org.eclipse.sirius.components.widgets.reference.ConditionalReferenceWidgetDescriptionStyle value : values) { | ||
this.getReferenceWidgetDescription().getConditionalStyles().add(value); | ||
} | ||
return this; | ||
} | ||
|
||
|
||
} | ||
|
Oops, something went wrong.