org.wsmostudio.repository.ui
Class WSMOEntityContainer

java.lang.Object
  extended by org.wsmostudio.repository.ui.WSMOEntityContainer

public class WSMOEntityContainer
extends java.lang.Object

A helper UI component which appears as a part of the RepositoryEditor component. Its task is to visualize a list of all available entities of certain type within a repository instance. The basic operations are addition, retrieval and removal of entities.

Version:
$Revision: 1224 $ $Date: 2007-07-19 15:54:57 +0300 $
Author:
not attributable

Field Summary
static byte GOAL_CONTENT
           
static byte MEDIATOR_CONTENT
           
static byte ONTOLOGY_CONTENT
           
static byte SERVICE_CONTENT
           
 
Constructor Summary
WSMOEntityContainer(org.eclipse.swt.widgets.TabFolder parentFolder, RepositoryEditor editor, org.wsmo.datastore.WsmoRepository repo, java.lang.String panelTitle, byte contentType)
           
 
Method Summary
 void addEntry(org.wsmo.common.Identifier entityRef)
           
 boolean containsEntry(org.wsmo.common.Identifier entityRef)
           
 void dispose()
           
 void reloadContent()
           
static org.wsmo.common.TopEntity retrieveTopEntity(org.wsmo.datastore.WsmoRepository repo, org.wsmo.common.IRI id, byte eType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONTOLOGY_CONTENT

public static final byte ONTOLOGY_CONTENT
See Also:
Constant Field Values

MEDIATOR_CONTENT

public static final byte MEDIATOR_CONTENT
See Also:
Constant Field Values

GOAL_CONTENT

public static final byte GOAL_CONTENT
See Also:
Constant Field Values

SERVICE_CONTENT

public static final byte SERVICE_CONTENT
See Also:
Constant Field Values
Constructor Detail

WSMOEntityContainer

public WSMOEntityContainer(org.eclipse.swt.widgets.TabFolder parentFolder,
                           RepositoryEditor editor,
                           org.wsmo.datastore.WsmoRepository repo,
                           java.lang.String panelTitle,
                           byte contentType)
Method Detail

reloadContent

public void reloadContent()

containsEntry

public boolean containsEntry(org.wsmo.common.Identifier entityRef)

addEntry

public void addEntry(org.wsmo.common.Identifier entityRef)

dispose

public void dispose()

retrieveTopEntity

public static org.wsmo.common.TopEntity retrieveTopEntity(org.wsmo.datastore.WsmoRepository repo,
                                                          org.wsmo.common.IRI id,
                                                          byte eType)


Copyright © 2005-2008 Ontotext Lab.. All Rights Reserved.