Author: elvisisking
Date: 2009-09-17 16:35:09 -0400 (Thu, 17 Sep 2009)
New Revision: 1231
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Activator.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/DnaResourceHelper.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/IUiConstants.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/RestClientI18n.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Utils.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/BasePublishingAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/DeleteServerAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/EditServerAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/NewServerAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/PublishAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ReconnectToServerAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ShowPublishedLocationsAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/UnpublishAction.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/DeleteServerDialog.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/PublishedLocationsDialog.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/PublishJob.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/ReconnectJob.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLogger.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLoggerFactory.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/StaticLoggerBinder.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/DnaPreferencePage.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFileExtensionEditor.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFoldersEditor.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/NewItemDialog.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PrefUtils.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PublishingFileFilter.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaContentProvider.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaMessageConsole.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/ServerView.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishPage.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishWizard.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerPage.java
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerWizard.java
Log:
Removed all @since tags.
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Activator.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Activator.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Activator.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -46,8 +46,6 @@
/**
* The <code>Activator</code> controls the plug-in life cycle, provides
utility functions, and keeps track of the
* {@link ServerManager}.
- *
- * @since 0.6
*/
public final class Activator extends AbstractUIPlugin implements IUiConstants {
@@ -57,8 +55,6 @@
/**
* The shared plugin instance.
- *
- * @since 0.6
*/
private static Activator plugin;
@@ -68,7 +64,6 @@
/**
* @return the shared instance or <code>null</code> if not constructed
- * @since 0.6
*/
public static Activator getDefault() {
return plugin;
@@ -80,15 +75,11 @@
/**
* The image used when the requested image cannot be found.
- *
- * @since 0.6
*/
private Image missingImage;
/**
* The manager in charge of the server registry.
- *
- * @since 0.6
*/
private ServerManager serverMgr;
@@ -99,7 +90,6 @@
/**
* @param key the plugin relative path to the image (never
<code>null</code>)
* @return the image or an image indicating the requested image could not be found
- * @since 0.6
*/
private ImageDescriptor createImageDescriptor( String key ) {
CheckArg.isNotNull(key, "key"); //$NON-NLS-1$
@@ -115,7 +105,6 @@
/**
* @return the image to use when a requested image cannot be found
- * @since 0.6
*/
private Image getMissingImage() {
if (this.missingImage == null) {
@@ -129,7 +118,6 @@
* @param imageId the shared image identifier (never <code>null</code>)
* @return the image or an image indicating the requested image could not be found
* @see ISharedImages
- * @since 0.6
*/
public Image getSharedImage( String imageId ) {
CheckArg.isNotNull(imageId, "imageId"); //$NON-NLS-1$
@@ -141,7 +129,6 @@
* @param imageId the shared image identifier (never <code>null</code>)
* @return the image descriptor or a descriptor indicating the requested descriptor
could not be found
* @see ISharedImages
- * @since 0.6
*/
public ImageDescriptor getSharedImageDescriptor( String imageId ) {
CheckArg.isNotNull(imageId, "imageId"); //$NON-NLS-1$
@@ -157,7 +144,6 @@
/**
* @param object the object whose image is being requested (domain object or
plugin-relative path)
* @return the image or <code>null</code> if not found
- * @since 0.6
*/
public Image getImage( Object object ) {
String key = null;
@@ -199,7 +185,6 @@
/**
* @param object the object whose image descriptor is being requested
* @return the image descriptor or <code>null</code> if not found
- * @since 0.6
*/
public ImageDescriptor getImageDescriptor( Object object ) {
String key = null;
@@ -228,7 +213,6 @@
/**
* @return the server manager or <code>null</code> if activator has not
been initialized or started
* @see #start(BundleContext)
- * @since 0.6
*/
public ServerManager getServerManager() {
return this.serverMgr;
@@ -236,7 +220,6 @@
/**
* @param status the status being logged (never <code>null</code>)
- * @since 0.6
*/
public void log( Status status ) {
CheckArg.isNotNull(status, "status"); //$NON-NLS-1$
@@ -250,7 +233,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- * @since 0.6
*/
@Override
public void start( BundleContext context ) throws Exception {
@@ -272,7 +254,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- * @since 0.6
*/
@Override
public void stop( BundleContext context ) throws Exception {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/DnaResourceHelper.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/DnaResourceHelper.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/DnaResourceHelper.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -41,8 +41,6 @@
/**
* The <code>DnaResourceHelper</code> knows how to get and set the property
on a resource that indicates it has been published to
* one or more workspaces.
- *
- * @since 0.6
*/
public final class DnaResourceHelper {
@@ -52,15 +50,11 @@
/**
* Delimiter between a workspace's properties.
- *
- * @since 0.6
*/
private static final String ID_DELIM = "$"; //$NON-NLS-1$
/**
* Delimiter between workspaces.
- *
- * @since 0.6
*/
private static final String DELIM = "|"; //$NON-NLS-1$
@@ -68,8 +62,6 @@
* The name of the persisted file property indicating if the resource has been
published. This property will only exist if the
* file has been published to at least one DNA repository. The value of the property
is a list of DNA repository workspaces
* where this file has been published.
- *
- * @since 0.6
*/
private static QualifiedName PUBLISHED_RESOURCE_PROPERTY = new
QualifiedName(IUiConstants.PLUGIN_ID, "publishedIn"); //$NON-NLS-1$
@@ -79,8 +71,6 @@
/**
* The server manager used by the helper to obtain workspaces.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
@@ -90,7 +80,6 @@
/**
* @param serverManager the server manager used by this helper (never
<code>null</code>)
- * @since 0.6
*/
public DnaResourceHelper( ServerManager serverManager ) {
CheckArg.isNotNull(serverManager, "serverManager"); //$NON-NLS-1$
@@ -105,7 +94,6 @@
* @param file the file that was just published
* @param workspace the workspace where the file was published
* @throws Exception if there is a problem setting the property
- * @since 0.6
*/
public void addPublishedProperty( IFile file,
Workspace workspace ) throws Exception {
@@ -122,7 +110,6 @@
/**
* @param workspaces the workspaces used to create the property value
* @return the property value
- * @since 0.6
*/
private String createPublishedPropertyValue( Set<Workspace> workspaces ) {
StringBuilder value = new StringBuilder();
@@ -137,7 +124,6 @@
/**
* @param workspace the workspace whose identifier is being created
* @return the ID
- * @since 0.6
*/
private String createWorkspaceId( Workspace workspace ) {
StringBuilder result = new StringBuilder();
@@ -153,7 +139,6 @@
* @return the workspaces (never <code>null</code>)
* @throws Exception if there is a problem reading one of the file's persistent
properties or a problem with the server
* manager
- * @since 0.6
*/
public Set<Workspace> getPublishedOnWorkspaces( IFile file ) throws Exception
{
CheckArg.isNotNull(file, "file"); //$NON-NLS-1$
@@ -213,7 +198,6 @@
/**
* @param file the file whose published status is being requested (never
<code>null</code>)
* @return <code>true</code> if the file has been published to any DNA
repository
- * @since 0.6
*/
public boolean isPublished( IFile file ) {
CheckArg.isNotNull(file, "file"); //$NON-NLS-1$
@@ -231,7 +215,6 @@
* @param file the file that was just unpublished
* @param workspace the workspace where the file was unpublished
* @throws Exception if there is a problem setting the property
- * @since 0.6
*/
public void removePublishedProperty( IFile file,
Workspace workspace ) throws Exception {
@@ -245,6 +228,11 @@
setPublishedOnPropertyValue(file, workspaces);
}
+ /**
+ * @param file the file whose property is being set
+ * @param workspaces the workspaces the file has been published to or
<code>null</code> if the file has not been published
+ * @throws CoreException if there was a problem setting the property
+ */
private void setPublishedOnPropertyValue( IFile file,
Set<Workspace> workspaces ) throws
CoreException {
if ((workspaces == null) || workspaces.isEmpty()) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/IUiConstants.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/IUiConstants.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/IUiConstants.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -23,15 +23,10 @@
*/
package org.jboss.dna.web.jcr.rest.client.swt;
-/**
- * @since 0.6
- */
public interface IUiConstants {
/**
* The Plug-in's identifier.
- *
- * @since 0.6
*/
String PLUGIN_ID = "org.jboss.dna.web.jcr.rest.client.swt"; //$NON-NLS-1$
@@ -109,8 +104,6 @@
/**
* The <code>Job</code> framework job family for the DNA publishing and
unpublishing operations.
- *
- * @since 0.6
*/
String DNA_PUBLISHING_JOB_FAMILY = "dna.publishing.job.family";
//$NON-NLS-1$
@@ -120,15 +113,11 @@
/**
* A preference for a list of file extensions that will not be part of publishing
operations.
- *
- * @since 0.6
*/
String FILTERED_FILE_EXTENSIONS_PREFERENCE =
"dna.preference.filteredFileExtensions"; //$NON-NLS-1$
/**
* A preference for a list of folder names whose contents will not be part of
publishing operations.
- *
- * @since 0.6
*/
String FILTERED_FOLDER_NAMES_PREFERENCE =
"dna.preference.filteredFolderNames"; //$NON-NLS-1$
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/RestClientI18n.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/RestClientI18n.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/RestClientI18n.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -27,8 +27,6 @@
/**
* The <code>RestClientI18n</code> class provides localized messages.
- *
- * @since 0.6
*/
public final class RestClientI18n {
@@ -48,7 +46,7 @@
public static I18n dnaConsoleName;
public static I18n dnaConsoleProblemCreatingHyperlinkMsg;
public static I18n dnaConsoleFilePathNotFoundMsg;
-
+
public static I18n dnaPreferencePageDescription;
public static I18n dnaPreferencePageFilteredFileExtensionsLabel;
public static I18n dnaPreferencePageFilteredFolderNamesLabel;
@@ -61,10 +59,10 @@
public static I18n errorDialogTitle;
public static I18n missingImage;
-
+
public static I18n newFilteredFileExtensionDialogLabel;
public static I18n newFilteredFileExtensionDialogTitle;
-
+
public static I18n newFilteredFolderNameDialogLabel;
public static I18n newFilteredFolderNameDialogTitle;
@@ -84,9 +82,9 @@
public static I18n publishedLocationsDialogTitle;
public static I18n publishedLocationsDialogUserColumnHeader;
public static I18n publishedLocationsDialogWorkspaceColumnHeader;
-
+
public static I18n publishedResourcePropertyErrorMsg;
-
+
public static I18n publishJobCanceled;
public static I18n publishJobDurationMsg;
public static I18n publishJobDurationNoHoursMsg;
@@ -143,7 +141,7 @@
public static I18n publishWizardPublishTitle;
public static I18n publishWizardUnpublishTitle;
public static I18n publishWizardUnpublishErrorMsg;
-
+
public static I18n reconnectJobTaskName;
public static I18n serverManagerGetRepositoriesExceptionMsg;
@@ -178,7 +176,7 @@
public static I18n serverWizardEditServerTitle;
public static I18n serverWizardNewServerErrorMsg;
public static I18n serverWizardNewServerTitle;
-
+
public static I18n showPublishedLocationsErrorMsg;
public static I18n testServerActionText;
@@ -191,5 +189,5 @@
System.err.println(e);
}
}
-
+
}
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Utils.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Utils.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/Utils.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -39,9 +39,6 @@
import org.jboss.dna.web.jcr.rest.client.Status;
import org.jboss.dna.web.jcr.rest.client.Status.Severity;
-/**
- * @since 0.6
- */
public final class Utils {
//
===========================================================================================================================
@@ -52,7 +49,6 @@
* @param tokens the tokens being combined into one value
* @param delimiter the character inserted to separate each token
* @return the tokens separated by the delimiter
- * @since 0.6
*/
public static String combineTokens( String[] tokens,
char delimiter ) {
@@ -72,7 +68,6 @@
* @param shell the shell being resized (if necessary) and located
* @param widthPercentage a number between 1 and 100 indicating a percentage of the
screen size (defaults to 50 if bad value)
* @param heightPercentage a number between 1 and 100 indicating a percentage of the
screen size (defaults to 50 if bad value)
- * @since 0.6
*/
public static void centerAndSizeShellRelativeToDisplay( Shell shell,
int widthPercentage,
@@ -109,7 +104,6 @@
* @param severity the eclipse status severity level
* @return the converted severity level (never <code>null</code>)
* @see IStatus
- * @since 0.6
*/
public static int convertSeverity( Severity severity ) {
if (severity == Severity.OK) return IStatus.OK;
@@ -125,7 +119,6 @@
* @param severity the eclipse status severity level
* @return the converted severity level (never <code>null</code>)
* @see IStatus
- * @since 0.6
*/
public static Severity convertSeverity( int severity ) {
if (severity == IStatus.OK) return Severity.OK;
@@ -138,7 +131,6 @@
/**
* @param status the status being converted (never <code>null</code>)
* @return the Eclipse status object (never <code>null</code>)
- * @since 0.6
*/
public static IStatus convert( Status status ) {
CheckArg.isNotNull(status, "status"); //$NON-NLS-1$
@@ -151,7 +143,6 @@
*
* @param status the status whose image is being requested (never
<code>null</code>)
* @return the image or <code>null</code> if no associated image for the
status severity
- * @since 0.6
*/
public static Image getImage( Status status ) {
CheckArg.isNotNull(status, "status"); //$NON-NLS-1$
@@ -177,7 +168,6 @@
* @param delimiters the delimiters that separate the tokens (never
<code>null</code>)
* @param removeDuplicates a flag indicating if duplicate tokens should be removed
* @return the tokens (never <code>null</code>)
- * @since 0.6
*/
public static String[] getTokens( String string,
String delimiters,
@@ -203,7 +193,6 @@
*
* @param status the status whose image overlay is being requested (never
<code>null</code>)
* @return the image descriptor or <code>null</code> if none found for
the status severity
- * @since 0.6
*/
public static ImageDescriptor getOverlayImage( Status status ) {
CheckArg.isNotNull(status, "status"); //$NON-NLS-1$
@@ -226,8 +215,6 @@
/**
* Don't allow construction.
- *
- * @since 0.6
*/
public Utils() {
// nothing to do
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/BasePublishingAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/BasePublishingAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/BasePublishingAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -45,7 +45,7 @@
import org.jboss.dna.web.jcr.rest.client.swt.wizards.PublishWizard;
/**
- * @since 0.6
+ * The <code>BasePublishingAction</code> is a base class for all publishing
actions.
*/
public abstract class BasePublishingAction implements IObjectActionDelegate {
@@ -55,22 +55,16 @@
/**
* The current workspace selection.
- *
- * @since 0.6
*/
private IStructuredSelection selection;
/**
* The active part's Shell.
- *
- * @since 0.6
*/
private Shell shell;
/**
* Indicates if this is a publishing or unpublishing action.
- *
- * @since 0.6
*/
private final Type type;
@@ -80,7 +74,6 @@
/**
* @param type indicates the type of action
- * @since 0.6
*/
public BasePublishingAction( Type type ) {
this.type = type;
@@ -94,7 +87,6 @@
* {@inheritDoc}
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- * @since 0.6
*/
@Override
@SuppressWarnings( "unchecked" )
@@ -147,7 +139,6 @@
*
* @see
org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
* org.eclipse.jface.viewers.ISelection)
- * @since 0.6
*/
@Override
public void selectionChanged( IAction action,
@@ -163,7 +154,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction,
org.eclipse.ui.IWorkbenchPart)
- * @since 0.6
*/
@Override
public void setActivePart( IAction action,
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/DeleteServerAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/DeleteServerAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/DeleteServerAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -40,9 +40,7 @@
import org.jboss.dna.web.jcr.rest.client.swt.dialogs.DeleteServerDialog;
/**
- * The DeleteServerAction deletes one or more servers from the server registry.
- *
- * @since 0.6
+ * The <code>DeleteServerAction</code> deletes one or more servers from the
server registry.
*/
public final class DeleteServerAction extends BaseSelectionListenerAction {
@@ -52,22 +50,16 @@
/**
* The server manager used to delete servers.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
/**
* The servers being deleted (never <code>null</code>).
- *
- * @since 0.6
*/
private final List<Server> serversToDelete;
/**
* The shell used to display the delete confirmation dialog.
- *
- * @since 0.6
*/
private final Shell shell;
@@ -78,7 +70,6 @@
/**
* @param shell the parent shell used to display the confirmation dialog
* @param serverManager the server manager to use when deleting servers
- * @since 0.6
*/
public DeleteServerAction( Shell shell,
ServerManager serverManager ) {
@@ -100,7 +91,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.action.Action#run()
- * @since 0.6
*/
@Override
public void run() {
@@ -133,7 +123,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.actions.BaseSelectionListenerAction#updateSelection(org.eclipse.jface.viewers.IStructuredSelection)
- * @since 0.6
*/
@Override
protected boolean updateSelection( IStructuredSelection selection ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/EditServerAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/EditServerAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/EditServerAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -37,8 +37,6 @@
/**
* The <code>EditServerAction</code> runs a UI that allows {@link Server
server} properties to be changed.
- *
- * @since 0.6
*/
public final class EditServerAction extends BaseSelectionListenerAction {
@@ -48,22 +46,16 @@
/**
* The selected server being edited.
- *
- * @since 0.6
*/
private Server serverBeingEdited;
/**
* The server manager used to create and edit servers.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
/**
* The shell used to display the dialog that edits and creates servers.
- *
- * @since 0.6
*/
private final Shell shell;
@@ -74,7 +66,6 @@
/**
* @param shell the parent shell used to display the dialog
* @param serverManager the server manager to use when creating and editing servers
- * @since 0.6
*/
public EditServerAction( Shell shell,
ServerManager serverManager ) {
@@ -95,7 +86,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.action.Action#run()
- * @since 0.6
*/
@Override
public void run() {
@@ -120,7 +110,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.actions.BaseSelectionListenerAction#updateSelection(org.eclipse.jface.viewers.IStructuredSelection)
- * @since 0.6
*/
@Override
protected boolean updateSelection( IStructuredSelection selection ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/NewServerAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/NewServerAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/NewServerAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -36,8 +36,6 @@
/**
* The <code>NewServerAction</code> runs a UI that allows the user to create
a new {@link Server server}.
- *
- * @since 0.6
*/
public final class NewServerAction extends Action {
@@ -47,15 +45,11 @@
/**
* The server manager used to create and edit servers.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
/**
* The shell used to display the dialog that edits and creates servers.
- *
- * @since 0.6
*/
private final Shell shell;
@@ -66,7 +60,6 @@
/**
* @param shell the parent shell used to display the dialog
* @param serverManager the server manager to use when creating and editing servers
- * @since 0.6
*/
public NewServerAction( Shell shell,
ServerManager serverManager ) {
@@ -86,7 +79,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.action.Action#run()
- * @since 0.6
*/
@Override
public void run() {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/PublishAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/PublishAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/PublishAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -28,8 +28,6 @@
/**
* The <code>PublishAction</code> controls the publishing of one or more
{@link org.eclipse.core.resources.IResource}s to a DNA
* repository.
- *
- * @since 0.6
*/
public final class PublishAction extends BasePublishingAction {
@@ -37,9 +35,6 @@
// Constructors
//
===========================================================================================================================
- /**
- * @since 0.6
- */
public PublishAction() {
super(Type.PUBLISH);
}
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ReconnectToServerAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ReconnectToServerAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ReconnectToServerAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -38,8 +38,6 @@
/**
* The <code>ReconnectToServerAction</code> tries to reconnect to a selected
server.
- *
- * @since 0.6
*/
public final class ReconnectToServerAction extends BaseSelectionListenerAction {
@@ -49,8 +47,6 @@
/**
* The server view tree viewer.
- *
- * @since 0.6
*/
private final TreeViewer viewer;
@@ -60,7 +56,6 @@
/**
* @param viewer the server view tree viewer
- * @since 0.6
*/
public ReconnectToServerAction( TreeViewer viewer ) {
super(RestClientI18n.serverReconnectActionText.text());
@@ -77,25 +72,23 @@
/**
* @return the view's tree viewer
- * @since 0.6
*/
StructuredViewer getViewer() {
return this.viewer;
}
-
+
/**
* @param server the server being connected to
- * @since 0.6
*/
void refresh( final Server server ) {
final Display display = this.viewer.getControl().getDisplay();
-
+
if (!display.isDisposed()) {
// make sure we are in the UI thread
display.asyncExec(new Runnable() {
/**
* {@inheritDoc}
- *
+ *
* @see java.lang.Runnable#run()
*/
@Override
@@ -110,7 +103,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.action.Action#run()
- * @since 0.6
*/
@Override
public void run() {
@@ -142,7 +134,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.actions.BaseSelectionListenerAction#updateSelection(org.eclipse.jface.viewers.IStructuredSelection)
- * @since 0.6
*/
@Override
protected boolean updateSelection( IStructuredSelection selection ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ShowPublishedLocationsAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ShowPublishedLocationsAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/ShowPublishedLocationsAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -46,8 +46,6 @@
/**
* The <code>PublishAction</code> controls the publishing of one or more
{@link org.eclipse.core.resources.IResource}s to a DNA
* repository.
- *
- * @since 0.6
*/
public final class ShowPublishedLocationsAction extends Action implements
IObjectActionDelegate {
@@ -57,15 +55,11 @@
/**
* The current workspace selection.
- *
- * @since 0.6
*/
private IStructuredSelection selection;
/**
* The active part's Shell.
- *
- * @since 0.6
*/
private Shell shell;
@@ -87,7 +81,6 @@
* {@inheritDoc}
*
* @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- * @since 0.6
*/
@Override
public void run( IAction action ) {
@@ -114,7 +107,6 @@
*
* @see
org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction,
* org.eclipse.jface.viewers.ISelection)
- * @since 0.6
*/
@Override
public void selectionChanged( IAction action,
@@ -130,7 +122,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.IObjectActionDelegate#setActivePart(org.eclipse.jface.action.IAction,
org.eclipse.ui.IWorkbenchPart)
- * @since 0.6
*/
@Override
public void setActivePart( IAction action,
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/UnpublishAction.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/UnpublishAction.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/actions/UnpublishAction.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -28,8 +28,6 @@
/**
* The <code>UnpublishAction</code> controls the unpublishing of one or more
{@link org.eclipse.core.resources.IResource}s from a
* DNA repository.
- *
- * @since 0.6
*/
public final class UnpublishAction extends BasePublishingAction {
@@ -37,9 +35,6 @@
// Constructors
//
===========================================================================================================================
- /**
- * @since 0.6
- */
public UnpublishAction() {
super(Type.UNPUBLISH);
}
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/DeleteServerDialog.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/DeleteServerDialog.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/DeleteServerDialog.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -43,8 +43,6 @@
/**
* The <code>DeleteServerDialog</code> class provides a UI for deleting a
{@link Server server}.
- *
- * @since 0.6
*/
public final class DeleteServerDialog extends MessageDialog {
@@ -54,8 +52,6 @@
/**
* Collection of servers which will be deleted.
- *
- * @since 0.6
*/
private final Collection<Server> serversBeingDeleted;
@@ -66,7 +62,6 @@
/**
* @param parentShell the dialog parent
* @param serversBeingDeleted the servers being deleted (may not be
<code>null</code>)
- * @since 0.6
*/
public DeleteServerDialog( Shell parentShell,
Collection<Server> serversBeingDeleted ) {
@@ -88,7 +83,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.dialogs.MessageDialog#configureShell(org.eclipse.swt.widgets.Shell)
- * @since 0.6
*/
@Override
protected void configureShell( Shell shell ) {
@@ -111,7 +105,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.dialogs.MessageDialog#createCustomArea(org.eclipse.swt.widgets.Composite)
- * @since 0.6
*/
@Override
protected Control createCustomArea( Composite parent ) {
@@ -134,7 +127,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.Dialog#initializeBounds()
- * @since 0.6
*/
@Override
protected void initializeBounds() {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/PublishedLocationsDialog.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/PublishedLocationsDialog.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/dialogs/PublishedLocationsDialog.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -71,8 +71,6 @@
/**
* The <code>PublishedLocationsDialog</code> class provides a UI for viewing
a list of {@link Server servers} a selected file has
* been published to.
- *
- * @since 0.6
*/
public final class PublishedLocationsDialog extends MessageDialog {
@@ -82,50 +80,36 @@
/**
* The column index of the server URL.
- *
- * @since 0.6
*/
private static final int SERVER_URL_COL = 0;
/**
* The column index of the server user.
- *
- * @since 0.6
*/
private static final int USER_COL = 1;
/**
* The column index of the repository name.
- *
- * @since 0.6
*/
private static final int REPOSITORY_COL = 2;
/**
* The column index of the workspace name.
- *
- * @since 0.6
*/
private static final int WORKSPACE_COL = 3;
/**
* The column index of the URL where the file was published.
- *
- * @since 0.6
*/
private static final int FILE_URL_COL = 4;
/**
* The column indexes of all columns.
- *
- * @since 0.6
*/
private static final int[] COLUMNS = {SERVER_URL_COL, USER_COL, REPOSITORY_COL,
WORKSPACE_COL, FILE_URL_COL};
/**
* The column headers.
- *
- * @since 0.6
*/
private static final String[] HEADERS =
{RestClientI18n.publishedLocationsDialogServerUrlColumnHeader.text(),
RestClientI18n.publishedLocationsDialogUserColumnHeader.text(),
@@ -139,36 +123,26 @@
/**
* The button that copies the file URL to the clipboard.
- *
- * @since 0.6
*/
private Button btnCopy;
/**
* The file whose workspaces it was published to is being displayed by this dialog.
- *
- * @since 0.6
*/
private final IFile file;
/**
* The server manager who can obtain the URL for the file at each of the workspaces.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
/**
* The viewer of the table holding the published locations.
- *
- * @since 0.6
*/
private TableViewer viewer;
/**
* Collection of workspaces the selected file has been published to.
- *
- * @since 0.6
*/
private final Collection<Workspace> workspaces;
@@ -181,7 +155,6 @@
* @param serverManager the server manager that this dialog will get URLs from (never
<code>null</code>)
* @param file the file whose workspaces it has been published on is being requested
(never <code>null</code>)
* @param workspaces the workspaces (never <code>null</code>)
- * @since 0.6
*/
public PublishedLocationsDialog( Shell parentShell,
ServerManager serverManager,
@@ -211,7 +184,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.dialogs.MessageDialog#createCustomArea(org.eclipse.swt.widgets.Composite)
- * @since 0.6
*/
@Override
protected Control createCustomArea( Composite parent ) {
@@ -233,7 +205,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
- * @since 0.6
*/
@Override
public void selectionChanged( SelectionChangedEvent e ) {
@@ -290,7 +261,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- * @since 0.6
*/
@Override
public void widgetSelected( SelectionEvent e ) {
@@ -303,7 +273,6 @@
/**
* @return the file system file this dialog is showing the published locations of
(never <code>null</code>)
- * @since 0.6
*/
private File getFile() {
return this.file.getLocation().toFile();
@@ -313,7 +282,6 @@
* This path does not include the name of the file.
*
* @return the path the file was published (never <code>null</code>)
- * @since 0.6
*/
private String getPath() {
return this.file.getParent().getFullPath().toString();
@@ -322,7 +290,6 @@
/**
* @param workspace the workspace where the file was published
* @return the URL where the file was published
- * @since 0.6
*/
String getPublishedAtUrl( Workspace workspace ) {
try {
@@ -337,7 +304,6 @@
/**
* @return the workspaces the file has been published to (never
<code>null</code>)
- * @since 0.6
*/
Object[] getWorkspaces() {
return this.workspaces.toArray();
@@ -345,8 +311,6 @@
/**
* Handler for when the copy URL button is clicked.
- *
- * @since 0.6
*/
void handleCopyUrl() {
Workspace workspace =
(Workspace)((IStructuredSelection)this.viewer.getSelection()).getFirstElement();
@@ -357,8 +321,6 @@
/**
* Handler for when a table row is selected.
- *
- * @since 0.6
*/
void handleTableSelection() {
IStructuredSelection selection =
(IStructuredSelection)this.viewer.getSelection();
@@ -373,7 +335,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.Dialog#initializeBounds()
- * @since 0.6
*/
@Override
protected void initializeBounds() {
@@ -387,15 +348,12 @@
/**
* The <code>LocationsTableProvider</code> provides content, labels, and
images for the table.
- *
- * @since 0.6
*/
class LocationsTableProvider implements IStructuredContentProvider,
ITableLabelProvider {
/**
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
- * @since 0.6
*/
@Override
public void addListener( ILabelProviderListener listener ) {
@@ -406,7 +364,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
- * @since 0.6
*/
@Override
public void dispose() {
@@ -417,7 +374,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.ITableLabelProvider#getColumnImage(java.lang.Object, int)
- * @since 0.6
*/
@Override
public Image getColumnImage( Object element,
@@ -429,7 +385,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.ITableLabelProvider#getColumnText(java.lang.Object, int)
- * @since 0.6
*/
@Override
public String getColumnText( Object element,
@@ -465,7 +420,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
- * @since 0.6
*/
@Override
public Object[] getElements( Object inputElement ) {
@@ -477,7 +431,6 @@
*
* @see
org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer,
java.lang.Object,
* java.lang.Object)
- * @since 0.6
*/
@Override
public void inputChanged( Viewer viewer,
@@ -490,7 +443,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object,
java.lang.String)
- * @since 0.6
*/
@Override
public boolean isLabelProperty( Object element,
@@ -502,7 +454,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
- * @since 0.6
*/
@Override
public void removeListener( ILabelProviderListener listener ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/PublishJob.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/PublishJob.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/PublishJob.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -45,8 +45,6 @@
/**
* The <code>PublishJob</code> publishes or unpublishes one or more files
using the {@link ServerManager}.
- *
- * @since 0.6
*/
public final class PublishJob extends Job {
@@ -56,29 +54,21 @@
/**
* The job type.
- *
- * @since 0.6
*/
public enum Type {
/**
* Indicates a publish job.
- *
- * @since 0.6
*/
PUBLISH,
/**
* Indicates an unpublish job.
- *
- * @since 0.6
*/
UNPUBLISH
}
/**
* A unique job identifier given to each publishing/unpublishing job.
- *
- * @since 0.6
*/
private static final AtomicInteger JOB_ID = new AtomicInteger(1);
@@ -90,7 +80,6 @@
* @param type the job type (never <code>null</code>)
* @param jobId the job identifier
* @return the job name
- * @since 0.6
*/
private static String getJobName( Type type,
int jobId ) {
@@ -110,29 +99,21 @@
/**
* The files being published or unpublished.
- *
- * @since 0.6
*/
private final List<IFile> files;
/**
* The unique job identifier.
- *
- * @since 0.6
*/
private final int jobId;
/**
* The job type.
- *
- * @since 0.6
*/
private final Type type;
/**
* The workspace to use when publishing or unpublishing.
- *
- * @since 0.6
*/
private final Workspace workspace;
@@ -144,7 +125,6 @@
* @param type the job type (never <code>null</code>)
* @param files the files being published or unpublished (never
<code>null</code>)
* @param workspace the workspace to use when publishing or unpublishing (never
<code>null</code>)
- * @since 0.6
*/
public PublishJob( Type type,
List<IFile> files,
@@ -169,7 +149,6 @@
* {@inheritDoc}
*
* @see org.eclipse.core.runtime.jobs.Job#belongsTo(java.lang.Object)
- * @since 0.6
*/
@Override
public boolean belongsTo( Object family ) {
@@ -178,7 +157,6 @@
/**
* @return the server manager
- * @since 0.6
*/
private ServerManager getServerManager() {
return Activator.getDefault().getServerManager();
@@ -186,7 +164,6 @@
/**
* @return <code>true</code> if a publishing job
- * @since 0.6
*/
private boolean isPublishing() {
return (this.type == Type.PUBLISH);
@@ -196,7 +173,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
- * @since 0.6
*/
@Override
protected IStatus run( IProgressMonitor monitor ) {
@@ -341,7 +317,6 @@
* @param file the file involved in the publishing operation
* @param url the destination file URL or <code>null</code>
* @param status the status of the publishing operation
- * @since 0.6
*/
private void writeToConsole( final IFile file,
URL url,
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/ReconnectJob.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/ReconnectJob.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/jobs/ReconnectJob.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -38,8 +38,6 @@
/**
* The <code>ReconnectJob</code> attempts to reconnect to the selected {@link
Server server(s)}.
- *
- * @since 0.6
*/
public final class ReconnectJob extends Job {
@@ -49,8 +47,6 @@
/**
* The server being reconnected to.
- *
- * @since 0.6
*/
private final Server server;
@@ -60,7 +56,6 @@
/**
* @param server the server being connected to (never <code>null</code>)
- * @since 0.6
*/
public ReconnectJob( Server server ) {
super(reconnectJobTaskName.text(server.getShortDescription()));
@@ -75,7 +70,6 @@
* {@inheritDoc}
*
* @see org.eclipse.core.runtime.jobs.Job#belongsTo(java.lang.Object)
- * @since 0.6
*/
@Override
public boolean belongsTo( Object family ) {
@@ -86,7 +80,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
- * @since 0.6
*/
@Override
protected IStatus run( IProgressMonitor monitor ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLogger.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLogger.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLogger.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -34,8 +34,6 @@
/**
* The <code>EclipseLogger</code> class provides an
<code>org.slf4j.Logger</code> implementation that uses the Eclipse logger.
- *
- * @since 0.6
*/
public final class EclipseLogger implements Logger {
@@ -67,7 +65,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(java.lang.String)
- * @since 0.6
*/
@Override
public void debug( String message ) {
@@ -78,7 +75,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void debug( String pattern,
@@ -90,7 +86,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(java.lang.String, java.lang.Object[])
- * @since 0.6
*/
@Override
public void debug( String pattern,
@@ -102,7 +97,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(java.lang.String, java.lang.Throwable)
- * @since 0.6
*/
@Override
public void debug( String message,
@@ -114,7 +108,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(org.slf4j.Marker, java.lang.String)
- * @since 0.6
*/
@Override
public void debug( Marker marker,
@@ -126,7 +119,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(java.lang.String, java.lang.Object, java.lang.Object)
- * @since 0.6
*/
@Override
public void debug( String pattern,
@@ -139,7 +131,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(org.slf4j.Marker, java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void debug( Marker marker,
@@ -152,7 +143,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
- * @since 0.6
*/
@Override
public void debug( Marker marker,
@@ -165,7 +155,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
- * @since 0.6
*/
@Override
public void debug( Marker marker,
@@ -178,7 +167,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#debug(org.slf4j.Marker, java.lang.String, java.lang.Object,
java.lang.Object)
- * @since 0.6
*/
@Override
public void debug( Marker marker,
@@ -192,7 +180,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(java.lang.String)
- * @since 0.6
*/
@Override
public void error( String message ) {
@@ -203,7 +190,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void error( String pattern,
@@ -216,7 +202,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(java.lang.String, java.lang.Object[])
- * @since 0.6
*/
@Override
public void error( String pattern,
@@ -229,7 +214,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(java.lang.String, java.lang.Throwable)
- * @since 0.6
*/
@Override
public void error( String message,
@@ -241,7 +225,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(org.slf4j.Marker, java.lang.String)
- * @since 0.6
*/
@Override
public void error( Marker marker,
@@ -253,7 +236,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(java.lang.String, java.lang.Object, java.lang.Object)
- * @since 0.6
*/
@Override
public void error( String pattern,
@@ -268,7 +250,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(org.slf4j.Marker, java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void error( Marker marker,
@@ -281,7 +262,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
- * @since 0.6
*/
@Override
public void error( Marker marker,
@@ -294,7 +274,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
- * @since 0.6
*/
@Override
public void error( Marker marker,
@@ -307,7 +286,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#error(org.slf4j.Marker, java.lang.String, java.lang.Object,
java.lang.Object)
- * @since 0.6
*/
@Override
public void error( Marker marker,
@@ -321,7 +299,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#getName()
- * @since 0.6
*/
@Override
public String getName() {
@@ -332,7 +309,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(java.lang.String)
- * @since 0.6
*/
@Override
public void info( String message ) {
@@ -343,7 +319,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void info( String pattern,
@@ -355,7 +330,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(java.lang.String, java.lang.Object[])
- * @since 0.6
*/
@Override
public void info( String pattern,
@@ -368,7 +342,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(java.lang.String, java.lang.Throwable)
- * @since 0.6
*/
@Override
public void info( String message,
@@ -380,7 +353,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(org.slf4j.Marker, java.lang.String)
- * @since 0.6
*/
@Override
public void info( Marker marker,
@@ -392,7 +364,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(java.lang.String, java.lang.Object, java.lang.Object)
- * @since 0.6
*/
@Override
public void info( String pattern,
@@ -406,7 +377,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(org.slf4j.Marker, java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void info( Marker marker,
@@ -419,7 +389,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
- * @since 0.6
*/
@Override
public void info( Marker marker,
@@ -432,7 +401,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
- * @since 0.6
*/
@Override
public void info( Marker marker,
@@ -445,7 +413,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#info(org.slf4j.Marker, java.lang.String, java.lang.Object,
java.lang.Object)
- * @since 0.6
*/
@Override
public void info( Marker marker,
@@ -459,7 +426,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isDebugEnabled()
- * @since 0.6
*/
@Override
public boolean isDebugEnabled() {
@@ -470,7 +436,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isDebugEnabled(org.slf4j.Marker)
- * @since 0.6
*/
@Override
public boolean isDebugEnabled( Marker marker ) {
@@ -481,7 +446,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isErrorEnabled()
- * @since 0.6
*/
@Override
public boolean isErrorEnabled() {
@@ -492,7 +456,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isErrorEnabled(org.slf4j.Marker)
- * @since 0.6
*/
@Override
public boolean isErrorEnabled( Marker marker ) {
@@ -503,7 +466,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isInfoEnabled()
- * @since 0.6
*/
@Override
public boolean isInfoEnabled() {
@@ -514,7 +476,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isInfoEnabled(org.slf4j.Marker)
- * @since 0.6
*/
@Override
public boolean isInfoEnabled( Marker marker ) {
@@ -525,7 +486,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isTraceEnabled()
- * @since 0.6
*/
@Override
public boolean isTraceEnabled() {
@@ -536,7 +496,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isTraceEnabled(org.slf4j.Marker)
- * @since 0.6
*/
@Override
public boolean isTraceEnabled( Marker marker ) {
@@ -547,7 +506,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isWarnEnabled()
- * @since 0.6
*/
@Override
public boolean isWarnEnabled() {
@@ -558,7 +516,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#isWarnEnabled(org.slf4j.Marker)
- * @since 0.6
*/
@Override
public boolean isWarnEnabled( Marker marker ) {
@@ -569,7 +526,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(java.lang.String)
- * @since 0.6
*/
@Override
public void trace( String message ) {
@@ -580,7 +536,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void trace( String pattern,
@@ -592,7 +547,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(java.lang.String, java.lang.Object[])
- * @since 0.6
*/
@Override
public void trace( String pattern,
@@ -604,7 +558,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(java.lang.String, java.lang.Throwable)
- * @since 0.6
*/
@Override
public void trace( String message,
@@ -616,7 +569,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(org.slf4j.Marker, java.lang.String)
- * @since 0.6
*/
@Override
public void trace( Marker marker,
@@ -628,7 +580,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(java.lang.String, java.lang.Object, java.lang.Object)
- * @since 0.6
*/
@Override
public void trace( String pattern,
@@ -641,7 +592,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(org.slf4j.Marker, java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void trace( Marker marker,
@@ -654,7 +604,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
- * @since 0.6
*/
@Override
public void trace( Marker marker,
@@ -667,7 +616,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
- * @since 0.6
*/
@Override
public void trace( Marker marker,
@@ -680,7 +628,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#trace(org.slf4j.Marker, java.lang.String, java.lang.Object,
java.lang.Object)
- * @since 0.6
*/
@Override
public void trace( Marker marker,
@@ -694,7 +641,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(java.lang.String)
- * @since 0.6
*/
@Override
public void warn( String message ) {
@@ -705,7 +651,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void warn( String pattern,
@@ -718,7 +663,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(java.lang.String, java.lang.Object[])
- * @since 0.6
*/
@Override
public void warn( String pattern,
@@ -731,7 +675,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(java.lang.String, java.lang.Throwable)
- * @since 0.6
*/
@Override
public void warn( String message,
@@ -743,7 +686,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(org.slf4j.Marker, java.lang.String)
- * @since 0.6
*/
@Override
public void warn( Marker marker,
@@ -755,7 +697,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(java.lang.String, java.lang.Object, java.lang.Object)
- * @since 0.6
*/
@Override
public void warn( String pattern,
@@ -770,7 +711,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(org.slf4j.Marker, java.lang.String, java.lang.Object)
- * @since 0.6
*/
@Override
public void warn( Marker marker,
@@ -783,7 +723,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(org.slf4j.Marker, java.lang.String,
java.lang.Object[])
- * @since 0.6
*/
@Override
public void warn( Marker marker,
@@ -796,7 +735,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(org.slf4j.Marker, java.lang.String,
java.lang.Throwable)
- * @since 0.6
*/
@Override
public void warn( Marker marker,
@@ -809,7 +747,6 @@
* {@inheritDoc}
*
* @see org.slf4j.Logger#warn(org.slf4j.Marker, java.lang.String, java.lang.Object,
java.lang.Object)
- * @since 0.6
*/
@Override
public void warn( Marker marker,
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLoggerFactory.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLoggerFactory.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/EclipseLoggerFactory.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -28,9 +28,6 @@
import org.slf4j.ILoggerFactory;
import org.slf4j.Logger;
-/**
- * @since 0.6
- */
public final class EclipseLoggerFactory implements ILoggerFactory {
//
===========================================================================================================================
@@ -39,8 +36,6 @@
/**
* The shared instance of the factory.
- *
- * @since 0.6
*/
static final EclipseLoggerFactory INSTANCE = new EclipseLoggerFactory();
@@ -50,8 +45,6 @@
/**
* Map of loggers keyed by logger name.
- *
- * @since 0.6
*/
private Map<String, Logger> loggerMap;
@@ -61,8 +54,6 @@
/**
* Constructs the factory.
- *
- * @since 0.6
*/
public EclipseLoggerFactory() {
this.loggerMap = new HashMap<String, Logger>();
@@ -76,7 +67,6 @@
* {@inheritDoc}
*
* @see org.slf4j.ILoggerFactory#getLogger(java.lang.String)
- * @since 0.6
*/
@Override
public Logger getLogger( String name ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/StaticLoggerBinder.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/StaticLoggerBinder.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/log/StaticLoggerBinder.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -26,9 +26,6 @@
import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;
-/**
- * @since 0.6
- */
public final class StaticLoggerBinder implements LoggerFactoryBinder {
//
===========================================================================================================================
@@ -37,15 +34,11 @@
/**
* The class name of the logger factory.
- *
- * @since 0.6
*/
private static final String LOGGER_FACTORY_CLASS_NAME =
EclipseLoggerFactory.class.getName();
/**
* The unique instance of this class.
- *
- * @since 0.6
*/
private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder();
@@ -55,7 +48,6 @@
/**
* @return the static instance of the logger
- * @since 0.6
*/
public static final StaticLoggerBinder getSingleton() {
return SINGLETON;
@@ -67,11 +59,9 @@
/**
* The logger factory used.
- *
- * @since 0.6
*/
private final ILoggerFactory loggerFactory = new EclipseLoggerFactory();
-
+
//
===========================================================================================================================
// Methods
//
===========================================================================================================================
@@ -80,7 +70,6 @@
* {@inheritDoc}
*
* @see org.slf4j.spi.LoggerFactoryBinder#getLoggerFactory()
- * @since 0.6
*/
@Override
public ILoggerFactory getLoggerFactory() {
@@ -91,7 +80,6 @@
* {@inheritDoc}
*
* @see org.slf4j.spi.LoggerFactoryBinder#getLoggerFactoryClassStr()
- * @since 0.6
*/
@Override
public String getLoggerFactoryClassStr() {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/DnaPreferencePage.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/DnaPreferencePage.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/DnaPreferencePage.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -43,8 +43,6 @@
/**
* The <code>DnaPreferencePage</code> is the UI for managing all DNA-related
preferences.
- *
- * @since 0.6
*/
public final class DnaPreferencePage extends PreferencePage implements
IWorkbenchPreferencePage {
@@ -54,15 +52,11 @@
/**
* The editor used to manage the list of filtered file extensions.
- *
- * @since 0.6
*/
private FilteredFileExtensionEditor extensionsEditor;
/**
* The editor used to manage the list of filtered folder names.
- *
- * @since 0.6
*/
private FilteredFoldersEditor foldersEditor;
@@ -74,7 +68,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
- * @since 0.6
*/
@Override
protected Control createContents( Composite parent ) {
@@ -109,7 +102,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#getDescription()
- * @since 0.6
*/
@Override
public String getDescription() {
@@ -120,7 +112,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#getImage()
- * @since 0.6
*/
@Override
public Image getImage() {
@@ -131,7 +122,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#getMessage()
- * @since 0.6
*/
@Override
public String getMessage() {
@@ -142,7 +132,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.PreferencePage#getPreferenceStore()
- * @since 0.6
*/
@Override
public IPreferenceStore getPreferenceStore() {
@@ -153,7 +142,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#getTitle()
- * @since 0.6
*/
@Override
public String getTitle() {
@@ -164,7 +152,6 @@
* {@inheritDoc}
*
* @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
- * @since 0.6
*/
@Override
public void init( IWorkbench workbench ) {
@@ -175,7 +162,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.PreferencePage#performDefaults()
- * @since 0.6
*/
@Override
protected void performDefaults() {
@@ -188,7 +174,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.PreferencePage#performOk()
- * @since 0.6
*/
@Override
public boolean performOk() {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFileExtensionEditor.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFileExtensionEditor.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFileExtensionEditor.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -18,8 +18,6 @@
/**
* The <code>FilteredFileExtensionEditor</code> is an editor for managing a
set of filtered file extensions.
- *
- * @since 0.6
*/
public final class FilteredFileExtensionEditor extends ListEditor implements
VerifyListener {
@@ -29,8 +27,6 @@
/**
* The current set of file extensions.
- *
- * @since 0.6
*/
private final Set<String> extensions;
@@ -40,7 +36,6 @@
/**
* @param parent the parent control
- * @since 0.6
*/
public FilteredFileExtensionEditor( Composite parent ) {
super(FILTERED_FILE_EXTENSIONS_PREFERENCE,
dnaPreferencePageFilteredFileExtensionsLabel.text(), parent);
@@ -55,7 +50,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.ListEditor#createList(java.lang.String[])
- * @since 0.6
*/
@Override
protected String createList( String[] items ) {
@@ -66,7 +60,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.ListEditor#getNewInputObject()
- * @since 0.6
*/
@Override
protected String getNewInputObject() {
@@ -91,7 +84,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.ListEditor#parseString(java.lang.String)
- * @since 0.6
*/
@Override
protected String[] parseString( String stringList ) {
@@ -107,7 +99,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.swt.events.VerifyListener#verifyText(org.eclipse.swt.events.VerifyEvent)
- * @since 0.6
*/
@Override
public void verifyText( VerifyEvent event ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFoldersEditor.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFoldersEditor.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/FilteredFoldersEditor.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -18,8 +18,6 @@
/**
* The <code>FilteredFoldersEditor</code> is an editor for managing a set of
folder names.
- *
- * @since 0.6
*/
public final class FilteredFoldersEditor extends ListEditor implements VerifyListener {
@@ -29,8 +27,6 @@
/**
* The current set of folder names.
- *
- * @since 0.6
*/
private final Set<String> folderNames;
@@ -40,7 +36,6 @@
/**
* @param parent the parent control
- * @since 0.6
*/
public FilteredFoldersEditor( Composite parent ) {
super(FILTERED_FOLDER_NAMES_PREFERENCE,
dnaPreferencePageFilteredFolderNamesLabel.text(), parent);
@@ -55,7 +50,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.ListEditor#createList(java.lang.String[])
- * @since 0.6
*/
@Override
protected String createList( String[] items ) {
@@ -66,7 +60,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.ListEditor#getNewInputObject()
- * @since 0.6
*/
@Override
protected String getNewInputObject() {
@@ -91,7 +84,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.preference.ListEditor#parseString(java.lang.String)
- * @since 0.6
*/
@Override
protected String[] parseString( String stringList ) {
@@ -107,7 +99,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.swt.events.VerifyListener#verifyText(org.eclipse.swt.events.VerifyEvent)
- * @since 0.6
*/
@Override
public void verifyText( VerifyEvent event ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/NewItemDialog.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/NewItemDialog.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/NewItemDialog.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -19,8 +19,6 @@
/**
* A <code>NewItemDialog</code> allows the user to enter a new file extension
or new folder name that they wish to be filtered out
* of all publishing operations.
- *
- * @since 0.6
*/
public final class NewItemDialog extends Dialog implements ModifyListener {
@@ -30,29 +28,21 @@
/**
* The label describing the new item.
- *
- * @since 0.6
*/
private final String label;
/**
* The contents of the new item text field.
- *
- * @since 0.6
*/
private String newItem;
/**
* The dialog title.
- *
- * @since 0.6
*/
private final String title;
/**
* The listener verifying input characters.
- *
- * @since 0.6
*/
private final VerifyListener verifyListener;
@@ -65,7 +55,6 @@
* @param title the localized dialog title (never <code>null</code>)
* @param label the localized label (never <code>null</code>)
* @param verifyListener a listener that validates input characters (may be
<code>null</code>)
- * @since 0.6
*/
public NewItemDialog( Shell parentShell,
String title,
@@ -91,7 +80,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
- * @since 0.6
*/
@Override
protected void configureShell( Shell newShell ) {
@@ -103,7 +91,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.dialogs.Dialog#createButton(org.eclipse.swt.widgets.Composite, int,
java.lang.String, boolean)
- * @since 0.6
*/
@Override
protected Button createButton( Composite parent,
@@ -124,7 +111,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
- * @since 0.6
*/
@Override
protected Control createDialogArea( Composite parent ) {
@@ -150,7 +136,6 @@
/**
* @return the new item or <code>null</code> if the dialog was canceled
- * @since 0.6
*/
public String getNewItem() {
if (getReturnCode() == OK) {
@@ -164,7 +149,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.Dialog#initializeBounds()
- * @since 0.6
*/
@Override
protected void initializeBounds() {
@@ -180,7 +164,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
- * @since 0.6
*/
@Override
public void modifyText( ModifyEvent event ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PrefUtils.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PrefUtils.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PrefUtils.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -39,8 +39,6 @@
/**
* The <code>PrefUtils</code> class provides common utilities relating to
preferences. This class assumes the Eclipse runtime
* platform is running.
- *
- * @since 0.6
*/
public final class PrefUtils {
@@ -145,8 +143,8 @@
} else {
// make sure preference has a value
FILE_EXT_INVALID_CHARS = "*?<>|/\\:;."; //$NON-NLS-1$
- Activator.getDefault().log(new Status(Severity.ERROR,
prefUtilsPropertyNotFound.text(FILE_EXT_INVALID_CHARS_PREF_NAME),
- null));
+ Activator.getDefault().log(new Status(Severity.ERROR,
+
prefUtilsPropertyNotFound.text(FILE_EXT_INVALID_CHARS_PREF_NAME), null));
}
// folder names delimiter
@@ -180,7 +178,6 @@
/**
* @return the file extensions being filtered out of publishing operations (never
null)
- * @since 0.6
*/
public static String[] getFilteredFileExtensions() {
return getListPropertyValue(FILTERED_FILE_EXTENSIONS_PREFERENCE,
FILE_EXT_DELIMITER, true);
@@ -188,7 +185,6 @@
/**
* @return the folder names being filtered out of publishing operations (never null)
- * @since 0.6
*/
public static String[] getFilteredFolderNames() {
return getListPropertyValue(FILTERED_FOLDER_NAMES_PREFERENCE,
FOLDER_NAME_DELIMITER, true);
@@ -199,7 +195,6 @@
* @param delimiter the character separating the items in the property value
* @param removeDuplicates a flag indicating if duplicate items should be removed
* @return the property value items (never <code>null</code>)
- * @since 0.6
*/
public static String[] getListPropertyValue( String propertyId,
char delimiter,
@@ -210,7 +205,6 @@
/**
* @return the plugin preference store
- * @since 0.6
*/
public static IPreferenceStore getPreferenceStore() {
return Activator.getDefault().getPreferenceStore();
@@ -220,7 +214,6 @@
* @param propertyId the property name being set (never
<code>null</code>)
* @param items the items used to create the property value (never
<code>null</code>)
* @param delimiter the character to use to separate the items
- * @since 0.6
*/
public static void setListPropertyValue( String propertyId,
String[] items,
@@ -236,8 +229,6 @@
/**
* Don't allow construction.
- *
- * @since 0.6
*/
private PrefUtils() {
// nothing to do
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PublishingFileFilter.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PublishingFileFilter.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/preferences/PublishingFileFilter.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -30,8 +30,6 @@
/**
* The <code>PublishingFileFilter</code> is a file filter that uses the DNA
preferences when filtering files.
- *
- * @since 0.6
*/
public final class PublishingFileFilter {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaContentProvider.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaContentProvider.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaContentProvider.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -50,8 +50,6 @@
/**
* The <code>DnaContentProvider</code> is a content and label provider for
DNA repositories.
- *
- * @since 0.6
*/
public final class DnaContentProvider extends ColumnLabelProvider implements
ILightweightLabelDecorator, ITreeContentProvider {
@@ -61,8 +59,6 @@
/**
* The decorator ID.
- *
- * @since 0.6
*/
private static final String ID =
"org.jboss.dna.web.jcr.rest.client.swt.dnaDecorator"; //$NON-NLS-1$
@@ -72,7 +68,6 @@
/**
* @return the DNA decorator
- * @since 0.6
*/
public static DnaContentProvider getDecorator() {
IDecoratorManager decoratorMgr =
Activator.getDefault().getWorkbench().getDecoratorManager();
@@ -90,8 +85,6 @@
/**
* The server manager where the server registry is managed.
- *
- * @since 0.6
*/
private ServerManager serverManager;
@@ -103,7 +96,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
- * @since 0.6
*/
@Override
public void addListener( ILabelProviderListener listener ) {
@@ -114,7 +106,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.ILightweightLabelDecorator#decorate(java.lang.Object,
org.eclipse.jface.viewers.IDecoration)
- * @since 0.6
*/
@Override
public void decorate( final Object element,
@@ -145,7 +136,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.IContentProvider#dispose()
- * @since 0.6
*/
@Override
public void dispose() {
@@ -156,7 +146,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
- * @since 0.6
*/
@Override
public Object[] getChildren( Object parentElement ) {
@@ -189,7 +178,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
- * @since 0.6
*/
@Override
public Object[] getElements( Object inputElement ) {
@@ -200,7 +188,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
- * @since 0.6
*/
@Override
public Image getImage( Object element ) {
@@ -211,7 +198,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
- * @since 0.6
*/
@Override
public Object getParent( Object element ) {
@@ -231,7 +217,6 @@
/**
* @return the server manager or <code>null</code>
- * @since 0.6
*/
private ServerManager getServerManager() {
if (this.serverManager == null) {
@@ -245,7 +230,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
- * @since 0.6
*/
@Override
public String getText( Object element ) {
@@ -257,7 +241,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.CellLabelProvider#getToolTipImage(java.lang.Object)
- * @since 0.6
*/
@Override
public Image getToolTipImage( Object object ) {
@@ -268,7 +251,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.CellLabelProvider#getToolTipText(java.lang.Object)
- * @since 0.6
*/
@Override
public String getToolTipText( Object element ) {
@@ -283,7 +265,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.CellLabelProvider#getToolTipTimeDisplayed(java.lang.Object)
- * @since 0.6
*/
@Override
public int getToolTipTimeDisplayed( Object object ) {
@@ -294,7 +275,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
- * @since 0.6
*/
@Override
public boolean hasChildren( Object element ) {
@@ -306,7 +286,6 @@
*
* @see
org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer,
java.lang.Object,
* java.lang.Object)
- * @since 0.6
*/
@Override
public void inputChanged( Viewer viewer,
@@ -319,7 +298,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object,
java.lang.String)
- * @since 0.6
*/
@Override
public boolean isLabelProperty( Object element,
@@ -352,7 +330,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
- * @since 0.6
*/
@Override
public void removeListener( ILabelProviderListener listener ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaMessageConsole.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaMessageConsole.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/DnaMessageConsole.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -49,8 +49,6 @@
/**
* The <code>DnaMessageConsole</code> is a message console view where status
of publishing operations are logged. This class
* ensures all writes to the console are done in the UI thread.
- *
- * @since 0.6
*/
public final class DnaMessageConsole extends MessageConsole {
@@ -70,15 +68,11 @@
/**
* The identifier and type of the DNA Message Console.
- *
- * @since 0.6
*/
private static final String ID =
"org.jboss.dna.web.jcr.rest.client.swt.views.DnaMessageConsole"; //$NON-NLS-1$
/**
* The message console name.
- *
- * @since 0.6
*/
private static final String NAME = RestClientI18n.dnaConsoleName.text();
@@ -90,7 +84,6 @@
* Note: The <code>DnaMessageConsole</code> should
<strong>NOT</strong> be cached as the user can open/close/create instances.
*
* @return the DNA Message Console if available or a new one (never
<code>null</code>)
- * @since 0.6
*/
private static DnaMessageConsole getDnaConsole() {
DnaMessageConsole console = null;
@@ -118,7 +111,6 @@
* Adds a line feed to the console after the message is printed.
*
* @param message the message being written to the console (never
<code>null</code>)
- * @since 0.6
*/
public static void writeln( String message ) {
CheckArg.isNotNull(message, "message"); //$NON-NLS-1$
@@ -131,7 +123,6 @@
* @param message the message being written to the console (never
<code>null</code>)
* @param file the file whose full path, which is contained in the message, will be
made into a hyperlink (may be
* <code>null</code>)
- * @since 0.6
*/
public static void writeln( String message,
IFile file ) {
@@ -146,7 +137,7 @@
//
=======================================================================================================================
/**
- * @since 0.6
+ * Prevent construction.
*/
private DnaMessageConsole() {
super(NAME, Activator.getDefault().getImageDescriptor(DNA_IMAGE_16x));
@@ -159,7 +150,6 @@
/**
* @param message the message being searched for
* @param file the file whose full path appears in the message and will become a
hyperlink
- * @since 0.6
*/
void addDocumentListener( String message,
IFile file ) {
@@ -170,7 +160,6 @@
* {@inheritDoc}
*
* @see org.eclipse.ui.console.AbstractConsole#getType()
- * @since 0.6
*/
@Override
public String getType() {
@@ -181,7 +170,6 @@
* @param message the message being written to the console (never
<code>null</code>)
* @param doLineFeedAtEnd a flag indicating if a line feed should be done after
writing the message
* @param file the file to create a hyperlink for (may be
<code>null</code>)
- * @since 0.6
*/
private void print( final String message,
final boolean doLineFeedAtEnd,
@@ -195,7 +183,6 @@
* {@inheritDoc}
*
* @see java.lang.Runnable#run()
- * @since 0.6
*/
@Override
public void run() {
@@ -234,6 +221,7 @@
endIndex = ((startTagIndex < 0) ? msgLength :
startTagIndex);
}
+ // print to console
stream.print(message.substring(beginIndex, endIndex));
// need to construct a new stream as changes to font style
seem to only work one time
@@ -263,8 +251,6 @@
/**
* The <code>HyperlinkCreator</code> creates a hyperlink in a DNA Message
Console for the first occurrence of the full path of
* a specified file.
- *
- * @since 0.6
*/
class HyperlinkCreator implements IDocumentListener {
@@ -274,22 +260,16 @@
/**
* The console where the message is printed to and the hyperlink will be
created.
- *
- * @since 0.6
*/
private final DnaMessageConsole console;
/**
* The file whose full path will become a hyperlink.
- *
- * @since 0.6
*/
private final IFile file;
/**
* The message where the file path is located in.
- *
- * @since 0.6
*/
private final String message;
@@ -301,7 +281,6 @@
* @param message the message that contains the full path of the file
* @param console the console where the message appears
* @param file the file whose full path appears in the message and will become a
hyperlink
- * @since 0.6
*/
public HyperlinkCreator( String message,
DnaMessageConsole console,
@@ -319,7 +298,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.text.IDocumentListener#documentAboutToBeChanged(org.eclipse.jface.text.DocumentEvent)
- * @since 0.6
*/
@Override
public void documentAboutToBeChanged( DocumentEvent arg0 ) {
@@ -330,7 +308,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.text.IDocumentListener#documentChanged(org.eclipse.jface.text.DocumentEvent)
- * @since 0.6
*/
@Override
public void documentChanged( DocumentEvent event ) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/ServerView.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/ServerView.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/views/ServerView.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -58,8 +58,6 @@
/**
* The <code>ServerView</code> shows all defined servers and their DNA
repositories.
- *
- * @since 0.6
*/
public final class ServerView extends ViewPart implements IServerRegistryListener {
@@ -69,58 +67,40 @@
/**
* Collapses all tree nodes.
- *
- * @since 0.6
*/
private IAction collapseAllAction;
/**
* Deletes a server.
- *
- * @since 0.6
*/
private BaseSelectionListenerAction deleteAction;
/**
* Edits a server's properties.
- *
- * @since 0.6
*/
private BaseSelectionListenerAction editAction;
/**
* Creates a new server.
- *
- * @since 0.6
*/
private Action newAction;
/**
* The viewer's content and label provider.
- *
- * @since 0.6
*/
private DnaContentProvider provider;
/**
* Refreshes the server connections.
- *
- * @since 0.6
*/
private ReconnectToServerAction reconnectAction;
- /**
- * @since 0.6
- */
private TreeViewer viewer;
//
===========================================================================================================================
// Methods
//
===========================================================================================================================
- /**
- * @since 0.6
- */
private void constructActions() {
// the collapse all action is always enabled
this.collapseAllAction = new Action() {
@@ -157,9 +137,6 @@
this.newAction = new NewServerAction(shell, getServerManager());
}
- /**
- * @since 0.6
- */
private void constructContextMenu() {
MenuManager menuMgr = new MenuManager();
menuMgr.add(this.newAction);
@@ -172,9 +149,6 @@
getSite().registerContextMenu(menuMgr, this.viewer);
}
- /**
- * @since 0.6
- */
private void constructToolBar() {
IToolBarManager toolBar = getViewSite().getActionBars().getToolBarManager();
toolBar.add(this.newAction);
@@ -186,7 +160,6 @@
/**
* @param parent the viewer's parent
- * @since 0.6
*/
private void constructTreeViewer( Composite parent ) {
this.provider = new DnaContentProvider();
@@ -228,7 +201,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
- * @since 0.6
*/
@Override
public void createPartControl( Composite parent ) {
@@ -251,7 +223,6 @@
* {@inheritDoc}
*
* @see org.eclipse.ui.part.WorkbenchPart#dispose()
- * @since 0.6
*/
@Override
public void dispose() {
@@ -261,7 +232,6 @@
/**
* @return the server manager being used by this view
- * @since 0.6
*/
private ServerManager getServerManager() {
return Activator.getDefault().getServerManager();
@@ -269,7 +239,6 @@
/**
* @return the tree viewer
- * @since 0.6
*/
TreeViewer getViewer() {
return this.viewer;
@@ -277,8 +246,6 @@
/**
* Opens a dialog to edit server properties.
- *
- * @since 0.6
*/
void handleDoubleClick() {
this.editAction.run();
@@ -286,7 +253,6 @@
/**
* @param event the event being processed
- * @since 0.6
*/
void handleSelectionChanged( SelectionChangedEvent event ) {
updateStatusLine((IStructuredSelection)event.getSelection());
@@ -296,7 +262,6 @@
* {@inheritDoc}
*
* @see
org.jboss.dna.web.jcr.rest.client.IServerRegistryListener#serverRegistryChanged(org.jboss.dna.web.jcr.rest.client.ServerRegistryEvent)
- * @since 0.6
*/
@Override
public Exception[] serverRegistryChanged( ServerRegistryEvent event ) {
@@ -313,7 +278,6 @@
* {@inheritDoc}
*
* @see org.eclipse.ui.part.WorkbenchPart#setFocus()
- * @since 0.6
*/
@Override
public void setFocus() {
@@ -324,7 +288,6 @@
/**
* @param selection the current viewer selection (never
<code>null</code>)
- * @since 0.6
*/
private void updateStatusLine( IStructuredSelection selection ) {
assert (selection.size() < 2);
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishPage.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishPage.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishPage.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -70,8 +70,6 @@
/**
* The <code>PublishPage</code> is a UI for publishing or unpublishing one or
more files to a DNA repository.
- *
- * @since 0.6
*/
public final class PublishPage extends WizardPage implements IServerRegistryListener,
ModifyListener {
@@ -81,8 +79,6 @@
/**
* The key in the wizard <code>IDialogSettings</code> for the recurse
flag.
- *
- * @since 0.6
*/
private static final String RECURSE_KEY = "recurse"; //$NON-NLS-1$
@@ -92,8 +88,6 @@
/**
* Indicates if the file filter should be used.
- *
- * @since 0.6
*/
private static boolean filterFiles = true;
@@ -107,7 +101,6 @@
* @param filter the file filter or <code>null</code> if not used
* @return the list of files contained in the specified container (never
<code>null</code>)
* @throws CoreException if there is a problem finding the files
- * @since 0.6
*/
private static List<IFile> findFiles( IContainer container,
boolean recurse,
@@ -141,7 +134,6 @@
* @param filter the file filter or <code>null</code> if not used
* @return the files being published or unpublished (never
<code>null</code>)
* @throws CoreException if there is a problem processing the resources
- * @since 0.6
*/
private static List<IFile> processResources( List<IResource> resources,
boolean recurse,
@@ -171,7 +163,7 @@
IProject project = null;
List<IFile> files = null;
Map<IContainer, List<IFile>> parentMap = null;
-
+
// see if resource is filtered
if ((filter != null) && !filter.accept(resource)) {
continue;
@@ -277,30 +269,22 @@
//
===========================================================================================================================
/**
- * The repository control.
- *
- * @since 0.6
+ * The repository chooser control.
*/
private Combo cbxRepository;
/**
- * The server control.
- *
- * @since 0.6
+ * The server chooser control.
*/
private Combo cbxServer;
/**
- * The workspace control.
- *
- * @since 0.6
+ * The workspace chooser control.
*/
private Combo cbxWorkspace;
/**
* The files being published or unpublished (never <code>null</code>).
- *
- * @since 0.6
*/
private List<IFile> files;
@@ -311,78 +295,56 @@
/**
* The control containing all the files being published or unpublished.
- *
- * @since 0.6
*/
private org.eclipse.swt.widgets.List lstResources;
/**
* The flag indicating if child containers should be traversed.
- *
- * @since 0.6
*/
private boolean recurse;
/**
* A collection of repositories for the selected server (never
<code>null</code>).
- *
- * @since 0.6
*/
private List<Repository> repositories;
/**
* The repository where the workspace is located.
- *
- * @since 0.6
*/
private Repository repository;
/**
* The collection of resources selected by the user to be published or unpublished.
- *
- * @since 0.6
*/
private final List<IResource> resources;
/**
* The server where the repository is located.
- *
- * @since 0.6
*/
private Server server;
/**
* A collection of servers from the server registry (never
<code>null</code>).
- *
- * @since 0.6
*/
private List<Server> servers;
/**
* The current validation status.
- *
- * @since 0.6
*/
private Status status;
/**
* Indicates if publishing or unpublishing is being done.
- *
- * @since 0.6
*/
private final Type type;
/**
* The workspace where the resources are being published/unpublished (may be
<code>null</code>).
- *
- * @since 0.6
*/
private Workspace workspace;
/**
* A collection of workspaces for the selected server repository (never
<code>null</code>).
- *
- * @since 0.6
*/
private List<Workspace> workspaces;
@@ -394,7 +356,6 @@
* @param type indicates if publishing or unpublishing is being done
* @param resources the resources being published or unpublished (never
<code>null</code>)
* @throws CoreException if there is a problem processing the input resources
- * @since 0.6
*/
public PublishPage( Type type,
List<IResource> resources ) throws CoreException {
@@ -612,7 +573,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#dispose()
- * @since 0.6
*/
@Override
public void dispose() {
@@ -622,7 +582,6 @@
/**
* @return the files to publish or unpublish (never <code>null</code>)
- * @since 0.6
*/
public List<IFile> getFiles() {
return this.files;
@@ -630,8 +589,6 @@
/**
* Updates the initial page message.
- *
- * @since 0.6
*/
void updateInitialMessage() {
String msg = ((this.type == Type.PUBLISH) ?
RestClientI18n.publishPagePublishOkStatusMsg.text()
@@ -644,7 +601,6 @@
/**
* @return the server manager obtained from the wizard
- * @since 0.6
*/
private ServerManager getServerManager() {
return ((PublishWizard)getWizard()).getServerManager();
@@ -652,7 +608,6 @@
/**
* @return thw workspace to use when publishing or unpublishing (page must be
complete)
- * @since 0.6
*/
public Workspace getWorkspace() {
assert isPageComplete();
@@ -663,7 +618,6 @@
* Saves the recurse setting and reloads the files to be published or unpublished.
*
* @param selected the flag indicating the new recurse setting
- * @since 0.6
*/
void handleRecurseChanged( boolean selected ) {
this.recurse = selected;
@@ -685,8 +639,6 @@
/**
* Handler for when the repository control value is modified
- *
- * @since 0.6
*/
void handleRepositoryModified() {
int index = this.cbxRepository.getSelectionIndex();
@@ -705,8 +657,6 @@
/**
* Handler for when the server control value is modified
- *
- * @since 0.6
*/
void handleServerModified() {
int index = this.cbxServer.getSelectionIndex();
@@ -725,8 +675,6 @@
/**
* Handler for when the workspace control value is modified
- *
- * @since 0.6
*/
void handleWorkspaceModified() {
int index = this.cbxWorkspace.getSelectionIndex();
@@ -742,7 +690,6 @@
/**
* @return the flag indicating if resources found recursively under projects and
folders should also be published or
* unpublished
- * @since 0.6
*/
protected boolean isRecursing() {
boolean recurse = true;
@@ -757,8 +704,6 @@
/**
* Populates the list of files to be published based on the recurse flag and the list
of workspace selected resources.
* Pre-condition is that {@link #processResources(List, boolean,
PublishingFileFilter)} has been called.
- *
- * @since 0.6
*/
private void loadFiles() {
this.lstResources.removeAll();
@@ -789,8 +734,6 @@
/**
* Refreshes the repository-related fields and controls based on the server registry.
This in turn causes the workspaces to
* also to be refreshed.
- *
- * @since 0.6
*/
private void refreshRepositories() {
this.repository = null;
@@ -848,8 +791,6 @@
/**
* Refreshes the server-related fields and controls based on the server registry.
This in turn causes the repositories and
* workspaces to also to be refreshed.
- *
- * @since 0.6
*/
void refreshServers() {
this.server = null;
@@ -890,8 +831,6 @@
/**
* Refreshes the workspace-related fields and controls based on the server registry.
- *
- * @since 0.6
*/
private void refreshWorkspaces() {
this.workspace = null;
@@ -945,8 +884,6 @@
/**
* Saves the current recurse value to the wizard
<code>IDialogSettings</code>.
- *
- * @since 0.6
*/
protected void saveRecurseSetting() {
getDialogSettings().put(RECURSE_KEY, this.recurse);
@@ -956,7 +893,6 @@
* {@inheritDoc}
*
* @see
org.jboss.dna.web.jcr.rest.client.IServerRegistryListener#serverRegistryChanged(org.jboss.dna.web.jcr.rest.client.ServerRegistryEvent)
- * @since 0.6
*/
@Override
public Exception[] serverRegistryChanged( ServerRegistryEvent event ) {
@@ -973,7 +909,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#setVisible(boolean)
- * @since 0.6
*/
@Override
public void setVisible( boolean visible ) {
@@ -1001,7 +936,6 @@
* {@inheritDoc}
*
* @see
org.eclipse.jface.wizard.WizardPage#setWizard(org.eclipse.jface.wizard.IWizard)
- * @since 0.6
*/
@Override
public void setWizard( IWizard newWizard ) {
@@ -1019,8 +953,6 @@
/**
* Updates message, message icon, and OK button enablement based on validation
results
- *
- * @since 0.6
*/
void updateState() {
// get the current state
@@ -1045,8 +977,6 @@
/**
* Validates all inputs and sets the validation status.
- *
- * @since 0.6
*/
private void validate() {
String msg = null;
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishWizard.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishWizard.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/PublishWizard.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -39,7 +39,7 @@
import org.jboss.dna.web.jcr.rest.client.swt.jobs.PublishJob.Type;
/**
- * @since 0.6
+ * The <code>PublishWizard</code> is the wizard that published and
unpublishes resources.
*/
public final class PublishWizard extends Wizard {
@@ -49,22 +49,16 @@
/**
* The wizard page containing all the controls that allow publishing/unpublishing of
resources.
- *
- * @since 0.6
*/
private final PublishPage page;
/**
* The manager in charge of the server registry.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
/**
* Indicates if the wizard will perform a publishing or unpublishing operation.
- *
- * @since 0.6
*/
private final Type type;
@@ -77,7 +71,6 @@
* @param resources the resources being published or unpublished (never
<code>null</code>)
* @param serverManager the server manager in charge of the server registry (never
<code>null</code>)
* @throws CoreException if there is a problem processing the resources
- * @since 0.6
*/
public PublishWizard( Type type,
List<IResource> resources,
@@ -90,7 +83,8 @@
this.page = new PublishPage(type, resources);
this.serverManager = serverManager;
- setWindowTitle((type == Type.PUBLISH) ?
RestClientI18n.publishWizardPublishTitle.text() :
RestClientI18n.publishWizardUnpublishTitle.text());
+ setWindowTitle((type == Type.PUBLISH) ?
RestClientI18n.publishWizardPublishTitle.text()
+ :
RestClientI18n.publishWizardUnpublishTitle.text());
setDefaultPageImageDescriptor(Activator.getDefault().getImageDescriptor(DNA_WIZARD_BANNER_IMAGE));
}
@@ -102,7 +96,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.wizard.Wizard#addPages()
- * @since 0.6
*/
@Override
public void addPages() {
@@ -113,7 +106,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.wizard.Wizard#getDialogSettings()
- * @since 0.6
*/
@Override
public IDialogSettings getDialogSettings() {
@@ -135,7 +127,6 @@
/**
* @return the server manager (never <code>null</code>)
- * @since 0.6
*/
protected ServerManager getServerManager() {
return this.serverManager;
@@ -145,7 +136,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.wizard.Wizard#performFinish()
- * @since 0.6
*/
@Override
public boolean performFinish() {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerPage.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerPage.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerPage.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -53,7 +53,7 @@
import org.jboss.dna.web.jcr.rest.client.swt.RestClientI18n;
/**
- * @since 0.6
+ * The <code>ServerPage</code> is used to create or modify a server.
*/
public final class ServerPage extends WizardPage {
@@ -63,50 +63,36 @@
/**
* The button used to test the connection to the server. Should only be enabled when
server properties are valid.
- *
- * @since 0.6
*/
private Button btnTestConnection;
/**
* The user password needed to login to the server.
- *
- * @since 0.6
*/
private String password;
/**
* Indicates if the password should be persisted.
- *
- * @since 0.6
*/
private boolean savePassword;
/**
* The server being editor or <code>null</code> if creating a new
server.
- *
- * @since 0.6
*/
private Server server;
/**
* The current validation status.
- *
- * @since 0.6
*/
private Status status;
/**
* The server URL.
- *
- * @since 0.6
*/
private String url;
/**
* The user needed to login to the server.
- *
- * @since 0.6
*/
private String user;
@@ -116,8 +102,6 @@
/**
* Constructs a wizard page that will create a new server.
- *
- * @since 0.6
*/
public ServerPage() {
super(ServerPage.class.getSimpleName());
@@ -129,7 +113,6 @@
* Constructs a wizard page that edits the specified server's properties.
*
* @param server the server being edited
- * @since 0.6
*/
public ServerPage( Server server ) {
super(ServerPage.class.getSimpleName());
@@ -354,7 +337,6 @@
* @return the server represented by the dialog inputs
* @throws RuntimeException if called when all inputs are not valid
* @see #isPageComplete()
- * @since 0.6
*/
public Server getServer() {
if (!this.status.isError()) {
@@ -367,7 +349,6 @@
/**
* @return the server manager obtained from the wizard
- * @since 0.6
*/
ServerManager getServerManager() {
return ((ServerWizard)getWizard()).getServerManager();
@@ -377,7 +358,6 @@
* Handler for when the password control value is modified
*
* @param newPassword the new password value
- * @since 0.6
*/
void handlePasswordModified( String newPassword ) {
this.password = newPassword;
@@ -386,7 +366,6 @@
/**
* @param savePassword <code>true</code> if the password should be
persisted on the local file system
- * @since 0.6
*/
void handleSavePasswordChanged( boolean savePassword ) {
this.savePassword = savePassword;
@@ -395,8 +374,6 @@
/**
* Tests the connection of the server specified by the properties entered on this
page. Precondition is that server properties
* are valid.
- *
- * @since 0.6
*/
void handleTestConnection() {
final Server server = getServer();
@@ -429,7 +406,6 @@
* Handler for when the URL control value is modified
*
* @param newUrl the new URL value
- * @since 0.6
*/
void handleUrlModified( String newUrl ) {
this.url = newUrl;
@@ -440,7 +416,6 @@
* Handler for when the user control value is modified
*
* @param newUser the new user value
- * @since 0.6
*/
void handleUserModified( String newUser ) {
this.user = newUser;
@@ -449,8 +424,6 @@
/**
* If the initial message is being displayed do a validation.
- *
- * @since 0.6
*/
void updateInitialMessage() {
if (RestClientI18n.serverPageOkStatusMsg.text().equals(getMessage())) {
@@ -462,7 +435,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.dialogs.DialogPage#setVisible(boolean)
- * @since 0.6
*/
@Override
public void setVisible( boolean visible ) {
@@ -479,8 +451,6 @@
/**
* Updates message, message icon, and OK button enablement based on validation
results
- *
- * @since 0.6
*/
private void updateState() {
// get the current status
@@ -506,8 +476,6 @@
/**
* Validates all inputs and sets the validation status.
- *
- * @since 0.6
*/
private void validate() {
if (this.server == null) {
Modified:
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerWizard.java
===================================================================
---
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerWizard.java 2009-09-17
19:46:22 UTC (rev 1230)
+++
branches/eclipse/org.jboss.dna.publish.ui.swt/src/org/jboss/dna/web/jcr/rest/client/swt/wizards/ServerWizard.java 2009-09-17
20:35:09 UTC (rev 1231)
@@ -33,7 +33,7 @@
import org.jboss.dna.web.jcr.rest.client.swt.RestClientI18n;
/**
- * @since 0.6
+ * The <code>ServerWizard</code> is the wizard used to create and edit
servers.
*/
public final class ServerWizard extends Wizard {
@@ -43,22 +43,16 @@
/**
* Non-<code>null</code> if the wizard is editing an existing server.
- *
- * @since 0.6
*/
private Server existingServer;
/**
* The wizard page containing all the controls that allow editing of server
properties.
- *
- * @since 0.6
*/
private final ServerPage page;
/**
* The manager in charge of the server registry.
- *
- * @since 0.6
*/
private final ServerManager serverManager;
@@ -70,7 +64,6 @@
* Constructs a wizard that creates a new server.
*
* @param serverManager the server manager in charge of the server registry (never
<code>null</code>)
- * @since 0.6
*/
public ServerWizard( ServerManager serverManager ) {
this.page = new ServerPage();
@@ -85,7 +78,6 @@
*
* @param serverManager the server manager in charge of the server registry (never
<code>null</code>)
* @param server the server whose properties are being edited (never
<code>null</code>)
- * @since 0.6
*/
public ServerWizard( ServerManager serverManager,
Server server ) {
@@ -103,7 +95,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.wizard.Wizard#addPages()
- * @since 0.6
*/
@Override
public void addPages() {
@@ -112,7 +103,6 @@
/**
* @return the server manager (never <code>null</code>)
- * @since 0.6
*/
protected ServerManager getServerManager() {
return this.serverManager;
@@ -122,7 +112,6 @@
* {@inheritDoc}
*
* @see org.eclipse.jface.wizard.Wizard#performFinish()
- * @since 0.6
*/
@Override
public boolean performFinish() {