You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pa...@apache.org on 2008/05/24 17:29:30 UTC
svn commit: r659840 - in
/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor:
v150/ v151/
Author: pamarcelot
Date: Sat May 24 08:29:30 2008
New Revision: 659840
URL: http://svn.apache.org/viewvc?rev=659840&view=rev
Log:
Changed the CheckboxTableViewer to simple TableViewer.
Modified:
directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/ExtendedOperationsMasterDetailsBlock.java
directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/InterceptorsMasterDetailsBlock.java
directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/ExtendedOperationsMasterDetailsBlock.java
directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/InterceptorsMasterDetailsBlock.java
Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/ExtendedOperationsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/ExtendedOperationsMasterDetailsBlock.java?rev=659840&r1=659839&r2=659840&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/ExtendedOperationsMasterDetailsBlock.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/ExtendedOperationsMasterDetailsBlock.java Sat May 24 08:29:30 2008
@@ -29,11 +29,11 @@
import org.apache.directory.studio.apacheds.configuration.model.v150.ServerConfigurationV150;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.viewers.ArrayContentProvider;
-import org.eclipse.jface.viewers.CheckboxTableViewer;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@@ -76,7 +76,7 @@
private static final String NEW_NAME = "newExtendedOperation";
// UI Fields
- private CheckboxTableViewer viewer;
+ private TableViewer viewer;
private Button addButton;
private Button deleteButton;
@@ -117,14 +117,14 @@
section.setClient( client );
// Creatig the Table and Table Viewer
- Table table = toolkit.createTable( client, SWT.CHECK );
+ Table table = toolkit.createTable( client, SWT.NONE );
GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 2 );
gd.heightHint = 20;
gd.widthHint = 100;
table.setLayoutData( gd );
final SectionPart spart = new SectionPart( section );
managedForm.addPart( spart );
- viewer = new CheckboxTableViewer( table );
+ viewer = new TableViewer( table );
viewer.addSelectionChangedListener( new ISelectionChangedListener()
{
public void selectionChanged( SelectionChangedEvent event )
Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/InterceptorsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/InterceptorsMasterDetailsBlock.java?rev=659840&r1=659839&r2=659840&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/InterceptorsMasterDetailsBlock.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v150/InterceptorsMasterDetailsBlock.java Sat May 24 08:29:30 2008
@@ -29,11 +29,11 @@
import org.apache.directory.studio.apacheds.configuration.model.v150.ServerConfigurationV150;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.viewers.ArrayContentProvider;
-import org.eclipse.jface.viewers.CheckboxTableViewer;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@@ -76,7 +76,7 @@
private static final String NEW_NAME = "New Interceptor ";
// UI Fields
- private CheckboxTableViewer viewer;
+ private TableViewer viewer;
private Button addButton;
private Button deleteButton;
private Button upButton;
@@ -121,14 +121,14 @@
section.setClient( client );
// Creatig the Table and Table Viewer
- Table table = toolkit.createTable( client, SWT.CHECK );
+ Table table = toolkit.createTable( client, SWT.NONE );
GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 4 );
gd.heightHint = 20;
gd.widthHint = 100;
table.setLayoutData( gd );
final SectionPart spart = new SectionPart( section );
managedForm.addPart( spart );
- viewer = new CheckboxTableViewer( table );
+ viewer = new TableViewer( table );
viewer.addSelectionChangedListener( new ISelectionChangedListener()
{
public void selectionChanged( SelectionChangedEvent event )
Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/ExtendedOperationsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/ExtendedOperationsMasterDetailsBlock.java?rev=659840&r1=659839&r2=659840&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/ExtendedOperationsMasterDetailsBlock.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/ExtendedOperationsMasterDetailsBlock.java Sat May 24 08:29:30 2008
@@ -117,7 +117,7 @@
section.setClient( client );
// Creatig the Table and Table Viewer
- Table table = toolkit.createTable( client, SWT.CHECK );
+ Table table = toolkit.createTable( client, SWT.NONE );
GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 2 );
gd.heightHint = 20;
gd.widthHint = 100;
Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/InterceptorsMasterDetailsBlock.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/InterceptorsMasterDetailsBlock.java?rev=659840&r1=659839&r2=659840&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/InterceptorsMasterDetailsBlock.java (original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v151/InterceptorsMasterDetailsBlock.java Sat May 24 08:29:30 2008
@@ -121,7 +121,7 @@
section.setClient( client );
// Creatig the Table and Table Viewer
- Table table = toolkit.createTable( client, SWT.CHECK );
+ Table table = toolkit.createTable( client, SWT.NONE );
GridData gd = new GridData( SWT.FILL, SWT.FILL, true, true, 1, 4 );
gd.heightHint = 20;
gd.widthHint = 100;