org.wsmostudio.repository.ui
Class RepositoryContent
java.lang.Object
org.wsmostudio.repository.ui.RepositoryContent
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput
public class RepositoryContent
- extends java.lang.Object
- implements org.eclipse.ui.IEditorInput
RepositoryContent is an implementation of IEditorInput and serves as a descriptor
of the Repository Editor input. It supplies information like repository name,
image descriptor and the repository instance itself.
The repository content is passed to the editor via the RepositoryEditor.init method.
This implementation supplies access to the repository instance via IAdaptable.getAdapter
method.
- Version:
- $Revision: 469 $ $Date: 2006-01-09 14:51:14 +0200 $
- Author:
- not attributable
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
RepositoryContent
public RepositoryContent(org.wsmo.datastore.WsmoRepository proxy)
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor in interface org.eclipse.ui.IEditorInput
getName
public java.lang.String getName()
- Specified by:
getName in interface org.eclipse.ui.IEditorInput
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput
getToolTipText
public java.lang.String getToolTipText()
- Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
equals
public boolean equals(java.lang.Object another)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
exists
public boolean exists()
- Specified by:
exists in interface org.eclipse.ui.IEditorInput
Copyright © 2005-2008 Ontotext Lab.. All Rights Reserved.