eclipse plugin: Move the project explorer to a better place

This commit is contained in:
Timotei Dolean 2011-07-30 08:02:28 +00:00
parent 0f9a1a06bf
commit 0b8bf4f9a8
6 changed files with 12 additions and 13 deletions

View file

@ -53,7 +53,6 @@ Export-Package: org.wesnoth,
org.wesnoth.handlers,
org.wesnoth.installs,
org.wesnoth.jface,
org.wesnoth.navigator,
org.wesnoth.parseTreeConstruction,
org.wesnoth.parser.antlr,
org.wesnoth.parser.antlr.internal,

View file

@ -218,9 +218,9 @@
</category>
<view
category="org.wesnoth.views"
class="org.wesnoth.navigator.WesnothProjectsExplorer"
class="org.wesnoth.views.WesnothProjectsExplorer"
icon="icons/wesnoth-icon_16.png"
id="org.wesnoth.navigator.WesnothProjectsExplorer"
id="org.wesnoth.views.WesnothProjectsExplorer"
name="Wesnoth Projects">
</view>
<view
@ -270,10 +270,10 @@
<extension
point="org.eclipse.ui.navigator.viewer">
<viewer
viewerId="org.wesnoth.navigator.WesnothProjectsExplorer">
viewerId="org.wesnoth.views.WesnothProjectsExplorer">
</viewer>
<viewerContentBinding
viewerId="org.wesnoth.navigator.WesnothProjectsExplorer">
viewerId="org.wesnoth.views.WesnothProjectsExplorer">
<includes>
<contentExtension
pattern="org.eclipse.ui.navigator.resourceContent">
@ -287,7 +287,7 @@
</includes>
</viewerContentBinding>
<viewerActionBinding
viewerId="org.wesnoth.navigator.WesnothProjectsExplorer">
viewerId="org.wesnoth.views.WesnothProjectsExplorer">
<includes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.*">
@ -680,8 +680,8 @@
<extension
point="org.eclipse.ui.elementFactories">
<factory
class="org.wesnoth.navigator.WesnothProjectsExplorer"
id="org.wesnoth.navigator.WesnothProjectsExplorer">
class="org.wesnoth.views.WesnothProjectsExplorer"
id="org.wesnoth.views.WesnothProjectsExplorer">
</factory>
</extension>
<extension

View file

@ -12,8 +12,8 @@ import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.ui.console.IConsoleConstants;
import org.wesnoth.navigator.WesnothProjectsExplorer;
import org.wesnoth.views.AddonsView;
import org.wesnoth.views.WesnothProjectsExplorer;
public class WMLPerspective implements IPerspectiveFactory
{

View file

@ -12,8 +12,8 @@ import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
import org.eclipse.ui.ide.IDE;
import org.wesnoth.navigator.WesnothProjectsExplorer;
import org.wesnoth.utils.WorkspaceUtils;
import org.wesnoth.views.WesnothProjectsExplorer;
public class WesnothWorkbenchAdvisor extends WorkbenchAdvisorHack {

View file

@ -39,10 +39,10 @@ import org.wesnoth.Logger;
import org.wesnoth.Messages;
import org.wesnoth.WesnothPlugin;
import org.wesnoth.installs.WesnothInstallsUtils;
import org.wesnoth.navigator.WesnothProjectsExplorer;
import org.wesnoth.preferences.Preferences;
import org.wesnoth.preferences.Preferences.Paths;
import org.wesnoth.projects.ProjectUtils;
import org.wesnoth.views.WesnothProjectsExplorer;
public class WorkspaceUtils
{

View file

@ -6,7 +6,7 @@
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
package org.wesnoth.navigator;
package org.wesnoth.views;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.IAdaptable;
@ -19,7 +19,7 @@ import org.eclipse.ui.navigator.CommonNavigator;
public class WesnothProjectsExplorer extends CommonNavigator implements
IPersistableElement, IElementFactory
{
public static final String ID_PROJECTS_EXPLORER = "org.wesnoth.navigator.WesnothProjectsExplorer"; //$NON-NLS-1$
public static final String ID_PROJECTS_EXPLORER = "org.wesnoth.views.WesnothProjectsExplorer"; //$NON-NLS-1$
public WesnothProjectsExplorer()
{