-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2080] Add an inital label value when editing tree items label #2081
Merged
Conversation
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
mcharfadi
force-pushed
the
mch/enh/tree-direct-edit
branch
7 times, most recently
from
June 19, 2023 11:55
1f4dd60
to
7ecf494
Compare
sbegaudeau
requested changes
Jun 20, 2023
integration-tests/cypress/e2e/project/edit/document-context-menu.cy.js
Outdated
Show resolved
Hide resolved
...pse/sirius/components/collaborative/editingcontext/EditingContextEventProcessorRegistry.java
Outdated
Show resolved
Hide resolved
.../sirius/web/graphql/datafetchers/editingcontext/EditingContextRepresentationDataFetcher.java
Outdated
Show resolved
Hide resolved
packages/trees/frontend/sirius-components-trees/src/treeitems/TreeItemDirectEditInput.tsx
Outdated
Show resolved
Hide resolved
packages/trees/frontend/sirius-components-trees/src/treeitems/TreeItemDirectEditInput.tsx
Outdated
Show resolved
Hide resolved
packages/trees/frontend/sirius-components-trees/src/treeitems/TreeItemDirectEditInput.tsx
Outdated
Show resolved
Hide resolved
packages/trees/frontend/sirius-components-trees/src/treeitems/TreeItemDirectEditInput.types.ts
Outdated
Show resolved
Hide resolved
packages/trees/frontend/sirius-components-trees/src/views/ExplorerView.tsx
Show resolved
Hide resolved
mcharfadi
changed the title
[2080] Add direct edit support on trees elements
[2080] Add an inital label value when editing tree items label
Jun 20, 2023
mcharfadi
force-pushed
the
mch/enh/tree-direct-edit
branch
6 times, most recently
from
June 21, 2023 12:21
f563a18
to
e1c8853
Compare
pcdavid
requested changes
Jun 28, 2023
...rius/components/collaborative/trees/handlers/InitialDirectEditTreeItemLabelEventHandler.java
Show resolved
Hide resolved
pcdavid
reviewed
Jun 28, 2023
...org/eclipse/sirius/web/services/explorer/ExplorerInitialDirectEditTreeItemLabelProvider.java
Show resolved
Hide resolved
mcharfadi
force-pushed
the
mch/enh/tree-direct-edit
branch
from
June 29, 2023 08:51
e1c8853
to
4f2c0ae
Compare
pcdavid
approved these changes
Jun 30, 2023
pcdavid
force-pushed
the
mch/enh/tree-direct-edit
branch
from
June 30, 2023 19:23
4f2c0ae
to
ab83834
Compare
sbegaudeau
force-pushed
the
mch/enh/tree-direct-edit
branch
2 times, most recently
from
July 3, 2023 08:45
e2c75a0
to
0d6ff9b
Compare
Bug: #2080 Signed-off-by: Michaël Charfadi <michael.charfadi@obeosoft.com>
sbegaudeau
force-pushed
the
mch/enh/tree-direct-edit
branch
from
July 3, 2023 09:33
0d6ff9b
to
e5cda95
Compare
sbegaudeau
approved these changes
Jul 3, 2023
|
||
@Override | ||
public IPayload handle(IEditingContext editingContext, Tree tree, InitialDirectEditElementLabelInput input) { | ||
return new InitialDirectEditElementLabelSuccessPayload(input.id(), ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to return here the current label of the selected tree item
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bug: #2080