Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Common Navigator, PopUp Menu , import wizard
Common Navigator, PopUp Menu , import wizard [message #453411] Fri, 28 July 2006 16:07
Eclipse UserFriend
Originally posted by: mgervais.signaturegenetics.com

Hi,
I'm trying to use common navigator and I'd like to have some help about
wizard. I've created a wizard to import a project(from a database) in my
navigator. but when I do a right clikc in the navigator nothing is
displayed, so I don't know what is missing. I join my plugin.xml if somebody
has an idea... I cannot find the answer in examples. And My other questions
is how to implements saveables. because I've set providesSaveables to true
for the navigatorcontent but I don't know what I've to do with that, because
I'd like to save the status of my navigator in a specific file.
thanks
Mickael

<?xml version="1.0" encoding="UTF-8"?>

<?eclipse version="3.2"?>

<plugin>

<extension point="org.eclipse.ui.newWizards">

<category id="com.seryx.eclipse.project.wizards.project"

name="Project" />

<wizard canFinishEarly="true"

category="com.seryx.eclipse.project.wizards.project"

class=" com.seryx.eclipse.folder.internal.ui.internal.wizards.NewPro jectWizard "

hasPages="true" icon="icons/full/etool16/newprj_wiz.gif"

id="com.seryx.eclipse.project.ui.internal.ProjectNewWizard"

name="New Project" project="false">

<description>Create a new Project</description>

</wizard>

</extension>

<extension point="org.eclipse.ui.views">

<view name="Project Navigator"

class=" com.seryx.eclipse.folder.internal.ui.internal.navigator.Proj ectNavigatorView "

id="com.seryx.eclipse.project.ui.internal.ProjectNavigator" >

</view>

</extension>

<extension point="org.eclipse.ui.navigator.navigatorContent">

<navigatorContent

activeByDefault="true"

contentProvider=" com.seryx.eclipse.folder.internal.ui.ProjectNavigatorContent Provider "

id="com.seryx.eclipse.project.ui.content"

labelProvider=" com.seryx.eclipse.folder.internal.ui.ProjectNavigatorLabelPr ovider "

name="Content Provider"

priority="normal"

providesSaveables="true">

<enablement>

<adapt

type="com.seryx.eclipse.folder.internal.ui.ProjectManager" />

</enablement>

<commonWizard

menuGroupId="group.port"

type="import"

wizardId="com.seryx.eclipse.project.ui.wizard.project">

<enablement>

<count value="*"/>

</enablement>

</commonWizard>

</navigatorContent>

</extension>

<extension point="org.eclipse.ui.navigator.viewer">

<viewerContentBinding

viewerId="com.seryx.eclipse.project.ui.internal.ProjectNavigator ">

<includes>

<contentExtension isRoot="true"

pattern="com.seryx.eclipse.project.ui.content" />

</includes>

</viewerContentBinding>

<viewer

viewerId="com.seryx.eclipse.project.ui.internal.ProjectNavigator ">

<popupMenu

allowsPlatformContributions="true"

id="com.seryx.eclipse.project.ui.menu">


<insertionPoint name="group.new" separator="true" />

<insertionPoint name="group.open" separator="true" />

<insertionPoint name="group.edit" separator="true" />

<insertionPoint name="group.show" separator="true" />

<insertionPoint name="group.port" separator="false" />

<insertionPoint name="group.search" separator="true" />

<insertionPoint name="additions" separator="true" />

<insertionPoint name="group.properties"

separator="true" />

</popupMenu>

</viewer>

</extension>

<extension point="org.eclipse.ui.importWizards">

<category id="com.seryx.eclipse.project" name="Project" />

<wizard category="com.seryx.eclipse.project"

class=" com.seryx.eclipse.folder.internal.ui.internal.wizards.Import ProjectWizard "

icon="icons/full/etool16/importdir_wiz.gif"

id="com.seryx.eclipse.project.ui.wizard.project"

name="Import Project From Database" />

</extension>

</plugin>
Previous Topic:adding files and values to concerned folder of tree in eclipse rcp
Next Topic:Are IEditorInput and MultiPageEditorActionBarContributor required to implement
Goto Forum:
  


Current Time: Thu Oct 03 20:21:32 GMT 2024

Powered by FUDForum. Page generated in 0.03061 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top