Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public int hashCode() {
* @param parent if not <code>null</code> the new dialog stays on top of this parent shell
* @param bundle <code>ResourceBundle</code> to configure the dialog
*/
@Deprecated
public EditionSelectionDialog(Shell parent, ResourceBundle bundle) {
super(parent, bundle);
}
Expand Down Expand Up @@ -268,6 +269,7 @@ public void setStatusMessage(String message) {
* @param contextId the help context id.
* @since 3.2
*/
@Deprecated
@Override
public void setHelpContextId(String contextId) {
super.setHelpContextId(contextId);
Expand All @@ -279,6 +281,7 @@ public void setHelpContextId(String contextId) {
* @param titleArgument an optional argument for the edition pane's title
* @since 2.0
*/
@Deprecated
public void setEditionTitleArgument(String titleArgument) {
fTitleArg= titleArgument;
}
Expand All @@ -289,6 +292,7 @@ public void setEditionTitleArgument(String titleArgument) {
* @param titleImage an optional image for the edition pane's title
* @since 2.0
*/
@Deprecated
public void setEditionTitleImage(Image titleImage) {
fTitleImage= titleImage;
}
Expand All @@ -305,6 +309,7 @@ public void setEditionTitleImage(Image titleImage) {
* it is an <code>ITypedElement</code> returned from <code>IStructureCreator.locate(path, item)</code>
* @since 2.0
*/
@Deprecated
public ITypedElement selectPreviousEdition(final ITypedElement target, ITypedElement[] inputEditions, Object ppath) {
Assert.isNotNull(target);
fTargetPair= new Pair(null, target);
Expand Down Expand Up @@ -380,6 +385,7 @@ public ITypedElement selectPreviousEdition(final ITypedElement target, ITypedEle
* if <code>path</code> was <code>null</code>; otherwise
* it is an <code>ITypedElement</code> returned from <code>IStructureCreator.locate(path, item)</code>
*/
@Deprecated
public ITypedElement selectEdition(final ITypedElement target, ITypedElement[] inputEditions, Object ppath) {

Assert.isNotNull(target);
Expand Down Expand Up @@ -544,6 +550,7 @@ private Pair createPair(IStructureCreator sc, Object path, ITypedElement input)
* @param hide if true identical entries are hidden; otherwise they are shown.
* @since 2.0
*/
@Deprecated
public void setHideIdenticalEntries(boolean hide) {
fHideIdentical= hide;
}
Expand All @@ -554,6 +561,7 @@ public void setHideIdenticalEntries(boolean hide) {
* @param isRight if true target is shown on right hand side.
* @since 2.0
*/
@Deprecated
public void setTargetIsRight(boolean isRight) {
fTargetIsRight= isRight;
}
Expand All @@ -565,6 +573,7 @@ public void setTargetIsRight(boolean isRight) {
* @param addMode if true dialog is in 'add' mode.
* @since 2.0
*/
@Deprecated
public void setAddMode(boolean addMode) {
fAddMode= addMode;
fMultiSelect= addMode;
Expand All @@ -577,6 +586,7 @@ public void setAddMode(boolean addMode) {
* @param compareMode if true dialog is in 'add' mode.
* @since 2.0
*/
@Deprecated
public void setCompareMode(boolean compareMode) {
fCompareMode= compareMode;
fStructureCompare= fCompareMode && !fAddMode;
Expand All @@ -593,6 +603,7 @@ public void setCompareMode(boolean compareMode) {
*
* @return the last specified target or a subsection thereof.
*/
@Deprecated
public ITypedElement getTarget() {
return fTargetPair.getItem();
}
Expand All @@ -604,6 +615,7 @@ public ITypedElement getTarget() {
* @return the selected editions as an array.
* @since 2.1
*/
@Deprecated
public ITypedElement[] getSelection() {
ArrayList<ITypedElement> result= new ArrayList<>();
if (fMemberSelection != null) {
Expand Down Expand Up @@ -635,6 +647,7 @@ public ITypedElement[] getSelection() {
* @param item if a path has been specified in <code>selectEdition</code> a sub element of the given target; otherwise the same as target
* @return a label the target side of a compare viewer
*/
@Deprecated
protected String getTargetLabel(ITypedElement target, ITypedElement item) {
String format= null;
if (target instanceof ResourceNode) {
Expand Down Expand Up @@ -680,6 +693,7 @@ private boolean hasVariable(String string) {
* @param item if a path has been specified in <code>selectEdition</code> a sub element of the given selectedEdition; otherwise the same as selectedEdition
* @return a label for the edition side of a compare viewer
*/
@Deprecated
protected String getEditionLabel(ITypedElement selectedEdition, ITypedElement item) {
String format= null;
if (selectedEdition instanceof ResourceNode) {
Expand Down Expand Up @@ -721,6 +735,7 @@ protected String getEditionLabel(ITypedElement selectedEdition, ITypedElement it
* @return a label of a node in the edition tree viewer
* @since 2.0
*/
@Deprecated
protected String getShortEditionLabel(ITypedElement edition, ITypedElement item, Date date) {
String format= null;
if (edition instanceof ResourceNode) {
Expand Down Expand Up @@ -752,6 +767,7 @@ protected String getShortEditionLabel(ITypedElement edition, ITypedElement item,
* @return a label the edition side of a compare viewer
* @since 2.0
*/
@Deprecated
protected Image getEditionImage(ITypedElement selectedEdition, ITypedElement item) {
if (selectedEdition instanceof ResourceNode) {
return selectedEdition.getImage();
Expand All @@ -769,6 +785,7 @@ protected Image getEditionImage(ITypedElement selectedEdition, ITypedElement ite
return null;
}

@Deprecated
@Override
protected synchronized Control createDialogArea(Composite parent2) {

Expand Down Expand Up @@ -905,6 +922,7 @@ protected Viewer getViewer(Viewer oldViewer, Object input) {
return parent;
}

@Deprecated
@Override
protected void createButtonsForButtonBar(Composite parent) {
String buttonLabel= Utilities.getString(fBundle, "buttonLabel", IDialogConstants.OK_LABEL); //$NON-NLS-1$
Expand All @@ -923,6 +941,7 @@ protected void createButtonsForButtonBar(Composite parent) {
* Overidden to disable dismiss on double click in compare mode.
* @since 2.0
*/
@Deprecated
@Override
protected void okPressed() {
if (fCompareMode) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,19 @@ public interface IStreamMerger {
/**
* Indicates the successful completion of the merge operation (value <code>IStatus.OK</code>)
*/
@Deprecated
public static final int OK= IStatus.OK;

/**
* Indicates that a change conflict prevented the merge from successful completion (value <code>1</code>)
*/
@Deprecated
public static final int CONFLICT= 1;

/**
* Status code describing an internal error (value <code>2</code>)
*/
@Deprecated
public static final int INTERNAL_ERROR= 2;

/**
Expand All @@ -65,6 +68,7 @@ public interface IStreamMerger {
* @param monitor reports progress of the merge operation
* @return returns the completion status of the operation
*/
@Deprecated
IStatus merge(OutputStream output, String outputEncoding,
InputStream ancestor, String ancestorEncoding,
InputStream target, String targetEncoding,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
@Deprecated
public class CompareWithOtherResourceAction extends CompareAction {

@Deprecated
@Override
public void run(ISelection selection) {
// Show CompareWithOtherResourceDialog which return resources to compare
Expand All @@ -34,6 +35,7 @@ public void run(ISelection selection) {
super.run(selection);
}

@Deprecated
@Override
protected boolean isEnabled(ISelection selection) {
int selectionSize = 0;
Expand Down
Loading