|
|||||||||
| Home >> All >> org >> greenstone >> gatherer >> [ cdm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.greenstone.gatherer.cdm
Class CollectionDesignManager

java.lang.Objectorg.greenstone.gatherer.cdm.CollectionDesignManager
- public class CollectionDesignManager
- extends java.lang.Object
This manager provides access to submanagers, which in turn provide tools for the designing of Greenstone collections via the information stored in etc/collect.cfg. This class acts as a hub for the managers that handle specific parts of the configuration such as classifiers, format strings and language settings.
- Version:
- 2.3d
| Nested Class Summary | |
private class |
CollectionDesignManager.CDMChangeListener
|
| Field Summary | |
static CollectionDesignManager.CDMChangeListener |
change_listener
This listener listens for any event on any of the components in any of the sub-views, and marks the collection as needing saving if any change occurs. |
static ClassifierManager |
classifier_manager
A list of classifiers to use at build time. |
static CollectionConfiguration |
collect_config
The CollectionConfiguration object on which this CDM will be based. |
static CollectionMetaManager |
collectionmeta_manager
A manager of collection level metadata. |
static FormatManager |
format_manager
A list of formating strings to use at build time. |
static GeneralManager |
general_manager
The manager in charge of displaying this manager and the controls for other managers. |
static IndexManager |
index_manager
List of indexes to be built, and the default index. |
static LanguageManager |
language_manager
Contains instructions dealing with the collection language. |
static MetadataSetView |
metadataset_view
A simple manager for the visual review of metadata sets. |
static PlugInManager |
plugin_manager
A list of plugins to use at build time. |
static SearchTypeManager |
searchtype_manager
The manager in charge of all aspects of searchtypes. |
static SubcollectionManager |
subcollection_manager
Contains: A list of subcollections, (defined on metadatadata), a list of which subcollection indexes to build and the default subcollection index. |
static SubcollectionIndexManager |
subcollectionindex_manager
|
static SuperCollectionManager |
supercollection_manager
A supercollection command allows a single search to be conducted across several collections. |
static TranslationView |
translation_view
The text translation manager. |
| Constructor Summary | |
CollectionDesignManager(java.io.File collect_config_file)
Constructor. |
|
| Method Summary | |
void |
destroy()
This method deconstructs each of the managers, causing them to dispose of their controls. |
void |
display(javax.swing.JPanel target)
Display the GUI interface for the CollectionDesignManager in the centre of the indicated panel. |
void |
gainFocus()
When the tab on the JTabbedPane that contains the GUI is selected, this method is called to ensure that the controls are all up to date, in terms of references to metadata etc. |
boolean |
ready()
The cdm is considered to be ready if the collect.cfg file was found and parsed and the collection title is not error. |
void |
save()
Cause the current collection configuration to be written out to disk. |
void |
setCollectionAsPublic()
Ensures that the collection is now public. |
java.awt.Rectangle |
setSelectedElement(java.lang.String element)
Method used during a global search and replace to highlight the appropriate record within the Collection Design Managers version of the Metadata Set Manager (view only). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
change_listener
public static CollectionDesignManager.CDMChangeListener change_listener
- This listener listens for any event on any of the components in any of the sub-views, and marks the collection as needing saving if any change occurs.
classifier_manager
public static ClassifierManager classifier_manager
- A list of classifiers to use at build time.
collect_config
public static CollectionConfiguration collect_config
- The CollectionConfiguration object on which this CDM will be based.
collectionmeta_manager
public static CollectionMetaManager collectionmeta_manager
- A manager of collection level metadata.
format_manager
public static FormatManager format_manager
- A list of formating strings to use at build time.
general_manager
public static GeneralManager general_manager
- The manager in charge of displaying this manager and the controls for other managers.
index_manager
public static IndexManager index_manager
- List of indexes to be built, and the default index.
language_manager
public static LanguageManager language_manager
- Contains instructions dealing with the collection language.
metadataset_view
public static MetadataSetView metadataset_view
- A simple manager for the visual review of metadata sets.
plugin_manager
public static PlugInManager plugin_manager
- A list of plugins to use at build time.
searchtype_manager
public static SearchTypeManager searchtype_manager
- The manager in charge of all aspects of searchtypes. We also ask this manager whether we are MG or MGPP enabled.
subcollection_manager
public static SubcollectionManager subcollection_manager
- Contains: A list of subcollections, (defined on metadatadata), a list of which subcollection indexes to build and the default subcollection index.
subcollectionindex_manager
public static SubcollectionIndexManager subcollectionindex_manager
supercollection_manager
public static SuperCollectionManager supercollection_manager
- A supercollection command allows a single search to be conducted across several collections. It is a very basic command and so avoids all the crazy model stuff that exists in most of the design managers.
translation_view
public static TranslationView translation_view
- The text translation manager.
| Constructor Detail |
CollectionDesignManager
public CollectionDesignManager(java.io.File collect_config_file)
- Constructor. Loads a certain collection configuration file, which is parsed into a DOM. This model is then registered with the command information managers, each of whom knows how to, and provides controls to, alter certain commands.
| Method Detail |
destroy
public void destroy()
- This method deconstructs each of the managers, causing them to dispose of their controls.
display
public void display(javax.swing.JPanel target)
- Display the GUI interface for the CollectionDesignManager in the centre of the indicated panel.
gainFocus
public void gainFocus()
- When the tab on the JTabbedPane that contains the GUI is selected, this method is called to ensure that the controls are all up to date, in terms of references to metadata etc.
ready
public boolean ready()
- The cdm is considered to be ready if the collect.cfg file was found and parsed and the collection title is not error.
save
public void save()
- Cause the current collection configuration to be written out to disk.
setCollectionAsPublic
public void setCollectionAsPublic()
- Ensures that the collection is now public. Useful for collections that are based on another, or that are about to be exported
setSelectedElement
public java.awt.Rectangle setSelectedElement(java.lang.String element)
- Method used during a global search and replace to highlight the appropriate record within the Collection Design Managers version of the Metadata Set Manager (view only).
|
|||||||||
| Home >> All >> org >> greenstone >> gatherer >> [ cdm overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.greenstone.gatherer.cdm.CollectionDesignManager