Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-ui-dev] Multiple instances of a view?

In eclipse there can be at most one instance per
view. This is a nice concept. However, there are use cases
where this restriction can cause major headaches:

- Suppose I want to launch two instances of a program
  and I want to see the console outputs side by side.
  At the moment, I have switch between the outputs
  (with the additional disadvantage that you loose
  the scroll position when switching)
- Suppose I want to look at the hierarchy of two
  more classes. With the "at most one view" concept this
  becomes very difficult (again, switching between the
  states is slow and you loos the scroll position)
- Suppose I have multiple debug sessions running and I
  want to see the local variables of two sessions side
  by side, that's not possible....
- ... any usecase where a user wants to see multiple views
  in parallel...

We are implementing a set of views where one use case is, to
have multiple instances visible at the same time (the
examples above I used to illustrate the problem, and
to show that this is a more general problem).

- What is the eclipse way to solve those use cases?
  - Use (read-only) editors instead of views?
  - Create a plugins.xml with MyView1, MyView2, MyView3... all
    refering to the same class with different Ids?
  - Create view configurations on the fly, if needed (ist
    this possible)?



Michael
--
     ''''\     Michael Scharf
    ` c-@@     Wind River Systems GmbH
    `    >     http://www.WindRiver.com
     \_ V      mailto:Michael.Scharf@xxxxxxxxxxxxx





Back to the top