Project

General

Profile

« Previous | Next » 

Revision 6169c515

Added by Niels Hoffmann over 12 years ago

View differences:

eu.etaxonomy.taxeditor.application.rcp/src/eu/etaxonomy/taxeditor/P2Util.java
12 12
package eu.etaxonomy.taxeditor;
13 13

  
14 14
import org.apache.log4j.Logger;
15
import org.eclipse.core.internal.runtime.Log;
16 15
import org.eclipse.core.runtime.IProgressMonitor;
17 16
import org.eclipse.core.runtime.IStatus;
18 17
import org.eclipse.core.runtime.OperationCanceledException;
......
22 21
import org.eclipse.equinox.p2.operations.ProvisioningSession;
23 22
import org.eclipse.equinox.p2.operations.UpdateOperation;
24 23

  
25
import eu.etaxonomy.taxeditor.store.StoreUtil;
26

  
27 24
/**
28 25
 * This class shows an example for checking for updates and performing the
29 26
 * update synchronously.  It is up to the caller to run this in a job if
eu.etaxonomy.taxeditor.editor.rcp/src/eu/etaxonomy/taxeditor/singlesource/editor/name/container/NameViewerFacadeImpl.java
251 251
		if(position == null){
252 252
			position = new PositionFacade(0, 0);
253 253
		}
254
		if (position instanceof Position)
254
		if (position instanceof Position){
255 255
			this.getAnnotationModel().addAnnotation((Annotation)annotation, (Position)position);
256
		else
256
		}else{
257 257
			throw new OperationNotSupportedException("type of argument 'position' must be org.eclipse.jface.text.Position.");
258
		}
258 259
	}
259 260

  
260 261
	/**
eu.etaxonomy.taxeditor.editor/META-INF/MANIFEST.MF
110 110
 org.eclipse.zest.layouts
111 111
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
112 112
Bundle-ActivationPolicy: lazy
113
Import-Package: org.eclipse.core.databinding.beans,
113
Import-Package: eu.etaxonomy.taxeditor.singlesource.editor.key.polytomous,
114
 org.eclipse.core.databinding.beans,
114 115
 org.eclipse.core.databinding.observable.list,
115 116
 org.eclipse.core.databinding.observable.map,
116 117
 org.eclipse.core.resources;resolution:=optional,
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/key/polytomous/PolytomousKeyListEditor.java
47 47
import eu.etaxonomy.taxeditor.model.IDirtyMarkableSelectionProvider;
48 48
import eu.etaxonomy.taxeditor.singlesource.editor.key.polytomous.PolytomousKeyListLabelProviderFacade;
49 49

  
50

  
50 51
/**
51 52
 * @author n.hoffmann
52 53
 * @created Mar 31, 2011
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/singlesource/org/eclipse/jface/text/PositionFacade.java
5 5

  
6 6
import javax.naming.OperationNotSupportedException;
7 7

  
8
import org.eclipse.swt.widgets.Composite;
9
import org.eclipse.ui.forms.widgets.TableWrapData;
10

  
11
import eu.etaxonomy.taxeditor.editor.EditorUtil;
12
import eu.etaxonomy.taxeditor.preference.Resources;
13 8
import eu.etaxonomy.taxeditor.singlesource.ImplementationLoader;
14
import eu.etaxonomy.taxeditor.singlesource.editor.name.container.INameViewer;
15
import eu.etaxonomy.taxeditor.singlesource.editor.name.container.NameViewerFacade;
16 9

  
17 10
/**
18 11
 * @author lusu
......
30 23
		IMPL = (IPosition)ImplementationLoader.newInstance(PositionFacade.class);
31 24
	}
32 25

  
33
	public PositionFacade(int offset) throws OperationNotSupportedException {
26
	public PositionFacade(Integer offset) throws OperationNotSupportedException {
34 27
		IMPL = (IPosition)ImplementationLoader.newInstance(PositionFacade.class, offset);
35 28
	}
36 29

  
37
	public PositionFacade(int offset, int length) throws OperationNotSupportedException {
30
	public PositionFacade(Integer offset, Integer length) throws OperationNotSupportedException {
38 31
		IMPL = (IPosition)ImplementationLoader.newInstance(PositionFacade.class, offset, length);
39 32
	}
40 33

  
eu.etaxonomy.taxeditor.feature/build.properties
1
bin.includes = plugin_customization.ini,\
2
               feature.xml
3
p2.gathering = true
1
bin.includes = plugin_customization.ini,\
2
               feature.xml
3
p2.gathering = true

Also available in: Unified diff