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

  • Home
  • SEARCH
  • 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 8986289
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:30:51+00:00 2026-06-15T21:30:51+00:00

I have a perspective containing a top view and a folder with two stacked

  • 0

I have a perspective containing a top view and a folder with two stacked views:

The views in the folder all need to update when a selection is made in the top view. This is accomplished by adding a selection listener. However, only the view that is actually shown reacts on the selection. When I select another view, it is still empty.

The code that adds the selection listener is placed in the view’s init() method and apparently this is only called for the first view in the folder when the perspective is loaded.

Is there a way to switch off this “lazy loading” so that all views are created (and their init() method called) when the perspective is created?

Thanks in advance for any 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-15T21:30:52+00:00Added an answer on June 15, 2026 at 9:30 pm

    This is not a bug, it is a feature.
    Eclipse greatly benefits from this behaviour as not all plugins/views/etc. are loaded as long as they are not really needed. This is the reason why your listeners are that lately registered (as soon as the view content is really created).

    But back to your problem:
    You could try to create/activate all of them manually.

    Simply call

    PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(<ViewID>)
    

    for every one of them.
    If they are not activated and brought to front (but shown in the backround of the stack) then take a look at the overloaded showView() method with secID (can be null) and an additional specific mode flag.

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

Sidebar

Related Questions

I have a squared formed image. I need to add perspective view to it
All, I basically have two identical pages from a coding perspective. The first page
I'm using a Perspective View with gluPerspective and gluLookAt and I have the x,y
I am trying to create a simple ray tracer. I have a perspective view
I have two perspectives , but to see the second perspective , as you
I want to get the community's perspective on this. If I have a process
I need to have total control of the perspective menu. I already hacked into
i have this function that transforms image to trapezoid using PHP GD: function perspective($i,$gradient=0.9,$rightdown=true,$background=0xFFFFFF)
I have this image... I would like to transform it perspective like this via
For my Eclipse plugin I have created a new perspective. This perspective consists of

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.