|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ter.SDK.PluginTypes
Title: Class PluginTypes
Description: Defines the different types of plugins
Copyright: Copyright (c) 2003
Company:
Field Summary | |
static int |
COMPOSITION_CONTROLER
For a CompositionControler plugin |
static int |
COMPOSITION_VIEW
For a CompositionView plugin |
static int |
CONTROLER_MANAGER_LIMIT
|
static int |
DETAIL_CONTROLER
For a DetailControler plugin |
static int |
DETAIL_VIEW
For an DetailView plugin |
static int |
HERITAGE_CONTROLER
For an HeritageControler plugin |
static int |
HERITAGE_VIEW
For an HeritageView plugin |
static int |
MANAGER
|
static int |
SEARCH_CONTROLER
For a SearchManager plugin |
static int |
SEARCH_VIEW
For a SearchView plugin This has note been implemented yet (the search results are not Views) |
static int |
TOP_MANAGER
|
Constructor Summary | |
PluginTypes()
|
Method Summary | |
static java.lang.String |
getName(int type)
return the type name of the given type |
static boolean |
isControler(int type)
test if the type given is a controler type |
static boolean |
isControler(Plugin p)
test if a plugin's type is controler |
static boolean |
isManager(Plugin p)
test if the given plugin's type is manager |
static boolean |
isTopManager(Plugin p)
test if the given plugin's type is AbstractTopManager |
static boolean |
isView(int type)
test if the given s type is a view type |
static boolean |
isView(Plugin p)
test if the given plugin's type is iew |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int HERITAGE_VIEW
public static final int DETAIL_VIEW
public static final int COMPOSITION_VIEW
public static final int SEARCH_VIEW
public static final int HERITAGE_CONTROLER
public static final int DETAIL_CONTROLER
public static final int COMPOSITION_CONTROLER
public static final int SEARCH_CONTROLER
public static final int CONTROLER_MANAGER_LIMIT
public static final int MANAGER
public static final int TOP_MANAGER
Constructor Detail |
public PluginTypes()
Method Detail |
public static boolean isControler(Plugin p)
p
- the plugin to test
public static boolean isControler(int type)
type
- the type to test
public static boolean isView(Plugin p)
p
- the plugin to test
public static boolean isView(int type)
type
- the type to test
public static boolean isManager(Plugin p)
p
- the plugin to test
public static boolean isTopManager(Plugin p)
p
- the plugin to test
public static java.lang.String getName(int type)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |