-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4403] Add support of row actions in table view DSL
Bug: #4403 Signed-off-by: Jerome Gout <[email protected]>
- Loading branch information
1 parent
833d045
commit 34b2e24
Showing
37 changed files
with
2,434 additions
and
723 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
95 changes: 95 additions & 0 deletions
95
...rg/eclipse/sirius/components/view/builder/generated/table/RowContextMenuEntryBuilder.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,95 @@ | ||
/******************************************************************************* | ||
* 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.table; | ||
|
||
/** | ||
* Builder for RowContextMenuEntryBuilder. | ||
* | ||
* @author BuilderGenerator | ||
* @generated | ||
*/ | ||
public class RowContextMenuEntryBuilder { | ||
|
||
/** | ||
* Create instance org.eclipse.sirius.components.view.table.RowContextMenuEntry. | ||
* @generated | ||
*/ | ||
private org.eclipse.sirius.components.view.table.RowContextMenuEntry rowContextMenuEntry = org.eclipse.sirius.components.view.table.TableFactory.eINSTANCE.createRowContextMenuEntry(); | ||
|
||
/** | ||
* Return instance org.eclipse.sirius.components.view.table.RowContextMenuEntry. | ||
* @generated | ||
*/ | ||
protected org.eclipse.sirius.components.view.table.RowContextMenuEntry getRowContextMenuEntry() { | ||
return this.rowContextMenuEntry; | ||
} | ||
|
||
/** | ||
* Return instance org.eclipse.sirius.components.view.table.RowContextMenuEntry. | ||
* @generated | ||
*/ | ||
public org.eclipse.sirius.components.view.table.RowContextMenuEntry build() { | ||
return this.getRowContextMenuEntry(); | ||
} | ||
|
||
/** | ||
* Setter for Name. | ||
* | ||
* @generated | ||
*/ | ||
public RowContextMenuEntryBuilder name(java.lang.String value) { | ||
this.getRowContextMenuEntry().setName(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for LabelExpression. | ||
* | ||
* @generated | ||
*/ | ||
public RowContextMenuEntryBuilder labelExpression(java.lang.String value) { | ||
this.getRowContextMenuEntry().setLabelExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for IconURLExpression. | ||
* | ||
* @generated | ||
*/ | ||
public RowContextMenuEntryBuilder iconURLExpression(java.lang.String value) { | ||
this.getRowContextMenuEntry().setIconURLExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for PreconditionExpression. | ||
* | ||
* @generated | ||
*/ | ||
public RowContextMenuEntryBuilder preconditionExpression(java.lang.String value) { | ||
this.getRowContextMenuEntry().setPreconditionExpression(value); | ||
return this; | ||
} | ||
/** | ||
* Setter for Body. | ||
* | ||
* @generated | ||
*/ | ||
public RowContextMenuEntryBuilder body(org.eclipse.sirius.components.view.Operation ... values) { | ||
for (org.eclipse.sirius.components.view.Operation value : values) { | ||
this.getRowContextMenuEntry().getBody().add(value); | ||
} | ||
return this; | ||
} | ||
|
||
|
||
} | ||
|
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
Oops, something went wrong.