eclipse plugin: Move the project explorer to a better place
This commit is contained in:
parent
0f9a1a06bf
commit
0b8bf4f9a8
6 changed files with 12 additions and 13 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
Loading…
Add table
Reference in a new issue