This extension point supports the <enablement>
element.
The default variable is the change object to present a preview for.
Defined variables for <with>
expressions are:
org.eclipse.ltk.core.refactoring.Change
; the change object to present a preview for (same as the default variable)
<!ELEMENT extension (changePreviewViewer*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT changePreviewViewer (enablement)>
<!ATTLIST changePreviewViewer
id CDATA #REQUIRED
class CDATA #REQUIRED>
<extension point="org.eclipse.ltk.ui.refactoring.changePreviewViewers"> <changePreviewViewer class="org.eclipse.ltk.internal.ui.refactoring.TextEditChangePreviewViewer" id="org.eclipse.ltk.internal.ui.refactoring.textEditChangePreviewViewer"> <enablement> <instanceof value="org.eclipse.ltk.core.refactoring.TextChange"/> </enablement> </changePreviewViewer> </extension>
org.eclipse.ltk.ui.refactoring.IChangePreviewViewer
Copyright (c) 2001, 2013 IBM Corporation and others.
This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v20.html/
SPDX-License-Identifier: EPL-2.0