Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8863371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T15:57:43+00:00 2026-06-14T15:57:43+00:00

I want to programmatically open an eclipse view, I tried this code: PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(view.ID); It

  • 0

I want to programmatically open an eclipse view, I tried this code:

PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(view.ID);

It opens the view but it only instantiate it once.. I need to open a view on a double click on a file in the package explorer, the only way I found so far is opening it in the editor constructor ( a custom editor, btw if anybody knows how to open a view on double click on a file in the package explorer I’m all ears). To populate the view (tree view) I use data from a file, it works fine the first time I open it but then it does not refresh its content.

Can I perhaps access the view class object and manipulate somehow (get the tree viewer object maybe)? The perfect way to do this would be to open the view on a double click directly in the file that I need to render but I didn’t find how, can anybody help?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T15:57:45+00:00Added an answer on June 14, 2026 at 3:57 pm

    What you are describing is really a read-only editor. There shouldn’t be any reason that you couldn’t implement an editor with dummy save() and saveAs() implementations. You’d get the double-click support you want in any navigation view.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

$('#popupDiv').popup(open); This programmatically opens a JQueryMobile pop up, but I want to know if
I want to open the Ctrl-Shift-T dialog (find a type) programmatically in eclipse plug-in.
How can I open the DateTimePicker C# control programmatically? I want to show the
I want to programmatically modify a bitmap using python but don't really need a
I want to programmatically re-open the main window of my Cocoa application after the
I want to do the opposite of this: Android Browser: open several URLs, each
Question I want to programmatically open a RTF file in Microsoft Word using C#.
I have a large CSV file and I want to programmatically open it in
I want to add named data cache programmatically in appfabric. I kept following code
I want to open up the callout for an MKPinAnnotationView programmatically. Eg I drop

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.