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/01/23 17:42:37 UTC
svn commit: r614580 - in /directory/studio/trunk/studio-schemaeditor: ./
src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/
src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/
Author: pamarcelot
Date: Wed Jan 23 08:42:34 2008
New Revision: 614580
URL: http://svn.apache.org/viewvc?rev=614580&view=rev
Log:
Disabling the Online Schema Editing capabilities of the Schema Editor (until it is possible to commit the new schema inside Apache DS).
Modified:
directory/studio/trunk/studio-schemaeditor/plugin.xml
directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/PluginPreferencePage.java
directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java
directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java
Modified: directory/studio/trunk/studio-schemaeditor/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/plugin.xml?rev=614580&r1=614579&r2=614580&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/plugin.xml (original)
+++ directory/studio/trunk/studio-schemaeditor/plugin.xml Wed Jan 23 08:42:34 2008
@@ -19,8 +19,7 @@
under the License.
-->
<plugin>
- <extension-point id="org.apache.directory.studio.schemaeditor.schemaConnectors" name="Schema Editor Schema Connectors" schema="src/main/resources/org.apache.directory.studio.schemaeditor.schemaConnectors.exsd"/>
- <extension
+ <extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.apache.directory.studio.schemaeditor.view.Perspective"
@@ -287,14 +286,6 @@
showScopeSection="false"
sizeHint="450,300"/>
</extension>
- <extension
- point="org.apache.directory.studio.schemaeditor.schemaConnectors">
- <schemaConnector
- name="Apache Directory Server"
- id="org.apache.directory.studio.schemaeditor.schemaConnectors.apacheDirectoryServer"
- description="A SchemaConnector for Apache Directory Server."
- class="org.apache.directory.studio.schemaeditor.model.io.ApacheDsSchemaConnector"/>
- </extension>
<extension
point="org.eclipse.ui.contexts">
<context
Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/PluginPreferencePage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/PluginPreferencePage.java?rev=614580&r1=614579&r2=614580&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/PluginPreferencePage.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/preferences/PluginPreferencePage.java Wed Jan 23 08:42:34 2008
@@ -77,90 +77,90 @@
composite.setLayout( new GridLayout() );
composite.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
- // SchemaConnectors Group
- Group schemaConnectorsGroup = new Group( composite, SWT.NONE );
- schemaConnectorsGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
- schemaConnectorsGroup.setLayout( new GridLayout( 2, true ) );
- schemaConnectorsGroup.setText( "Schema Connectors" );
-
- // Available Schema Connectors Label
- Label availableSchemaConnectorsLabel = new Label( schemaConnectorsGroup, SWT.NONE );
- availableSchemaConnectorsLabel.setText( "Available Connectors:" );
-
- // Description Label
- Label descriptionLabel = new Label( schemaConnectorsGroup, SWT.NONE );
- descriptionLabel.setText( "Description:" );
- // SchemaConnectors TableViewer
- final TableViewer schemaConnectorsTableViewer = new TableViewer( schemaConnectorsGroup, SWT.BORDER | SWT.SINGLE
- | SWT.FULL_SELECTION );
- GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false );
- gridData.heightHint = 125;
- schemaConnectorsTableViewer.getTable().setLayoutData( gridData );
- schemaConnectorsTableViewer.setContentProvider( new ArrayContentProvider() );
- schemaConnectorsTableViewer.setLabelProvider( new LabelProvider()
- {
- public String getText( Object element )
- {
- return ( ( SchemaConnector ) element ).getName();
- }
-
-
- public Image getImage( Object element )
- {
- return AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
- PluginConstants.IMG_SCHEMA_CONNECTOR ).createImage();
- }
- } );
-
- schemaConnectorsTableViewer.setComparator( new ViewerComparator( new Comparator<String>()
- {
- public int compare( String o1, String o2 )
- {
- if ( ( o1 != null ) && ( o2 != null ) )
- {
- return o1.compareToIgnoreCase( o2 );
- }
-
- // Default
- return 0;
- }
- } ) );
-
- // schemaConnectorsTableViewer.setComparator( new ViewerComparator( new Comparator<SchemaConnector>()
- // {
- // public int compare( SchemaConnector o1, SchemaConnector o2 )
- // {
- // String name1 = o1.getName();
- // String name2 = o2.getName();
- //
- // if ( ( name1 != null ) && ( name2 != null ) )
- // {
- // return name1.compareToIgnoreCase( name2 );
- // }
- //
- // // Default
- // return 0;
- // }
- // } ) );
- schemaConnectorsTableViewer.setInput( PluginUtils.getSchemaConnectors() );
-
- // Description Text
- final Text descriptionText = new Text( schemaConnectorsGroup, SWT.BORDER | SWT.MULTI | SWT.READ_ONLY );
- descriptionText.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
-
- schemaConnectorsTableViewer.addSelectionChangedListener( new ISelectionChangedListener()
- {
- public void selectionChanged( SelectionChangedEvent event )
- {
- SchemaConnector schemaConnector = ( SchemaConnector ) ( ( StructuredSelection ) schemaConnectorsTableViewer
- .getSelection() ).getFirstElement();
-
- if ( schemaConnector != null )
- {
- descriptionText.setText( schemaConnector.getDescription() );
- }
- }
- } );
+// // SchemaConnectors Group
+// Group schemaConnectorsGroup = new Group( composite, SWT.NONE );
+// schemaConnectorsGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+// schemaConnectorsGroup.setLayout( new GridLayout( 2, true ) );
+// schemaConnectorsGroup.setText( "Schema Connectors" );
+//
+// // Available Schema Connectors Label
+// Label availableSchemaConnectorsLabel = new Label( schemaConnectorsGroup, SWT.NONE );
+// availableSchemaConnectorsLabel.setText( "Available Connectors:" );
+//
+// // Description Label
+// Label descriptionLabel = new Label( schemaConnectorsGroup, SWT.NONE );
+// descriptionLabel.setText( "Description:" );
+// // SchemaConnectors TableViewer
+// final TableViewer schemaConnectorsTableViewer = new TableViewer( schemaConnectorsGroup, SWT.BORDER | SWT.SINGLE
+// | SWT.FULL_SELECTION );
+// GridData gridData = new GridData( SWT.FILL, SWT.NONE, true, false );
+// gridData.heightHint = 125;
+// schemaConnectorsTableViewer.getTable().setLayoutData( gridData );
+// schemaConnectorsTableViewer.setContentProvider( new ArrayContentProvider() );
+// schemaConnectorsTableViewer.setLabelProvider( new LabelProvider()
+// {
+// public String getText( Object element )
+// {
+// return ( ( SchemaConnector ) element ).getName();
+// }
+//
+//
+// public Image getImage( Object element )
+// {
+// return AbstractUIPlugin.imageDescriptorFromPlugin( Activator.PLUGIN_ID,
+// PluginConstants.IMG_SCHEMA_CONNECTOR ).createImage();
+// }
+// } );
+//
+// schemaConnectorsTableViewer.setComparator( new ViewerComparator( new Comparator<String>()
+// {
+// public int compare( String o1, String o2 )
+// {
+// if ( ( o1 != null ) && ( o2 != null ) )
+// {
+// return o1.compareToIgnoreCase( o2 );
+// }
+//
+// // Default
+// return 0;
+// }
+// } ) );
+//
+// // schemaConnectorsTableViewer.setComparator( new ViewerComparator( new Comparator<SchemaConnector>()
+// // {
+// // public int compare( SchemaConnector o1, SchemaConnector o2 )
+// // {
+// // String name1 = o1.getName();
+// // String name2 = o2.getName();
+// //
+// // if ( ( name1 != null ) && ( name2 != null ) )
+// // {
+// // return name1.compareToIgnoreCase( name2 );
+// // }
+// //
+// // // Default
+// // return 0;
+// // }
+// // } ) );
+// schemaConnectorsTableViewer.setInput( PluginUtils.getSchemaConnectors() );
+//
+// // Description Text
+// final Text descriptionText = new Text( schemaConnectorsGroup, SWT.BORDER | SWT.MULTI | SWT.READ_ONLY );
+// descriptionText.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
+//
+// schemaConnectorsTableViewer.addSelectionChangedListener( new ISelectionChangedListener()
+// {
+// public void selectionChanged( SelectionChangedEvent event )
+// {
+// SchemaConnector schemaConnector = ( SchemaConnector ) ( ( StructuredSelection ) schemaConnectorsTableViewer
+// .getSelection() ).getFirstElement();
+//
+// if ( schemaConnector != null )
+// {
+// descriptionText.setText( schemaConnector.getDescription() );
+// }
+// }
+// } );
return parent;
}
Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java?rev=614580&r1=614579&r2=614580&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizard.java Wed Jan 23 08:42:34 2008
@@ -57,10 +57,10 @@
// The pages of the wizard
private NewProjectWizardInformationPage informationPage;
- private NewProjectWizardConnectionSelectionPage connectionSelectionPage;
+// private NewProjectWizardConnectionSelectionPage connectionSelectionPage;
private NewProjectWizardSchemasSelectionPage schemasSelectionPage;
- private Throwable exceptionThrown = null;
+// private Throwable exceptionThrown = null;
/* (non-Javadoc)
@@ -70,12 +70,12 @@
{
// Creating pages
informationPage = new NewProjectWizardInformationPage();
- connectionSelectionPage = new NewProjectWizardConnectionSelectionPage();
+// connectionSelectionPage = new NewProjectWizardConnectionSelectionPage();
schemasSelectionPage = new NewProjectWizardSchemasSelectionPage();
// Adding pages
addPage( informationPage );
- addPage( connectionSelectionPage );
+// addPage( connectionSelectionPage );
addPage( schemasSelectionPage );
}
@@ -91,81 +91,92 @@
// Creating the project
final Project project = new Project( projectType, projectName );
- if ( projectType.equals( ProjectType.ONLINE ) )
- // Project is an "Online Project"
- {
- // Setting the connection to use
- project.setConnection( connectionSelectionPage.getSelectedConnection() );
-
- // Reseting the Exception Thrown
- exceptionThrown = null;
-
- try
- {
- getContainer().run( false, false, new IRunnableWithProgress()
- {
- public void run( IProgressMonitor monitor )
- {
- StudioProgressMonitor studioProgressMonitor = new StudioProgressMonitor( monitor );
-
- // Getting the correct SchemaConnector for this connection
- List<SchemaConnector> correctSchemaConnectors = getCorrectSchemaConnectors( project
- .getConnection(), studioProgressMonitor );
-
- // If no suitable SchemaConnector has been found, we display an
- // error message and return false;
- if ( correctSchemaConnectors.size() == 0 )
- {
- studioProgressMonitor.reportError(
- "No suitable SchemaConnector has been found for the choosen Directory Server.",
- new RuntimeException(
- "No suitable SchemaConnector has been found for the choosen Directory Server." ) );
- }
-
- // Getting the correct SchemaConnector
- SchemaConnector correctSchemaConnector = null;
- if ( correctSchemaConnectors.size() == 1 )
- {
- correctSchemaConnector = correctSchemaConnectors.get( 0 );
- }
- else
- {
- // TODO display a dialog in which the user can select the correct schema connector
- }
-
- project.setSchemaConnector( correctSchemaConnector );
-
- // Fetching the Online Schema
- project.fetchOnlineSchema( new StudioProgressMonitor( monitor ) );
-
- // Checking if an error has occured
- if ( studioProgressMonitor.errorsReported() )
- {
- exceptionThrown = studioProgressMonitor.getException();
- return;
- }
- }
- } );
- }
- catch ( InvocationTargetException e )
- {
- // Nothing to do (it will never occur)
- }
- catch ( InterruptedException e )
- {
- // Nothing to do.
- }
-
- if ( exceptionThrown != null )
- {
- PluginUtils.logError( "An error occured when creating the project.", exceptionThrown );
- ViewUtils.displayErrorMessageBox( "Error", "An error occured when creating the project." );
- return false;
- }
- }
- else if ( projectType.equals( ProjectType.OFFLINE ) )
- // Project is an "Online Project"
- {
+// if ( projectType.equals( ProjectType.ONLINE ) )
+// // Project is an "Online Project"
+// {
+// // Setting the connection to use
+// project.setConnection( connectionSelectionPage.getSelectedConnection() );
+//
+// // Reseting the Exception Thrown
+// exceptionThrown = null;
+//
+// try
+// {
+// getContainer().run( false, false, new IRunnableWithProgress()
+// {
+// public void run( IProgressMonitor monitor )
+// {
+// StudioProgressMonitor studioProgressMonitor = new StudioProgressMonitor( monitor );
+//
+// // Getting the correct SchemaConnector for this connection
+// List<SchemaConnector> correctSchemaConnectors = getCorrectSchemaConnectors( project
+// .getConnection(), studioProgressMonitor );
+//
+// // If no suitable SchemaConnector has been found, we display an
+// // error message and return false;
+// if ( correctSchemaConnectors.size() == 0 )
+// {
+// studioProgressMonitor.reportError(
+// "No suitable SchemaConnector has been found for the choosen Directory Server.",
+// new NoSuitableSchemaConnectorException() );
+// }
+//
+// // Getting the correct SchemaConnector
+// SchemaConnector correctSchemaConnector = null;
+// if ( correctSchemaConnectors.size() == 1 )
+// {
+// correctSchemaConnector = correctSchemaConnectors.get( 0 );
+// }
+// else
+// {
+// // TODO display a dialog in which the user can select the correct schema connector
+// }
+//
+// project.setSchemaConnector( correctSchemaConnector );
+//
+// // Fetching the Online Schema
+// project.fetchOnlineSchema( new StudioProgressMonitor( monitor ) );
+//
+// // Checking if an error has occured
+// if ( studioProgressMonitor.errorsReported() )
+// {
+// exceptionThrown = studioProgressMonitor.getException();
+// return;
+// }
+// }
+// } );
+// }
+// catch ( InvocationTargetException e )
+// {
+// // Nothing to do (it will never occur)
+// }
+// catch ( InterruptedException e )
+// {
+// // Nothing to do.
+// }
+//
+// if ( exceptionThrown != null )
+// {
+// if ( exceptionThrown instanceof NoSuitableSchemaConnectorException )
+// // Special case for the 'NoSuitableSchemaConnectorException'
+// {
+// PluginUtils.logError( "No suitable SchemaConnector has been found for the selected connection.",
+// exceptionThrown );
+// ViewUtils.displayErrorMessageBox( "Error", "An error occured when creating the project.\n"
+// + "No suitable SchemaConnector has been found for the selected connection." );
+// }
+// else
+// // Standard case
+// {
+// PluginUtils.logError( "An error occured when creating the project.", exceptionThrown );
+// ViewUtils.displayErrorMessageBox( "Error", "An error occured when creating the project." );
+// }
+// return false;
+// }
+// }
+// else if ( projectType.equals( ProjectType.OFFLINE ) )
+// // Project is an "Offline Project"
+// {
// Getting the selected 'core' schemas
String[] selectedSchemas = schemasSelectionPage.getSelectedSchemas();
ServerTypeEnum serverType = schemasSelectionPage.getServerType();
@@ -181,7 +192,7 @@
}
}
}
- }
+// }
ProjectsHandler projectsHandler = Activator.getDefault().getProjectsHandler();
projectsHandler.addProject( project );
@@ -191,68 +202,68 @@
}
- /**
- * Gets the List of suitable SchemaConnectors
- *
- * @param connection
- * the connection to test the SchemaConnectors with
- * @return
- * the List of suitable SchemaConnectors
- */
- private List<SchemaConnector> getCorrectSchemaConnectors( Connection connection, StudioProgressMonitor monitor )
- {
- List<SchemaConnector> suitableSchemaConnectors = new ArrayList<SchemaConnector>();
-
- // Looping on the SchemaConnectors
- List<SchemaConnector> schemaConectors = PluginUtils.getSchemaConnectors();
- for ( SchemaConnector schemaConnector : schemaConectors )
- {
- // Testing if the SchemaConnector is suitable for this connection
- if ( schemaConnector.isSuitableConnector( connection, monitor ) )
- {
- suitableSchemaConnectors.add( schemaConnector );
- }
- }
-
- return suitableSchemaConnectors;
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.Wizard#getNextPage(org.eclipse.jface.wizard.IWizardPage)
- */
- public IWizardPage getNextPage( IWizardPage page )
- {
- if ( page.equals( informationPage ) )
- {
- if ( informationPage.getProjectType().equals( ProjectType.ONLINE ) )
- {
- return connectionSelectionPage;
- }
- else if ( informationPage.getProjectType().equals( ProjectType.OFFLINE ) )
- {
- return schemasSelectionPage;
- }
- }
-
- // Default
- return null;
- }
-
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.wizard.Wizard#getPreviousPage(org.eclipse.jface.wizard.IWizardPage)
- */
- public IWizardPage getPreviousPage( IWizardPage page )
- {
- if ( ( page.equals( connectionSelectionPage ) ) || ( page.equals( schemasSelectionPage ) ) )
- {
- return informationPage;
- }
-
- // Default
- return null;
- }
+// /**
+// * Gets the List of suitable SchemaConnectors
+// *
+// * @param connection
+// * the connection to test the SchemaConnectors with
+// * @return
+// * the List of suitable SchemaConnectors
+// */
+// private List<SchemaConnector> getCorrectSchemaConnectors( Connection connection, StudioProgressMonitor monitor )
+// {
+// List<SchemaConnector> suitableSchemaConnectors = new ArrayList<SchemaConnector>();
+//
+// // Looping on the SchemaConnectors
+// List<SchemaConnector> schemaConectors = PluginUtils.getSchemaConnectors();
+// for ( SchemaConnector schemaConnector : schemaConectors )
+// {
+// // Testing if the SchemaConnector is suitable for this connection
+// if ( schemaConnector.isSuitableConnector( connection, monitor ) )
+// {
+// suitableSchemaConnectors.add( schemaConnector );
+// }
+// }
+//
+// return suitableSchemaConnectors;
+// }
+
+
+// /* (non-Javadoc)
+// * @see org.eclipse.jface.wizard.Wizard#getNextPage(org.eclipse.jface.wizard.IWizardPage)
+// */
+// public IWizardPage getNextPage( IWizardPage page )
+// {
+// if ( page.equals( informationPage ) )
+// {
+// if ( informationPage.getProjectType().equals( ProjectType.ONLINE ) )
+// {
+// return connectionSelectionPage;
+// }
+// else if ( informationPage.getProjectType().equals( ProjectType.OFFLINE ) )
+// {
+// return schemasSelectionPage;
+// }
+// }
+//
+// // Default
+// return null;
+// }
+
+
+// /* (non-Javadoc)
+// * @see org.eclipse.jface.wizard.Wizard#getPreviousPage(org.eclipse.jface.wizard.IWizardPage)
+// */
+// public IWizardPage getPreviousPage( IWizardPage page )
+// {
+// if ( ( page.equals( connectionSelectionPage ) ) || ( page.equals( schemasSelectionPage ) ) )
+// {
+// return informationPage;
+// }
+//
+// // Default
+// return null;
+// }
/* (non-Javadoc)
@@ -270,10 +281,10 @@
{
return true;
}
- else if ( currentPage.equals( connectionSelectionPage ) )
- {
- return connectionSelectionPage.isPageComplete();
- }
+// else if ( currentPage.equals( connectionSelectionPage ) )
+// {
+// return connectionSelectionPage.isPageComplete();
+// }
else
{
return false;
@@ -287,5 +298,10 @@
public void init( IWorkbench workbench, IStructuredSelection selection )
{
setNeedsProgressMonitor( true );
+ }
+
+ class NoSuitableSchemaConnectorException extends Exception
+ {
+ private static final long serialVersionUID = 1L;
}
}
Modified: directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java?rev=614580&r1=614579&r2=614580&view=diff
==============================================================================
--- directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java (original)
+++ directory/studio/trunk/studio-schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/view/wizards/NewProjectWizardInformationPage.java Wed Jan 23 08:42:34 2008
@@ -94,41 +94,41 @@
}
} );
- if ( PluginUtils.getSchemaConnectors().size() > 0 )
- {
- // Type Group
- Group typeGroup = new Group( composite, SWT.NONE );
- typeGroup.setText( "Type" );
- typeGroup.setLayout( new GridLayout() );
- typeGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
+// if ( PluginUtils.getSchemaConnectors().size() > 0 )
+// {
+// // Type Group
+// Group typeGroup = new Group( composite, SWT.NONE );
+// typeGroup.setText( "Type" );
+// typeGroup.setLayout( new GridLayout() );
+// typeGroup.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false, 2, 1 ) );
+//
+// typeOfflineRadio = new Button( typeGroup, SWT.RADIO );
+// typeOfflineRadio.setText( "Offline Schema" );
+// typeOfflineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+// typeOnlineRadio = new Button( typeGroup, SWT.RADIO );
+// typeOnlineRadio.setText( "Online Schema from a Directory Server" );
+// typeOnlineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
+// }
- typeOfflineRadio = new Button( typeGroup, SWT.RADIO );
- typeOfflineRadio.setText( "Offline Schema" );
- typeOfflineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
- typeOnlineRadio = new Button( typeGroup, SWT.RADIO );
- typeOnlineRadio.setText( "Online Schema from a Directory Server" );
- typeOnlineRadio.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );
- }
-
- initFields();
+// initFields();
setControl( composite );
}
- /**
- * Initializes the UI Fields.
- */
- private void initFields()
- {
- if ( typeOfflineRadio != null )
- {
- typeOfflineRadio.setSelection( true );
- }
-
- displayErrorMessage( null );
- setPageComplete( false );
- }
+// /**
+// * Initializes the UI Fields.
+// */
+// private void initFields()
+// {
+// if ( typeOfflineRadio != null )
+// {
+// typeOfflineRadio.setSelection( true );
+// }
+//
+// displayErrorMessage( null );
+// setPageComplete( false );
+// }
/**