Skip to content

Commit f98cbcc

Browse files
committed
Remove explicit disabled icons from org.eclipse.team.ui
Use on-the-fly-generated disabled version of SVG-rasterized icons instead.
1 parent 1ac7d00 commit f98cbcc

File tree

3 files changed

+0
-55
lines changed

3 files changed

+0
-55
lines changed

team/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/ITeamUIImages.java

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -65,50 +65,6 @@ public interface ITeamUIImages {
6565
* Identifies the both mode for synchronizing.
6666
*/
6767
public final String IMG_SYNC_MODE_FREE = "elcl16/catchuprelease_rls.svg"; //$NON-NLS-1$
68-
/**
69-
* Identifies an incoming change.
70-
*/
71-
public final String IMG_DLG_SYNC_INCOMING_DISABLED = "dlcl16/incom_synch.png"; //$NON-NLS-1$
72-
/**
73-
* Identifies an outgoing change.
74-
*/
75-
public final String IMG_DLG_SYNC_OUTGOING_DISABLED = "dlcl16/outgo_synch.png"; //$NON-NLS-1$
76-
/**
77-
* Identifies a conflicting change.
78-
*/
79-
public final String IMG_DLG_SYNC_CONFLICTING_DISABLED = "dlcl16/conflict_synch.png"; //$NON-NLS-1$
80-
/**
81-
* Identifies a refresh action.
82-
*/
83-
public final String IMG_REFRESH_DISABLED = "dlcl16/refresh.png"; //$NON-NLS-1$
84-
/**
85-
* Identifies a refresh with repository action.
86-
*/
87-
public final String IMG_REFRESH_REMOTE_DISABLED = "dlcl16/refresh_remote.png"; //$NON-NLS-1$
88-
/**
89-
* Identifies a link with action.
90-
*/
91-
public final String IMG_LINK_WITH_DISABLED = "dlcl16/synced.png"; //$NON-NLS-1$
92-
/**
93-
* Identifies an ignore white space action.
94-
*/
95-
public final String IMG_IGNORE_WHITESPACE_DISABLED = "dlcl16/ignorews_edit.png"; //$NON-NLS-1$
96-
/**
97-
* Identifies a collapse all action.
98-
*/
99-
public final String IMG_COLLAPSE_ALL_DISABLED = "dlcl16/collapseall.png"; //$NON-NLS-1$
100-
/**
101-
* Identifies the incoming mode for synchronizing.
102-
*/
103-
public final String IMG_SYNC_MODE_CATCHUP_DISABLED = "dlcl16/catchup_rls.png"; //$NON-NLS-1$
104-
/**
105-
* Identifies the outgoing mode for synchronizing.
106-
*/
107-
public final String IMG_SYNC_MODE_RELEASE_DISABLED = "dlcl16/release_rls.png"; //$NON-NLS-1$
108-
/**
109-
* Identifies the both mode for synchronizing.
110-
*/
111-
public final String IMG_SYNC_MODE_FREE_DISABLED = "dlcl16/catchuprelease_rls.png"; //$NON-NLS-1$
11268
/**
11369
* Identifies an incoming change.
11470
*/

team/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/TeamUIPlugin.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,20 +385,10 @@ private void initializeImages(TeamUIPlugin plugin) {
385385
createImageDescriptor(plugin, ITeamUIImages.IMG_COLLAPSE_ALL);
386386
createImageDescriptor(plugin, ITeamUIImages.IMG_COLLAPSE_ALL_ENABLED);
387387

388-
createImageDescriptor(plugin, ITeamUIImages.IMG_DLG_SYNC_INCOMING_DISABLED);
389-
createImageDescriptor(plugin, ITeamUIImages.IMG_DLG_SYNC_OUTGOING_DISABLED);
390-
createImageDescriptor(plugin, ITeamUIImages.IMG_DLG_SYNC_CONFLICTING_DISABLED);
391-
createImageDescriptor(plugin, ITeamUIImages.IMG_REFRESH_DISABLED);
392-
createImageDescriptor(plugin, ITeamUIImages.IMG_IGNORE_WHITESPACE_DISABLED);
393-
394388
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_CATCHUP);
395389
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_RELEASE);
396390
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_FREE);
397391

398-
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_CATCHUP_DISABLED);
399-
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_RELEASE_DISABLED);
400-
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_FREE_DISABLED);
401-
402392
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_CATCHUP_ENABLED);
403393
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_RELEASE_ENABLED);
404394
createImageDescriptor(plugin, ITeamUIImages.IMG_SYNC_MODE_FREE_ENABLED);

team/bundles/org.eclipse.team.ui/src/org/eclipse/team/internal/ui/synchronize/actions/ToggleLinkingAction.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ public ToggleLinkingAction(SynchronizeView view) {
2929
setDescription(TeamUIMessages.SynchronizeView_linkWithEditorDescription);
3030
setToolTipText(TeamUIMessages.SynchronizeView_linkWithEditorTooltip);
3131
setImageDescriptor(TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_LINK_WITH));
32-
setDisabledImageDescriptor(TeamUIPlugin.getImageDescriptor(ITeamUIImages.IMG_LINK_WITH_DISABLED));
3332
setActionDefinitionId(IWorkbenchCommandConstants.NAVIGATE_TOGGLE_LINK_WITH_EDITOR);
3433
this.view = view;
3534
setChecked(view.isLinkingEnabled());

0 commit comments

Comments
 (0)