JBoss Tools SVN: r7884 - trunk/hibernatetools/docs/reference/en.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2008-04-29 06:25:27 -0400 (Tue, 29 Apr 2008)
New Revision: 7884
Modified:
trunk/hibernatetools/docs/reference/en/master.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-153 - Key Features chapter is created in Hibernate tools guide
Modified: trunk/hibernatetools/docs/reference/en/master.xml
===================================================================
--- trunk/hibernatetools/docs/reference/en/master.xml 2008-04-29 10:12:10 UTC (rev 7883)
+++ trunk/hibernatetools/docs/reference/en/master.xml 2008-04-29 10:25:27 UTC (rev 7884)
@@ -2,6 +2,7 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
"http://www.oasis-open.org/docbook/xml/4.3CR3/docbookx.dtd"
[
+<!ENTITY preface SYSTEM "modules/preface.xml">
<!ENTITY setup SYSTEM "modules/setup.xml">
<!ENTITY codegenarchitecture SYSTEM "modules/codegenarchitecture.xml">
<!ENTITY plugins SYSTEM "modules/plugins.xml">
@@ -34,12 +35,14 @@
</mediaobject>
</bookinfo>
<toc/>
- <preface>
- <title>Preface</title>
-
- <para>Hibernate Tools is a toolset for <ulink url="http://www.hibernate.org/6.html">Hibernate
- 3</ulink> and <ulink url="http://www.hibernate.org/27.html">related projects</ulink>. The
- tools provide Ant tasks and Eclipse plugins for performing reverse engineering, code
- generation, visualization and interaction with Hibernate.</para>
- </preface> &setup; &codegenarchitecture; &plugins; &ant; &reveng;
- &codegen; </book>
+
+ &preface;
+ &setup;
+ &codegenarchitecture;
+ &plugins;
+ &ant;
+ &reveng;
+ &codegen;
+
+
+ </book>
16 years
JBoss Tools SVN: r7883 - trunk/documentation/guides/GettingStartedGuide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: tromanovich
Date: 2008-04-29 06:12:10 -0400 (Tue, 29 Apr 2008)
New Revision: 7883
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/first_seam.xml
trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml
trunk/documentation/guides/GettingStartedGuide/en/modules/jsp_application.xml
trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-235 - Guide review
Getting Started Guide reviewing and changing.
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/first_seam.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/first_seam.xml 2008-04-29 09:19:49 UTC (rev 7882)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/first_seam.xml 2008-04-29 10:12:10 UTC (rev 7883)
@@ -74,7 +74,7 @@
technologies from the list. Here, for this project, we will select Dynamic Web Module, Java, JavaServer Faces (JSF), and Seam Facet for
a typical database-driven web application. The default project facets should suffice, click on <property>Next</property>.</para>
- <figure>
+ <figure id="ProjectFacetsSpecifyingScreen">
<title>Project Facets Specifying</title>
<mediaobject>
<imageobject>
@@ -83,7 +83,7 @@
</mediaobject>
</figure>
- <para>In this screen you can also bring up server runtimes panel by clicking <property>Show Runtimes</property> in the bottom right corner.
+ <para>In the <ulink url="ProjectFacetsSpecifyingScreen">Project Facets Specifying</ulink> form you can also bring up server runtimes panel by clicking <property>Show Runtimes</property> in the bottom right corner.
This panel shows available server runtimes. Then this button will be changed into <property>Hide Runtimes</property> one.</para>
<para>Click <property>Next</property> to proceed further.</para>
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml 2008-04-29 09:19:49 UTC (rev 7882)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/getting_started.xml 2008-04-29 10:12:10 UTC (rev 7883)
@@ -18,6 +18,9 @@
required to use JBoss Developer Studio to develop on JBoss Enterprise Middleware and/or Red Hat
Linux. But, many find these pre-configured tools offer significant time-savings and value, making
them more productive and speeding time to deployment.</para>
+ <para>This guide covers the first steps to get started working with JBoss Developer Studio. You will learn how to install and
+ configure necessary software for your OS (operating system).</para>
+ <para>Thus this guide will provide you with detailed info on how to start JDK, JBDS and JBoss Tools.</para>
</section>
<section id="ConfigJavaEnvironment">
@@ -25,7 +28,7 @@
<title>Configuring Your Java Environment</title>
<para>You must have a working installation of JDK 5 before you install JBoss Developer Studio.
Currently it will only fully work with a 32-bit JVM, not a 64-bit JVM. On a 64-bit JVM the visual
- editor fails to launch. Thus in this guide we will show you how to install a 32-bit Sun JDK 5.0
+ editor fails to launch because of feature of OS architecture. Thus in this guide we will show you how to install a 32-bit Sun JDK 5.0
on a Linux Platform and Microsoft Windows Platform.</para>
<section id="InstallJDK50onLinux">
@@ -36,7 +39,7 @@
<para>Download the <ulink url="http://java.sun.com/javase/downloads/index_jdk5.jsp">Sun JDK 5.0
(Java 2 Development Kit)</ulink> from Sun's website. Choose "JDK 5.0 Update
<x>" (where "x" is the latest update number) for
- download and then select "RPM in self-extracting" file for Linux. Read the
+ download and then select "Red Hat Package Manager in self-extracting" file for Linux. Read the
instructions on Sun's website for installing the JDK.</para>
</listitem>
<listitem>
@@ -233,7 +236,7 @@
<note>
<title>Note:</title>
- <para>JBoss Developer Studio needs Java 5 and doesn't work with gij Java.</para>
+ <para>JBoss Developer Studio needs Java 5 and "gij" isn't available on every platform.</para>
</note>
<itemizedlist>
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/jsp_application.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/jsp_application.xml 2008-04-29 09:19:49 UTC (rev 7882)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/jsp_application.xml 2008-04-29 10:12:10 UTC (rev 7883)
@@ -179,16 +179,14 @@
]]></programlisting>
<para>If you come back to design mode you will see that the changes made are
automatically reflected in that mode.</para>
- <para>Actually you don't really need to do any configurations right now. You can clear the
- web.xml file, save it and you'll still be able to launch your
- application.</para>
+ <para>Actually you don't really need to do any configurations right now.</para>
</section>
<section id="DeployTheProject">
<?dbhtml filename="DeployTheProject.html"?>
<title>Deploying the project</title>
<para>While creating any web project you could experience a pain writing ant scripts and
- managing the packaging even if a developer is writing the most trivial web
+ managing the packaging even when writing the most trivial web
applications. With JBoss Developer Studio you are saved from such a pain. All you
need is to start JBoss server and launch your application in your favorite browser.</para>
<para>You can also create a war archive with JBDS's Archive Tools and export it
Modified: trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml
===================================================================
--- trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml 2008-04-29 09:19:49 UTC (rev 7882)
+++ trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml 2008-04-29 10:12:10 UTC (rev 7883)
@@ -255,7 +255,7 @@
<listitem>
<para>Click <emphasis>
<property>Add</property>
- </emphasis> button</para>
+ </emphasis> button for adding new attribute to your resource file</para>
</listitem>
<listitem>
<para>Type <emphasis role="italic">
@@ -295,6 +295,14 @@
</imageobject>
</mediaobject>
</figure>
+ <para><emphasis>
+ <property>Up</property></emphasis>
+ and <emphasis>
+ <property>Down</property>
+ </emphasis> buttons allow you to move you attribute on the list. For delete the attribute, choose it and press <emphasis>
+ <property>Delete</property></emphasis> button.</para>
+ <para>If you want to change a value or a name of your attribute, click on it and than on <emphasis>
+ <property>Edit</property></emphasis> button.</para>
</section>
<section id="CreatingJavaBean">
@@ -545,7 +553,7 @@
<section id="EditingTheJSPViewFiles2">
<?dbhtml filename="EditingTheJSPViewFiles2.html"?>
<title>Editing the JSP View Files</title>
- <para>Now, we will finish editing the JSP files for our two "views" using
+ <para>Now, we will continue editing the JSP files for our two "views" using
Visual Page Editor.</para>
<section id="EditingInputjsp">
<?dbhtml filename="EditingInputjsp.html"?>
16 years
JBoss Tools SVN: r7882 - branches/jbosstools-2.1.x.
by jbosstools-commits@lists.jboss.org
Author: max.andersen(a)jboss.com
Date: 2008-04-29 05:19:49 -0400 (Tue, 29 Apr 2008)
New Revision: 7882
Added:
branches/jbosstools-2.1.x/jbpm/
Log:
branch missing jbpm docs
Copied: branches/jbosstools-2.1.x/jbpm (from rev 7881, trunk/jbpm)
16 years
JBoss Tools SVN: r7881 - branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.ui.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-04-28 20:42:06 -0400 (Mon, 28 Apr 2008)
New Revision: 7881
Modified:
branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
JBIDE-2166 removing the perspectiveExtensions extension point
Modified: branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2008-04-29 00:35:46 UTC (rev 7880)
+++ branches/jbosstools-2.1.x/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2008-04-29 00:42:06 UTC (rev 7881)
@@ -121,18 +121,10 @@
name="Seam Components">
</view>
</extension>
+
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
- targetID="org.eclipse.ui.resourcePerspective">
- <view
- id="org.jboss.tools.seam.ui.views.SeamComponentsView"
- ratio="0.5"
- relationship="right"
- relative="org.eclipse.ui.views.TaskList">
- </view>
- </perspectiveExtension>
- <perspectiveExtension
targetID="org.jboss.tools.seam.ui.SeamPerspective">
<newWizardShortcut
id="org.jboss.tools.seam.ui.wizards.SeamProjectWizard">
@@ -189,7 +181,7 @@
<navigatorContent
name="Seam Components"
priority="highest"
- icon="icons/sample.gif"
+ icon="icons/seam16.png"
activeByDefault="true"
contentProvider="org.jboss.tools.seam.ui.views.RootContentProvider"
labelProvider="org.jboss.tools.seam.ui.views.SeamLabelProvider"
16 years
JBoss Tools SVN: r7880 - trunk/seam/plugins/org.jboss.tools.seam.ui.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-04-28 20:35:46 -0400 (Mon, 28 Apr 2008)
New Revision: 7880
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
JBIDE-2166 removing the perspectiveExtensions extension point
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2008-04-28 22:56:27 UTC (rev 7879)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2008-04-29 00:35:46 UTC (rev 7880)
@@ -124,15 +124,6 @@
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
- targetID="org.eclipse.ui.resourcePerspective">
- <view
- id="org.jboss.tools.seam.ui.views.SeamComponentsNavigator"
- ratio="0.5"
- relationship="right"
- relative="org.eclipse.ui.views.TaskList">
- </view>
- </perspectiveExtension>
- <perspectiveExtension
targetID="org.jboss.tools.seam.ui.SeamPerspective">
<newWizardShortcut
id="org.jboss.tools.seam.ui.wizards.SeamProjectWizard">
16 years
JBoss Tools SVN: r7879 - branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-04-28 18:56:27 -0400 (Mon, 28 Apr 2008)
New Revision: 7879
Modified:
branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerFrame.java
branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerTableViewer.java
Log:
ganymede compile fixes
Modified: branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerFrame.java
===================================================================
--- branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerFrame.java 2008-04-28 21:04:33 UTC (rev 7878)
+++ branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerFrame.java 2008-04-28 22:56:27 UTC (rev 7879)
@@ -27,10 +27,12 @@
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
+import org.eclipse.jface.action.IContributionManager;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
+import org.eclipse.jface.bindings.TriggerSequence;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.SWT;
@@ -44,10 +46,14 @@
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
import org.eclipse.swt.widgets.TreeItem;
+import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IViewSite;
+import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchActionConstants;
import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.ui.PlatformUI;
+import org.eclipse.ui.actions.ActionFactory;
+import org.eclipse.ui.keys.IBindingService;
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.internal.Server;
import org.eclipse.wst.server.core.internal.Trace;
@@ -55,10 +61,17 @@
import org.eclipse.wst.server.ui.internal.Messages;
import org.eclipse.wst.server.ui.internal.ServerUIPlugin;
import org.eclipse.wst.server.ui.internal.actions.NewServerWizardAction;
+import org.eclipse.wst.server.ui.internal.view.servers.CopyAction;
import org.eclipse.wst.server.ui.internal.view.servers.DeleteAction;
import org.eclipse.wst.server.ui.internal.view.servers.ModuleSloshAction;
+import org.eclipse.wst.server.ui.internal.view.servers.OpenAction;
+import org.eclipse.wst.server.ui.internal.view.servers.PasteAction;
+import org.eclipse.wst.server.ui.internal.view.servers.PropertiesAction;
import org.eclipse.wst.server.ui.internal.view.servers.PublishAction;
import org.eclipse.wst.server.ui.internal.view.servers.PublishCleanAction;
+import org.eclipse.wst.server.ui.internal.view.servers.RenameAction;
+import org.eclipse.wst.server.ui.internal.view.servers.ShowInConsoleAction;
+import org.eclipse.wst.server.ui.internal.view.servers.ShowInDebugAction;
import org.eclipse.wst.server.ui.internal.view.servers.StartAction;
import org.eclipse.wst.server.ui.internal.view.servers.StopAction;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
@@ -78,10 +91,15 @@
protected IViewSite viewSite;
protected Tree treeTable;
protected ServerTableViewer tableViewer;
- protected Action editLaunchConfigAction;
- protected Action twiddleAction;
- protected Action newServerAction;
+
+ // custom
+ protected Action editLaunchConfigAction, twiddleAction, newServerAction;
+ // wtp
+ protected Action actionModifyModules;
+ protected Action openAction, showInConsoleAction, showInDebugAction, propertiesAction;
+ protected Action copyAction, pasteAction, deleteAction, renameAction;
+
public ServerFrame(Composite parent, JBossServerView view) {
super(parent, SWT.BORDER);
setLayout(new FillLayout());
@@ -149,55 +167,111 @@
}
protected void fillContextMenu(Shell shell, IMenuManager menu) {
- menu.add(newServerAction);
if( getSelectedServer() != null ) {
- menu.add(new Separator());
- menu.add(new DeleteAction(new Shell(), getSelectedServer()));
- menu.add(new Separator());
- menu.add(actions[1]);
- menu.add(actions[0]);
- menu.add(actions[3]);
- menu.add(actions[4]);
- menu.add(actions[5]);
- menu.add(new Separator());
- menu.add(twiddleAction);
- menu.add(editLaunchConfigAction);
- menu.add(actions[6]);
- menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
- twiddleAction.setEnabled(true);
- editLaunchConfigAction.setEnabled(true);
- } else {
- menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
+ cloneFill(shell, menu);
}
}
+ protected void cloneFill(Shell shell, IMenuManager menu) {
+
+ /* Show in ... */
+ String text = Messages.actionShowIn;
+ final IWorkbench workbench = PlatformUI.getWorkbench();
+ final IBindingService bindingService = (IBindingService) workbench
+ .getAdapter(IBindingService.class);
+ final TriggerSequence[] activeBindings = bindingService
+ .getActiveBindingsFor("org.eclipse.ui.navigate.showInQuickMenu");
+ if (activeBindings.length > 0) {
+ text += "\t" + activeBindings[0].format();
+ }
+
+ menu.add(newServerAction);
+ menu.add(openAction);
+
+ MenuManager showInMenu = new MenuManager(text);
+ showInMenu.add(showInConsoleAction);
+ showInMenu.add(showInDebugAction);
+ menu.add(showInMenu);
+ menu.add(new Separator());
+
+ menu.add(copyAction);
+ menu.add(pasteAction);
+ menu.add(deleteAction);
+ menu.add(renameAction);
+
+ menu.add(new Separator());
+
+ // server actions
+ for (int i = 0; i < actions.length; i++)
+ menu.add(actions[i]);
+
+ menu.add(new Separator());
+// menu.add(actionModifyModules);
+
+ menu.add(twiddleAction);
+ menu.add(editLaunchConfigAction);
+ menu.add(actionModifyModules);
+ twiddleAction.setEnabled(true);
+ editLaunchConfigAction.setEnabled(true);
+
+ }
+
public IServer getSelectedServer() {
Object o = ((IStructuredSelection)tableViewer.getSelection()).getFirstElement();
return (IServer)o;
}
public void initializeActions(ISelectionProvider provider) {
- Shell shell = site.getShell();
-
- createActions();
+ createWTPActions(provider);
+ createCustomActions();
+ }
+
+ protected void createWTPActions(ISelectionProvider provider) {
+ Shell shell = viewSite.getShell();
+ IActionBars actionBars = viewSite.getActionBars();
- actions = new Action[] {
- // create the start actions
- new StartAction(shell, provider, ILaunchManager.DEBUG_MODE),
- new StartAction(shell, provider, ILaunchManager.RUN_MODE),
- new StartAction(shell, provider, ILaunchManager.PROFILE_MODE),
+ actions = new Action[6];
+ // create the start actions
+ actions[0] = new StartAction(shell, provider, ILaunchManager.DEBUG_MODE);
+ actionBars.setGlobalActionHandler("org.eclipse.wst.server.debug", actions[0]);
+ actions[1] = new StartAction(shell, provider, ILaunchManager.RUN_MODE);
+ actionBars.setGlobalActionHandler("org.eclipse.wst.server.run", actions[1]);
+ actions[2] = new StartAction(shell, provider, ILaunchManager.PROFILE_MODE);
- // create the stop action
- new StopAction(shell, provider),
+ // create the stop action
+ actions[3] = new StopAction(shell, provider);
+ actionBars.setGlobalActionHandler("org.eclipse.wst.server.stop", actions[3]);
- // create the publish actions
- new PublishAction(shell, provider),
- new PublishCleanAction(shell, provider),
- new ModuleSloshAction(shell, provider)
- };
+ // create the publish actions
+ actions[4] = new PublishAction(shell, provider);
+ actionBars.setGlobalActionHandler("org.eclipse.wst.server.publish", actions[4]);
+ actions[5] = new PublishCleanAction(shell, provider);
+
+ // create the open action
+ openAction = new OpenAction(provider);
+ actionBars.setGlobalActionHandler("org.eclipse.ui.navigator.Open", openAction);
+
+ // create copy, paste, and delete actions
+ pasteAction = new PasteAction(shell, provider, tableViewer.clipboard);
+ copyAction = new CopyAction(provider, tableViewer.clipboard, pasteAction);
+ deleteAction = new DeleteAction(shell, provider);
+ renameAction = new RenameAction(shell, tableViewer, provider);
+ actionBars.setGlobalActionHandler(ActionFactory.COPY.getId(), copyAction);
+ actionBars.setGlobalActionHandler(ActionFactory.PASTE.getId(), pasteAction);
+ actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), deleteAction);
+ actionBars.setGlobalActionHandler(ActionFactory.RENAME.getId(), renameAction);
+
+ // create the other actions
+ actionModifyModules = new ModuleSloshAction(shell, provider);
+ showInConsoleAction = new ShowInConsoleAction(provider);
+ showInDebugAction = new ShowInDebugAction(provider);
+
+ // create the properties action
+ propertiesAction = new PropertiesAction(shell, provider);
+ actionBars.setGlobalActionHandler(ActionFactory.PROPERTIES.getId(), propertiesAction);
}
- protected void createActions() {
+ protected void createCustomActions() {
newServerAction = new Action() {
public void run() {
IAction newServerAction = new NewServerWizardAction();
@@ -260,7 +334,7 @@
}
public IAction[] getActionBarActions() {
- return new IAction[] { actions[0], actions[1], actions[2], actions[3], actions[4], actions[5] };
+ return actions;
}
public int getDefaultSize() {
Modified: branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerTableViewer.java
===================================================================
--- branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerTableViewer.java 2008-04-28 21:04:33 UTC (rev 7878)
+++ branches/ganymede/trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/ServerTableViewer.java 2008-04-28 22:56:27 UTC (rev 7879)
@@ -44,13 +44,12 @@
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerSorter;
+import org.eclipse.swt.dnd.Clipboard;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Tree;
-import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IViewSite;
-import org.eclipse.ui.actions.ActionFactory;
import org.eclipse.wst.server.core.IPublishListener;
import org.eclipse.wst.server.core.IServer;
import org.eclipse.wst.server.core.IServerLifecycleListener;
@@ -62,8 +61,6 @@
import org.eclipse.wst.server.core.util.PublishAdapter;
import org.eclipse.wst.server.ui.internal.Trace;
import org.eclipse.wst.server.ui.internal.provisional.UIDecoratorManager;
-import org.eclipse.wst.server.ui.internal.view.servers.ServerAction;
-import org.eclipse.wst.server.ui.internal.view.servers.ServerActionHelper;
import org.eclipse.wst.server.ui.internal.view.servers.ServerTableLabelProvider;
/**
* Tree view showing servers and their associations.
@@ -85,7 +82,7 @@
protected static List starting = new ArrayList();
protected ServerTableLabelProvider2 labelProvider;
- //protected ISelectionListener dsListener;
+ protected Clipboard clipboard;
protected IViewSite viewSite;
@@ -176,7 +173,8 @@
public ServerTableViewer(final IViewSite site, final Tree tree) {
super(tree);
this.viewSite = site;
-
+ clipboard = new Clipboard(tree.getDisplay());
+
setContentProvider(new TrimmedServerContentProvider());
labelProvider = new ServerTableLabelProvider2();
labelProvider.addListener(new ILabelProviderListener() {
@@ -197,11 +195,7 @@
});
setInput(ROOT);
-
addListeners();
-
- IActionBars actionBars = viewSite.getActionBars();
- actionBars.setGlobalActionHandler(ActionFactory.DELETE.getId(), new ServerAction(getControl().getShell(), this, "Delete it!", ServerActionHelper.ACTION_DELETE));
}
protected void addListeners() {
@@ -312,7 +306,8 @@
((Server) servers[i]).removePublishListener(publishListener);
}
}
-
+
+ clipboard.dispose();
super.handleDispose(event);
}
16 years
JBoss Tools SVN: r7878 - trunk/seam/plugins/org.jboss.tools.seam.ui.
by jbosstools-commits@lists.jboss.org
Author: snjeza
Date: 2008-04-28 17:04:33 -0400 (Mon, 28 Apr 2008)
New Revision: 7878
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
Log:
JBIDE-2166 The Seam Components view is incorrectly defined in the perspectiveExtensions extension point
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2008-04-28 18:20:16 UTC (rev 7877)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2008-04-28 21:04:33 UTC (rev 7878)
@@ -126,7 +126,7 @@
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<view
- id="org.jboss.tools.seam.ui.views.SeamComponentsView"
+ id="org.jboss.tools.seam.ui.views.SeamComponentsNavigator"
ratio="0.5"
relationship="right"
relative="org.eclipse.ui.views.TaskList">
16 years
JBoss Tools SVN: r7877 - tags/jbosstools-2.1.0.CR1.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-04-28 14:20:16 -0400 (Mon, 28 Apr 2008)
New Revision: 7877
Added:
tags/jbosstools-2.1.0.CR1/vpe/
Log:
tagging for 2.1.0.CR1
Copied: tags/jbosstools-2.1.0.CR1/vpe (from rev 7876, branches/jbosstools-2.1.x/vpe)
16 years
JBoss Tools SVN: r7876 - tags/jbosstools-2.1.0.CR1.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-04-28 14:20:06 -0400 (Mon, 28 Apr 2008)
New Revision: 7876
Added:
tags/jbosstools-2.1.0.CR1/tests/
Log:
tagging for 2.1.0.CR1
Copied: tags/jbosstools-2.1.0.CR1/tests (from rev 7875, branches/jbosstools-2.1.x/tests)
16 years
JBoss Tools SVN: r7875 - tags/jbosstools-2.1.0.CR1.
by jbosstools-commits@lists.jboss.org
Author: mculpepper(a)jboss.com
Date: 2008-04-28 14:19:56 -0400 (Mon, 28 Apr 2008)
New Revision: 7875
Added:
tags/jbosstools-2.1.0.CR1/struts/
Log:
tagging for 2.1.0.CR1
Copied: tags/jbosstools-2.1.0.CR1/struts (from rev 7874, branches/jbosstools-2.1.x/struts)
16 years