CPD Results

The following document contains the results of PMD's CPD 4.2.5.

Duplications

File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 50
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 67
		this.setLayout(gridLayout);

		this.tittle = new Label(this, SWT.NONE);
		this.tittle.setFont(
				FontFactory.getInstance().getFont(
						FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.LEFT;
		gridData.grabExcessVerticalSpace = false;
		gridData.grabExcessHorizontalSpace = true;
		this.tittle.setLayoutData(gridData);

		this.data  = new Combo(this, SWT.NONE);
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 122
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 199
	public Composite createFileRenamerTable() {

		final Composite composite = new Composite(this, SWT.BORDER);
		final GridLayout gridLayoutLabels = new GridLayout();
		gridLayoutLabels.numColumns = 1;
		composite.setLayout(gridLayoutLabels);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 153
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 163
			final TagEditorWriteableItemUpdateEvent updateSongEvent) {
		TagEditorWriteableItemListener updateSongEventListener = null;
		for (int i = 0; i < this.updateSongEventListenerList.size(); i++) {
			updateSongEventListener =
				(TagEditorWriteableItemListener)(this.updateSongEventListenerList.get(i));
			// Notificamos el evento de actualizacion a los suscriptores
			updateSongEventListener.onUpdateWriteableItem(updateSongEvent);
		}
	}
}
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 554
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 570
	private void notifyTableTagsSongUpdated() {

		for (int i = 0; i < this.listeners.size(); i++) {

			final EventListener listener = this.listeners.get(i);

			if (listener instanceof TableTagsSongsListener) {
				((TableTagsSongsListener) listener).onTableTagsSongUpdated();
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 77
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 52
		this.tittle = new Label(this, SWT.NONE);
		this.tittle.setFont(
				FontFactory.getInstance().getFont(
						FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.LEFT;
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 251
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 440
									.getName());

			if (metadata.getValue() != null) {

				if (!(metadata.getValue().equals(text)) && (text != null)) {
					metadata.setValue(text);
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 653
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 679
										case SWT.TRAVERSE_RETURN:

											try {
												if (TableTagsSongs.this
														.updateMusicFile(
																musicFile,
																column,
																text.getText())) {
													item.setText(column, text
															.getText());
												} else {
													TableTagsSongs.logger.info(
File Line
es/rvp/java/simpletag/gui/components/menubar/MyQuitListener.java 62
es/rvp/java/simpletag/gui/components/menubar/MyQuitListener.java 80
		final int style = SWT.APPLICATION_MODAL | SWT.ICON_QUESTION | SWT.YES
				| SWT.NO;

		final MessageBox messageBox = new MessageBox(this.shell, style);
		messageBox.setText(InterfaceWindowsMessages.getInstance().getMessage(
File Line
es/rvp/java/simpletag/gui/dialogs/DialogAbout.java 93
es/rvp/java/simpletag/gui/main/SimpleTag.java 177
		final Rectangle rect = shell.getBounds();
		final int x = bounds.x + (bounds.width - rect.width) / 2;
		final int y = bounds.y + (bounds.height - rect.height) / 2;
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 124
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 163
		final Composite composite = new Composite(this, SWT.NONE);
		final GridLayout gridLayoutLabels = new GridLayout();
		gridLayoutLabels.numColumns = 1;
		composite.setLayout(gridLayoutLabels);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.LEFT;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 71
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 86
		this.editorLyric.addUpdateSongEventListener (eventListener);
	}

	/**
	 * Refresca los datos de la vista con el array de MusicFiles,
	 * previo borrado de los datos anteriores
	 */
	public void refreshData(final List<MusicFile> musicFileList )	{
		for (final MusicFile musicFile: musicFileList){
			this.refreshData(musicFile);
		}
	}

	/**
	 * Elimina la informacion mostrada por los componentes
	 */
	public void clearAllData() {
		this.track.clearData();
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 318
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 591
		final TableItem[] selection = TableTagsSongs.this.table.getSelection();
		for (final TableItem element : selection) {
			final MusicFile musicFile = (MusicFile) element.getData();
File Line
es/rvp/java/simpletag/gui/main/SimpleTagInfo.java 63
es/rvp/java/simpletag/gui/main/SimpleTagInfo.java 78
	public String getAuthorName() {
		String appVersion ="Only available in packaged version";

		final Package thePackage = SimpleTagInfo.getInstance().getClass().getPackage();
		if (thePackage!= null) {
			if ( thePackage.getSpecificationVendor() != null){
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 194
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 286
		this.currentCover = this.createCoverForWriteableZone(topRightComposite);

		final GridData gridDataCover = new GridData();
		gridDataCover.verticalAlignment = SWT.TOP;
		gridDataCover.horizontalAlignment = SWT.CENTER;
		gridDataCover.grabExcessHorizontalSpace = true;
		gridDataCover.grabExcessVerticalSpace = true;
		this.currentCover.setLayoutData(gridDataCover);
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 163
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 328
		tagEditorWriteableItem.setTextTitle(idMetadataType.getName());

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.FILL;
		gridData.grabExcessVerticalSpace = true;
		gridData.grabExcessHorizontalSpace = true;
File Line
es/rvp/java/simpletag/gui/components/imageviewer/SimpleImageViewer.java 160
es/rvp/java/simpletag/gui/components/imageviewer/SimpleImageViewer.java 198
			final Image image = new Image(Display.getCurrent(), is);

			if (image != null) {
				// Escalamos la imagen y la establecemos en la label
				this.scaleImage(image);
			}

		} catch (final IOException e) {
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 204
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 163
				SWT.BORDER);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.FILL;
		gridData.grabExcessVerticalSpace = true;
		gridData.grabExcessHorizontalSpace = true;
File Line
es/rvp/java/simpletag/gui/components/imageviewer/SimpleImageViewer.java 87
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 69
		this.tittle = new Label(this, SWT.NONE);
		this.tittle.setFont(
				FontFactory.getInstance().getFont(
						FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridData = new GridData();
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 159
es/rvp/java/simpletag/gui/dialogs/DialogAbout.java 128
		this.shell.addListener(SWT.Close, new Listener() {

			@Override
			public void handleEvent(final Event event) {
				if ( logger.isDebugEnabled() ) {
					logger.debug("[DialogAbout - addListeners - close]");
File Line
es/rvp/java/simpletag/gui/components/imageviewer/MultipleImageViewer.java 137
es/rvp/java/simpletag/gui/components/imageviewer/MultipleImageViewer.java 162
	public void showPreviousImage() {

		if ((this.listImage != null ) && (this.listImage.size() > 0)){
			this.currentImageIdx--;
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 118
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 134
	public void renameFiles() {

		for (final TableItem item:this.table.getItems()){
			final MusicFile musicFile = (MusicFile)item.getData();
File Line
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 103
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 128
						+ findCoverEvent.getCoverData().toString());


				// Actualizamos la cache de portadas con una los datos de un
				// artista generico y todas las portadas encontradas en
				// disco para el mismo.
				CacheCoverData.getInstance().insert(
										findCoverEvent.getCoverData() );

			}});
File Line
es/rvp/java/simpletag/gui/components/main/MainWindow.java 137
es/rvp/java/simpletag/gui/components/menubar/MyQuitListener.java 60
		if (this.tableTagsSongs.isModify() == true) {

			final int style = SWT.APPLICATION_MODAL | SWT.ICON_QUESTION
					| SWT.YES | SWT.NO;

			final MessageBox messageBox = new MessageBox(this.shell, style);
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 173
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 182
	private void setRightColumn(final String text) {
		final TableColumn columnFileName = new TableColumn(this.table,
				  SWT.NONE);
		columnFileName.setText(text);
	}
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 88
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 95
		this.tagEditorWriteableZone.addEventListener(eventListener);
	}

	/**
	 * Ficheros musicales asociados de los que obtenemos la informacion de TAGS
	 * mostrar.
	 */
	public void setSelectedMusicFileList(
			final List<MusicFile> selectedMusicFileList) {
		this.selectedMusicFileList = selectedMusicFileList;
	}

	/**
	 * Refresca los datos de la vista con los datos del musicFile.
	 */
	public void refreshData() {
		this.buttonApplyCover.setEnabled(false);
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 70
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 74
	public TagEditor(final Composite parent, final int style) {
		super(parent, style);

		// Grid layout de 3 columnas. En cada una montaremos un Composite
		final GridLayout gridLayoutTagEdit = new GridLayout();
		gridLayoutTagEdit.numColumns = 3;
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 77
es/rvp/java/simpletag/gui/components/imageviewer/SimpleImageViewer.java 87
		this.tittle = new Label(this.getComposite(), SWT.NONE);
		this.tittle.setFont(FontFactory.getInstance().getFont(
				FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridDataLabel = new GridData();
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 71
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 66
		gridLayout.numColumns = 1;
		this.setLayout(gridLayout);

		this.tittle = new Label(this, SWT.NONE);
		this.tittle.setFont(
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 64
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 62
	public TagEditorWriteableZone (final Composite parent, final int style) {
		super (parent, style);

		final GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 2;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 142
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 55
						FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.LEFT;
		gridData.grabExcessVerticalSpace = false;
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 64
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 109
		this.table = new Table(parent, SWT.MULTI | SWT.VIRTUAL | SWT.BORDER
				| SWT.FULL_SELECTION);
		this.table.setLinesVisible(true);
		this.table.setHeaderVisible(true);
		this.listeners = new LinkedList<EventListener>();
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 43
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 62
	public TagEditorWriteableZone (final Composite parent, final int style) {
		super (parent, style);

		final GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 2;
File Line
es/rvp/java/simpletag/gui/components/platform/osx/CocoaSWTUIEnhancer.java 358
es/rvp/java/simpletag/gui/components/platform/osx/CocoaSWTUIEnhancer.java 371
    private Object invoke( final Object obj, final String methodName, final Class<?>[] paramTypes, final Object... arguments ) {
        try {
            final Method m = obj.getClass().getDeclaredMethod( methodName, paramTypes );
File Line
es/rvp/java/simpletag/gui/components/platform/osx/CocoaSWTUIEnhancer.java 355
es/rvp/java/simpletag/gui/components/platform/osx/CocoaSWTUIEnhancer.java 368
        return this.invoke( obj, methodName, (Class<?>[]) null, (Object[]) null );
    }

    private Object invoke( final Object obj, final String methodName, final Class<?>[] paramTypes, final Object... arguments ) {
File Line
es/rvp/java/simpletag/gui/components/main/MainWindow.java 139
es/rvp/java/simpletag/gui/components/menubar/MyQuitListener.java 80
		final int style = SWT.APPLICATION_MODAL | SWT.ICON_QUESTION | SWT.YES
				| SWT.NO;

		final MessageBox messageBox = new MessageBox(this.shell, style);
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 106
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 100
					new TagEditorWriteableItemUpdateEvent(TagEditorWriteableItem.this));
			}
		});
	}

	/**
	 * Evento que se lanza cuando modificas el valor de un combo
	 */
	public void addUpdateSongEventListener(
			final EventListener eventListener) {
		this.updateSongEventListenerList.add(eventListener);
	}
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 64
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 43
	public TagEditorReadableItem (final Composite parent,
								  final int style) {
		super (parent, style);

		final GridLayout gridLayout = new GridLayout();
		gridLayout.marginHeight = 0;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 185
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 209
		tagEditorReadableItem.setTextTitle(text);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.FILL;
		gridData.grabExcessHorizontalSpace = true;
File Line
es/rvp/java/simpletag/gui/components/main/MainWindow.java 461
es/rvp/java/simpletag/gui/components/menubar/MyQuitListener.java 65
			final MessageBox messageBox = new MessageBox(this.shell, style);
			messageBox
					.setText(InterfaceWindowsMessages.getInstance().getMessage(
File Line
es/rvp/java/simpletag/gui/components/main/MainWindow.java 166
es/rvp/java/simpletag/gui/components/main/MainWindow.java 175
			this.mainMenuBar.getMenuItemQuit().addSelectionListener(
					new SelectionAdapter() {
						@Override
						public void widgetSelected(final SelectionEvent e) {
							MainWindow.this.shell.close();
File Line
es/rvp/java/simpletag/gui/dialogs/DialogAbout.java 115
es/rvp/java/simpletag/gui/main/SimpleTag.java 184
		while (!shell.isDisposed()) {
			if (!display.readAndDispatch()) {
				display.sleep();
			}
		}
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 664
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 691
															"[TableTagsSongs - addListeners (MouseDoubleClick - Traverse) ] " +
															"No se ha actualizado el texto " + text.getText());
												}

											} catch (final Exception ex) {
												TableTagsSongs.logger.error(
File Line
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 84
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 119
						+ findCoverEvent.getCoverData().toString());

			}

			@Override
			public void onCoverEndSearch(final FindCoverEvent findCoverEvent) {
File Line
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 78
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 112
		this.coverFinderHardDisk.addEventListener(new FindCoverListener() {

			@Override
			public void onConverStartSearch(final FindCoverEvent findCoverEvent) {

				logger.info(
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 478
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 502
			orderArray[YEAR_ORDER] = (String) strValue;
		}

		// GENRE_ORDER
		strValue = musicFile.getMetadataContainer().getMetadataByName(
				TableTagsSongs.columnNamesMap.get(GENRE_ORDER).getName())
File Line
es/rvp/java/simpletag/gui/components/menubar/MyAutonumerationAdapter.java 40
es/rvp/java/simpletag/gui/components/menubar/MySelectAllAdapter.java 41
	public MySelectAllAdapter(final TableTagsSongs tableTagsSongs) {
		this.tableTagsSongs = tableTagsSongs;
	}

	@Override
	public void widgetSelected(final SelectionEvent e) {
File Line
es/rvp/java/simpletag/gui/components/imageviewer/MultipleImageViewer.java 191
es/rvp/java/simpletag/gui/components/imageviewer/MultipleImageViewer.java 197
		this.rightButton.addMouseListener(new MouseAdapter(){
			@Override
			public void mouseUp(final MouseEvent e) {
				MultipleImageViewer.this.showNextImage();
File Line
es/rvp/java/simpletag/gui/components/utils/UtilImagesSWT.java 81
es/rvp/java/simpletag/gui/components/utils/UtilImagesSWT.java 85
			catch (final SWTException ex) {
				logger.error("[UtilImagesSWT - generateImages] "+
						ex.getMessage(), ex.getCause());
			}
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 209
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 72
						FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.LEFT;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 166
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 328
		tagEditorWriteableItem.setTextTitle(idMetadataType.getName());

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 121
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 128
					dataFormatBitRate.format((Long)value));
		}
		// EncodingType
		value  = musicFileList.getMetadataContainer().getMetadataByName(
				IDMetadataTypes.EncodingType.getName()).getValue();
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 71
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 110
		this.updateSongEventListenerList.add(eventListener);
	}

	/**
	 * Establece un titulo al componente
	 */
	public void setTextTitle(final String text) {
		this.tittle.setText(text);
	}

	/**
	 * Aniade la cadena al combo
	 */
	public void addTextData (final String text) {
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 65
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableItem.java 81
		this.data  = new Combo(this, SWT.NONE);
		final GridData gridDataData = new GridData();
		gridDataData.verticalAlignment = SWT.TOP;
		gridDataData.horizontalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 55
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 209
		tagEditorReadableItem.setTextTitle(text);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 237
es/rvp/java/simpletag/gui/components/tasks/FindCoversTask.java 148
			cover = (MetadataCover) musicFile.getMetadataContainer()
			.getMetadataByName(IDMetadataTypes.Cover.getName());

			// Si no tiene portada se la buscamos. Si ya la tiene ...no
			if (cover.getValue() == null ) {
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 185
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableItem.java 55
						FontType.LABEL_TITTLE, parent.getDisplay()));

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.LEFT;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 163
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 166
		composite.setLayout(gridLayoutLabels);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.LEFT;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 142
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 185
		composite.setLayout(gridLayout);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/platform/osx/CocoaSWTUIEnhancer.java 249
es/rvp/java/simpletag/gui/components/platform/osx/CocoaSWTUIEnhancer.java 258
            invoke( nsmenuitemCls, quitMenuItem, "setTitle", new Object[] { nsStr } );
        }

        // Rename the hide action.
        if ( this.appName != null ) {
        	final String hide = InterfaceWindowsMessages.getInstance().getMessage("menubar.hide");
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 98
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 182
		this.listeners.add(listener);
	}

	/**
	 * Establece el 'GridData' del componente que esta sobre un Grid.
	 */
	public void setLayoutData(final GridData gridData) {
		this.table.setLayoutData(gridData);
	}

	/**
	 * Aniade un fichero musical a la tabla del componente grafico.
	 */
	public void addMusicFile(final MusicFile musicFile) {
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamer.java 127
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 328
				SWT.BORDER);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
		gridData.horizontalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 80
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 185
		this.tagEditorReadableZone = new TagEditorReadableZone(this, SWT.BORDER);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.TOP;
		gridData.horizontalAlignment = SWT.LEFT;
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 131
es/rvp/java/simpletag/gui/components/tageditor/TagEditorWriteableZone.java 151
			this.tittle.addTextData((String)value);
		}
		//Comments
		value =	musicFile.getMetadataContainer().getMetadataByName(
				IDMetadataTypes.Comments.getName()).getValue();
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 108
es/rvp/java/simpletag/gui/components/tageditor/TagEditorReadableZone.java 140
			this.modificationDate.setTextData((String) value);
		}
		// SampleRate
		value  = musicFileList.getMetadataContainer().getMetadataByName(
				IDMetadataTypes.SampleRate.getName()).getValue();
File Line
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 142
es/rvp/java/simpletag/gui/components/tageditor/TagEditor.java 162
		this.tagEditorWriteableZone = new TagEditorWriteableZone(this,
				SWT.BORDER);

		final GridData gridData = new GridData();
		gridData.verticalAlignment = SWT.FILL;
File Line
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 249
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 437
			final Metadata<String> metadata = (Metadata<String>) musicFile
					.getMetadataContainer().getMetadataByName(
File Line
es/rvp/java/simpletag/gui/components/main/MainWindow.java 330
es/rvp/java/simpletag/gui/components/main/MainWindow.java 354
			final EditorLyric editorLyric = (EditorLyric)  updateSongEvent.getSource();

			if (logger.isDebugEnabled()) {
				logger.debug("[MainWindow - onUpdateWriteableItem] "
						+ "Actualizando la letra de la cancion ");
File Line
es/rvp/java/simpletag/gui/components/filerenamer/FileRenamerTable.java 62
es/rvp/java/simpletag/gui/components/tabletagssongs/TableTagsSongs.java 107
	public TableTagsSongs(final Composite parent) {

		this.table = new Table(parent, SWT.MULTI | SWT.VIRTUAL | SWT.BORDER
File Line
es/rvp/java/simpletag/gui/components/imageviewer/SimpleImageViewer.java 126
es/rvp/java/simpletag/gui/components/info/CurrentDirectoryInfo.java 113
	}

	/**
	 * Establece el LayoutData en el componente.
	 */
	public void setLayoutData(final GridData gridData) {
		this.composite.setLayoutData(gridData);
	}


	/**
	 * Clase para manejar los eventos Sobre el boton del directorio
	 *
	 * @author Rodrigo Villamil Perez
	 */
	public class ButtonListener implements SelectionListener {
File Line
es/rvp/java/simpletag/gui/components/editorlyrics/EditorLyric.java 67
es/rvp/java/simpletag/gui/components/imageviewer/SimpleImageViewer.java 81
		this.composite = new Composite(parent, style);
		final GridLayout gridLayout = new GridLayout();
		gridLayout.numColumns = 1;
		this.composite.setLayout(gridLayout);