|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.novell.admin.common.snapins.AdminPageSnapin
Base class for all Admin Page snapins. Classes that extend this class MUST define tabName, menuName, snapin_name, snapin_description and thePanel in their initSnapin method. AND, derived initSnapin methods must call this classes initSnapin.
| Field Summary | |
protected InitSnapinInfo |
info
|
protected java.lang.String |
menuName
|
protected NSObject |
nsObj
|
protected PropertyBook |
propertyBook
|
protected Shell |
shell
|
protected java.lang.String |
snapin_description
|
protected java.lang.String |
snapin_name
|
protected java.lang.String |
tabName
|
protected AdminPage |
thePanel
|
| Constructor Summary | |
AdminPageSnapin()
|
|
| Method Summary | |
boolean |
canSave()
Interface implementation. |
java.lang.String[] |
getHandledAttributeNames()
Definition of interface AttributeHandler. |
java.lang.String |
getMenuName()
Interface implementation. |
protected ObjectEntryCollection |
getObjectEntryCollection()
Get the ObjectEntryCollection the snapins is working with. |
java.awt.Component |
getPage()
Returns the page that this snapin represents. |
java.lang.String |
getSnapinDescription()
Interface implementation. |
java.lang.String |
getSnapinName()
Interface implementation. |
java.lang.String |
getTabID()
Interface implementation. |
java.lang.String |
getTabName()
Interface implementation. |
boolean |
hasHelp()
Interface implementation to tell whether of not the panel has help. |
boolean |
initSnapin(InitSnapinInfo snapinInfo)
Interface implementation. |
boolean |
isMOD()
Tells if snapin running under MOD. |
boolean |
killActive()
Called just before the page loses the focus. |
boolean |
saveData()
Interface implementation; Note that this does NOT call thePanel's saveData(). |
void |
setActive(boolean isFirstTimeShown)
Called just before the page is set as the current page. |
protected void |
setObjectEntryCollection(ObjectEntryCollection collection)
Called by derived classes when they want to set the ObjectEntryCollection to another Namespace. |
void |
showHelp()
Launches context sensitive help. |
void |
shutdownSnapin()
Interface implementation, called when snapin shutsdown. |
void |
snapinListener(SnapinEvent e)
When this SnapinEvent is received, it gets the new ObjectEntryCollection from the MODSnapinEvent and resets oeCollection to these entries. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
protected java.lang.String tabName
protected java.lang.String menuName
protected java.lang.String snapin_name
protected java.lang.String snapin_description
protected InitSnapinInfo info
protected PropertyBook propertyBook
protected Shell shell
protected AdminPage thePanel
protected NSObject nsObj
| Constructor Detail |
public AdminPageSnapin()
| Method Detail |
public boolean initSnapin(InitSnapinInfo snapinInfo)
public java.awt.Component getPage()
public java.lang.String getTabName()
public java.lang.String getTabID()
public java.lang.String getMenuName()
public java.lang.String getSnapinName()
public java.lang.String getSnapinDescription()
public void setActive(boolean isFirstTimeShown)
I-isFirstTimeShown - true, if first time page is shown, false otherwise.public boolean killActive()
public void showHelp()
public boolean hasHelp()
public boolean canSave()
public boolean saveData()
public java.lang.String[] getHandledAttributeNames()
AttributeHandlerpublic boolean isMOD()
public void shutdownSnapin()
public void snapinListener(SnapinEvent e)
e - The SnapinEvent. Since we are only registered for
MODSnapinEvent.EVENT_NAME we are guaranteed that that is
the type event we will receive.protected void setObjectEntryCollection(ObjectEntryCollection collection)
entries - The re-mapped ObjectEntryCollectionprotected ObjectEntryCollection getObjectEntryCollection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||