René's URL Explorer Experiment


Title: ADD: SelfShowableContent - a new kind of opening outcome by xulman · Pull Request #473 · scijava/scijava-common · GitHub

Open Graph Title: ADD: SelfShowableContent - a new kind of opening outcome by xulman · Pull Request #473 · scijava/scijava-common

X Title: ADD: SelfShowableContent - a new kind of opening outcome by xulman · Pull Request #473 · scijava/scijava-common

Description: It is often used in conjuction with openers that do load-and-show on their own, as opposed to load-only-and-have-Fiji-to-show pattern. Requires a patch on the imagej-legacy side... will PR there too. Example code package sc.fiji.ome.zarr.fiji.ui; import net.imagej.ImageJ; import org.scijava.io.AbstractIOPlugin; import org.scijava.io.IOPlugin; import org.scijava.io.location.Location; import org.scijava.plugin.Attr; import org.scijava.plugin.Plugin; import org.scijava.ui.SelfShowableContent; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @Plugin(type = IOPlugin.class, attrs = @Attr(name = "eager")) public class MinimalFolderOpeningExample extends AbstractIOPlugin { @Override public boolean supportsOpen(Location source) { System.out.println(this.getClass().getName() + " is considering the file "+source); // final Path filePath = Paths.get(source.getURI()); boolean canOpen = Files.isDirectory(filePath) && filePath.toString().endsWith(".xyz"); System.out.println(this.getClass().getName() + " says canOpen = " + canOpen); return canOpen; } @Override public Object open(Location source) throws IOException { final String message = this.getClass().getName() + " is opening the file "+source; return new SelfShowableContent<>( source.toString(), m -> System.out.println("I just took care of the .xyz folder: "+m) ); } @Override public Class getDataType() { return Object.class; } public static void main(String[] args) { ImageJ ij = new ImageJ(); ij.ui().showUI(); } }

Open Graph Description: It is often used in conjuction with openers that do load-and-show on their own, as opposed to load-only-and-have-Fiji-to-show pattern. Requires a patch on the imagej-legacy side... will PR there to...

X Description: It is often used in conjuction with openers that do load-and-show on their own, as opposed to load-only-and-have-Fiji-to-show pattern. Requires a patch on the imagej-legacy side... will PR there to...

Opengraph URL: https://github.com/scijava/scijava-common/pull/473

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e7ae1659-b878-47d1-8ee9-e48d35463726
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7E2:272AE1:6028C8:8590D1:696A2612
html-safe-nonce585aa128be6e27038c9d61f5b7ab5e4abeafe77acfd20bc0832011884195319f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0UyOjI3MkFFMTo2MDI4Qzg6ODU5MEQxOjY5NkEyNjEyIiwidmlzaXRvcl9pZCI6IjY0NjE5NTYxNzQ2NzExMjgwODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac83fcb87e231187816f8d1d0fb6e2bc22161180ccdcad733e3b6749c5c64daf54
hovercard-subject-tagpull_request:1563089955
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scijava/scijava-common/pull/473/files
twitter:imagehttps://avatars.githubusercontent.com/u/10509335?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10509335?s=400&v=4
og:image:altIt is often used in conjuction with openers that do load-and-show on their own, as opposed to load-only-and-have-Fiji-to-show pattern. Requires a patch on the imagej-legacy side... will PR there to...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id3594497
octolytics-dimension-repository_nwoscijava/scijava-common
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3594497
octolytics-dimension-repository_network_root_nwoscijava/scijava-common
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scijava/scijava-common/pull/473/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F473%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F473%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scijava%2Fscijava-common
Reloadhttps://github.com/scijava/scijava-common/pull/473/files
Reloadhttps://github.com/scijava/scijava-common/pull/473/files
Reloadhttps://github.com/scijava/scijava-common/pull/473/files
scijava https://github.com/scijava
scijava-commonhttps://github.com/scijava/scijava-common
Notifications https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Fork 53 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Star 90 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Code https://github.com/scijava/scijava-common
Issues 169 https://github.com/scijava/scijava-common/issues
Pull requests 16 https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects 0 https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/scijava/scijava-common/security
Please reload this pagehttps://github.com/scijava/scijava-common/pull/473/files
Insights https://github.com/scijava/scijava-common/pulse
Code https://github.com/scijava/scijava-common
Issues https://github.com/scijava/scijava-common/issues
Pull requests https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security https://github.com/scijava/scijava-common/security
Insights https://github.com/scijava/scijava-common/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
xulmanhttps://github.com/xulman
scijava:masterhttps://github.com/scijava/scijava-common/tree/master
xulman:SelfShowableContenthttps://github.com/xulman/scijava-common/tree/SelfShowableContent
Conversation 1 https://github.com/scijava/scijava-common/pull/473
Commits 1 https://github.com/scijava/scijava-common/pull/473/commits
Checks 0 https://github.com/scijava/scijava-common/pull/473/checks
Files changed https://github.com/scijava/scijava-common/pull/473/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/473/files
ADD: SelfShowableContent - a new kind of opening outcome https://github.com/scijava/scijava-common/pull/473/files#top
Show all changes 1 commit https://github.com/scijava/scijava-common/pull/473/files
13626d1 ADD: SelfShowableContent - a new kind of opening outcome xulman Jun 14, 2023 https://github.com/scijava/scijava-common/pull/473/commits/13626d130d511339ce65086a22e07fd2468d0735
Clear filters https://github.com/scijava/scijava-common/pull/473/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/473/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/473/files
src/main/java/org/scijava/ui/SelfShowableContent.javahttps://github.com/scijava/scijava-common/pull/473/files#diff-9387e32076c2cbf5c185b6ad3ba848ecf383f50d1cf330353d32bfede6e7b5ed
View file https://github.com/scijava/scijava-common/blob/13626d130d511339ce65086a22e07fd2468d0735/src/main/java/org/scijava/ui/SelfShowableContent.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/scijava/scijava-common/pull/473/{{ revealButtonHref }}
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.