Author: vyemialyanchyk
Date: 2008-11-28 10:01:26 -0500 (Fri, 28 Nov 2008)
New Revision: 12125
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
Log:
adjust class name
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-11-28
14:58:58 UTC (rev 12124)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2008-11-28
15:01:26 UTC (rev 12125)
@@ -769,7 +769,7 @@
<view
allowMultiple="false"
category="hibernatecategory"
-
class="org.hibernate.eclipse.console.views.navigator.KnownConfigurationsNaviagtor"
+
class="org.hibernate.eclipse.console.views.navigator.KnownConfigurationsNavigator"
id="org.hibernate.eclipse.navigator.KnownConfigurationsViewer"
name="Hibernate Configurations"/>
</extension>
Copied:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java
(from rev 10769,
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNaviagtor.java)
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java
(rev 0)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java 2008-11-28
15:01:26 UTC (rev 12125)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.hibernate.eclipse.console.views.navigator;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.navigator.CommonNavigator;
+import org.hibernate.console.KnownConfigurations;
+
+public class KnownConfigurationsNavigator extends CommonNavigator {
+
+ protected IAdaptable getInitialInput() {
+ return new AdaptableWrapper(new String());
+ }
+
+ public void createPartControl(Composite aParent) {
+ super.createPartControl( aParent );
+ getCommonViewer().setInput(KnownConfigurations.getInstance());
+ }
+}
Property changes on:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/navigator/KnownConfigurationsNavigator.java
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mergeinfo
+
Name: svn:eol-style
+ native