org.guvnor.tools.actions
Class GuvnorResourceEdition
java.lang.Object
org.guvnor.tools.actions.GuvnorResourceEdition
- All Implemented Interfaces:
- org.eclipse.compare.IStreamContentAccessor, org.eclipse.compare.ITypedElement
public class GuvnorResourceEdition
- extends Object
- implements org.eclipse.compare.IStreamContentAccessor, org.eclipse.compare.ITypedElement
Represents compare input contents.
| Fields inherited from interface org.eclipse.compare.ITypedElement |
FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuvnorResourceEdition
public GuvnorResourceEdition(String name,
String type,
String contents,
String encoding)
getContents
public InputStream getContents()
throws org.eclipse.core.runtime.CoreException
- Specified by:
getContents in interface org.eclipse.compare.IStreamContentAccessor
- Throws:
org.eclipse.core.runtime.CoreException
getImage
public org.eclipse.swt.graphics.Image getImage()
- Specified by:
getImage in interface org.eclipse.compare.ITypedElement
getName
public String getName()
- Specified by:
getName in interface org.eclipse.compare.ITypedElement
getType
public String getType()
- Specified by:
getType in interface org.eclipse.compare.ITypedElement
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.