FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

IOService recognizes a new 3rd state of loading data by xulman · Pull Request #430 · scijava/scijava-common · GitHub

IOService recognizes a new 3rd state of loading data - #430

Closed
xulman wants to merge 1 commit into
scijava:masterfrom
xulman:IOServiceSupports3rdPartyAppOpeners
Closed

IOService recognizes a new 3rd state of loading data#430
xulman wants to merge 1 commit into
scijava:masterfrom
xulman:IOServiceSupports3rdPartyAppOpeners

Conversation

xulman commented Feb 6, 2022

Copy link
Copy Markdown

The IOService allows (likely among other functionalities) a client-code to be hooked into the drag&drop chain of openers. Each opener in this chain is asked if it supportsOpen() and Object open(final Location source) is called on the first opener supporting the given input.

However, the open() call expects data to be loaded that, in the drag&drop scenario, is directly submitted to uiService.show().

This PR attempts to solve the use case when the open() actually wants to use its own way of presenting the loaded data. The proposal defines a special, unique, signalling object IOService.GOVERNING_APP_STARTED that must be returned from the open() calls in such cases, that is, when 3rd party app is opened on the incoming (dropped-in) file.

This PR works in conjunction with fiji/IO#18

xulman commented Oct 18, 2023

Copy link
Copy Markdown
Author

deprecated in favour of SelfShowableContent -> #473

xulman closed this Oct 18, 2023
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL