You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ds...@apache.org on 2010/08/09 10:57:35 UTC

svn commit: r983560 - in /felix/trunk/sigil/eclipse/ui: plugin.xml sigil.properties src/org/apache/felix/sigil/eclipse/ui/internal/refactor/ExportChangePreviewViewer.java

Author: dsavage
Date: Mon Aug  9 08:57:34 2010
New Revision: 983560

URL: http://svn.apache.org/viewvc?rev=983560&view=rev
Log:
experiment with ChangePreviewers

Added:
    felix/trunk/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/refactor/ExportChangePreviewViewer.java
Modified:
    felix/trunk/sigil/eclipse/ui/plugin.xml
    felix/trunk/sigil/eclipse/ui/sigil.properties

Modified: felix/trunk/sigil/eclipse/ui/plugin.xml
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/ui/plugin.xml?rev=983560&r1=983559&r2=983560&view=diff
==============================================================================
--- felix/trunk/sigil/eclipse/ui/plugin.xml (original)
+++ felix/trunk/sigil/eclipse/ui/plugin.xml Mon Aug  9 08:57:34 2010
@@ -337,4 +337,14 @@
        </enablement>
      </moveParticipant>
    </extension>  
+   
+   <!--extension point="org.eclipse.ltk.ui.refactoring.changePreviewViewers">
+      <changePreviewViewer
+            class="org.apache.felix.sigil.eclipse.ui.internal.refactor.ExportChangePreviewViewer"
+            id="org.apache.felix.sigil.eclipse.ui.refactor.exportChangePreviewViewer">
+         <enablement>
+            <instanceof value="org.apache.felix.sigil.eclipse.ui.internal.refactor.ExportPackageChange"/>
+         </enablement>
+      </changePreviewViewer>
+   </extension-->
 </plugin>

Modified: felix/trunk/sigil/eclipse/ui/sigil.properties
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/ui/sigil.properties?rev=983560&r1=983559&r2=983560&view=diff
==============================================================================
--- felix/trunk/sigil/eclipse/ui/sigil.properties (original)
+++ felix/trunk/sigil/eclipse/ui/sigil.properties Mon Aug  9 08:57:34 2010
@@ -39,7 +39,7 @@
 	org.apache.felix.sigil.eclipse.model.repository, \
 	org.apache.felix.sigil.eclipse.model.util, \
 	org.apache.felix.sigil.eclipse.preferences, \
-	org.apache.felix.sigil.eclipse.repository;version=0.9.0, \
+	org.apache.felix.sigil.eclipse.repository, \
 	org.apache.felix.sigil.eclipse.ui, \
 	org.apache.felix.sigil.eclipse.ui.actions, \
 	org.apache.felix.sigil.eclipse.ui.util, \
@@ -79,6 +79,7 @@
 	org.eclipse.jface.wizard, \
 	org.eclipse.ltk.core.refactoring, \
 	org.eclipse.ltk.core.refactoring.participants, \
+	org.eclipse.ltk.ui.refactoring, \
 	org.eclipse.ui.editors.text, \
 	org.eclipse.ui.forms, \
 	org.eclipse.ui.forms.editor, \

Added: felix/trunk/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/refactor/ExportChangePreviewViewer.java
URL: http://svn.apache.org/viewvc/felix/trunk/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/refactor/ExportChangePreviewViewer.java?rev=983560&view=auto
==============================================================================
--- felix/trunk/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/refactor/ExportChangePreviewViewer.java (added)
+++ felix/trunk/sigil/eclipse/ui/src/org/apache/felix/sigil/eclipse/ui/internal/refactor/ExportChangePreviewViewer.java Mon Aug  9 08:57:34 2010
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.felix.sigil.eclipse.ui.internal.refactor;
+
+import org.eclipse.ltk.ui.refactoring.ChangePreviewViewerInput;
+import org.eclipse.ltk.ui.refactoring.IChangePreviewViewer;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
+
+/**
+ * @author dave
+ *
+ */
+public class ExportChangePreviewViewer implements IChangePreviewViewer
+{
+
+    /* (non-Javadoc)
+     * @see org.eclipse.ltk.ui.refactoring.IChangePreviewViewer#createControl(org.eclipse.swt.widgets.Composite)
+     */
+    public void createControl(Composite arg0)
+    {
+        // TODO Auto-generated method stub
+        
+    }
+
+    /* (non-Javadoc)
+     * @see org.eclipse.ltk.ui.refactoring.IChangePreviewViewer#getControl()
+     */
+    public Control getControl()
+    {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see org.eclipse.ltk.ui.refactoring.IChangePreviewViewer#setInput(org.eclipse.ltk.ui.refactoring.ChangePreviewViewerInput)
+     */
+    public void setInput(ChangePreviewViewerInput input)
+    {
+        // TODO Auto-generated method stub
+        
+    }
+
+}