Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Re: A question of views (Vinny)


This is a newsgroup question... but see http://help.eclipse.org/help30/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_perspectiveExtensions.html, specifically the <view> child tag and the relative/relationship attributes.  Here's the example it proposes to layout the JDT views in the Resource perspective:

    <extension point="org.eclipse.ui.perspectiveExtensions">
        <perspectiveExtension
            targetID="org.eclipse.ui.resourcePerspective">
            <actionSet id="org.eclipse.jdt.ui.JavaActionSet"/>
            <viewShortcut id="org.eclipse.jdt.ui.PackageExplorer"/>
            <newWizardShortcut id="org.eclipse.jdt.ui.wizards.NewProjectCreationWizard"/>
            <perspectiveShortcut id="org.eclipse.jdt.ui.JavaPerspective"/>
            <view id="org.eclipse.jdt.ui.PackageExplorer"
                relative="org.eclipse.ui.views.ResourceNavigator"
                relationship="stack"/>
            <view id="org.eclipse.jdt.ui.TypeHierarchy"
                relative="org.eclipse.ui.views.ResourceNavigator"
                relationship="left"
                ratio="0.50"/>
        </perspectiveExtension>
    </extension>

-- Dan



pde-dev-request@xxxxxxxxxxx
Sent by: pde-dev-admin@xxxxxxxxxxx

01/21/2005 12:00 PM

Please respond to
pde-dev

To
pde-dev@xxxxxxxxxxx
cc
Subject
pde-dev digest, Vol 1 #226 - 1 msg




----- Message from Vinny <vince256@xxxxxxxxxxx> on Thu, 20 Jan 2005 09:10:23 -0800 -----
To:
pde-dev@xxxxxxxxxxx
Subject:
Re: [pde-dev] A question of views

Good morning Mark, wish I had an answer for you but instead I'm just
here to beg that you tell me if you get an answer for this.  Have the
same problem and asked on the discussion board a while back with no luck.

Hope somebody answers!

-Vince Eagen

Mark Drew wrote:

>Hi there,
>I have developed a plugin that is an extension of another plugin.  My
>plugin is basically an additional Tree View. Now, the problem I have
>is that when you initially open this view, it goes to the bottom
>section, but I would like it to appear on the left. I havent been able
>to find anything on this and its driving me nuts. Any ideas?
>
>  




Back to the top