blob: 006c889c68439616ebdcc4093da1634886b8b90d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.pde.internal.ui.refactoring;
import org.eclipse.pde.core.plugin.IPluginModelBase;
public abstract class RefactoringInfo {
private boolean fUpdateReferences = true;
private String fNewID;
protected Object fSelection;
public abstract IPluginModelBase getBase();
public Object getSelection() {
return fSelection;
}
public void setSelection(Object selection) {
fSelection = selection;
}
public boolean isUpdateReferences() {
return fUpdateReferences;
}
public void setUpdateReferences(boolean updateReferences) {
fUpdateReferences = updateReferences;
}
public String getNewValue() {
return fNewID;
}
public void setNewValue(String newName) {
fNewID = newName;
}
public abstract String getCurrentValue();
}