|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.beans.FeatureDescriptor
org.openide.nodes.Node
org.openide.nodes.AbstractNode
cz.cuni.amis.nb.pogamut.base.server.ServerNode<T>
cz.cuni.amis.nb.pogamut.base.server.EmbededServerNode<T>
public abstract class EmbededServerNode<T extends ServerDefinition>
Node representing server run from within the IDE. This server can be started/restarted and stopped from the IDE. A window with server log will be also shown.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class cz.cuni.amis.nb.pogamut.base.server.ServerNode |
|---|
ServerNode.FlagProp, ServerNode.ReflProp, ServerNode.ServerUpAction<T extends cz.cuni.amis.pogamut.base.server.IWorldServer> |
| Nested classes/interfaces inherited from class org.openide.nodes.Node |
|---|
org.openide.nodes.Node.Cookie, org.openide.nodes.Node.Handle, org.openide.nodes.Node.IndexedProperty<T,E>, org.openide.nodes.Node.Property<T>, org.openide.nodes.Node.PropertySet |
| Field Summary | |
|---|---|
protected cz.cuni.amis.utils.flag.Flag<Boolean> |
serverRunning
|
| Fields inherited from class cz.cuni.amis.nb.pogamut.base.server.ServerNode |
|---|
actualServer, serverDef, serverStateListener |
| Fields inherited from class org.openide.nodes.AbstractNode |
|---|
displayFormat, systemActions |
| Fields inherited from class org.openide.nodes.Node |
|---|
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION |
| Constructor Summary | |
|---|---|
EmbededServerNode()
|
|
| Method Summary | |
|---|---|
protected void |
createServerOutput()
|
Action[] |
getActions(boolean context)
|
abstract Reader |
getServerConsoleOutput()
|
org.openide.windows.InputOutput |
getServerIO()
|
protected void |
restartServer()
|
protected abstract void |
startServer()
Code for starting the embeded server. |
protected void |
startServerInternal()
|
protected abstract void |
stopServer()
Code for stoping the embeded server. |
protected void |
stopServerInternal()
|
| Methods inherited from class cz.cuni.amis.nb.pogamut.base.server.ServerNode |
|---|
createName, createSheet, getIcon, getOpenedIcon, getServerDefinition, getServerIcon, getURIPropEditorClass, init, registerServerStateListener, serverChangedHandler, serverStateChangeHandler |
| Methods inherited from class org.openide.nodes.AbstractNode |
|---|
canCopy, canCut, canDestroy, canRename, clipboardCopy, clipboardCut, cloneNode, createActions, createPasteTypes, drag, getActions, getCookie, getCookieSet, getCustomizer, getDefaultAction, getDropType, getHandle, getHelpCtx, getNewTypes, getPasteTypes, getPreferredAction, getPropertySets, getSheet, hasCustomizer, setCookieSet, setDefaultAction, setIconBase, setIconBaseWithExtension, setName, setSheet |
| Methods inherited from class org.openide.nodes.Node |
|---|
addNodeListener, addPropertyChangeListener, clone, destroy, equals, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextActions, getContextMenu, getHtmlDisplayName, getLookup, getParentNode, hashCode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setDisplayName, setHidden, setShortDescription, toString |
| Methods inherited from class java.beans.FeatureDescriptor |
|---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setPreferred, setValue |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected cz.cuni.amis.utils.flag.Flag<Boolean> serverRunning
| Constructor Detail |
|---|
public EmbededServerNode()
| Method Detail |
|---|
public abstract Reader getServerConsoleOutput()
public org.openide.windows.InputOutput getServerIO()
public Action[] getActions(boolean context)
getActions in class ServerNode<T extends ServerDefinition>
protected void restartServer()
throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutException
protected abstract void startServer()
throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutException
protected abstract void stopServer()
throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutException
protected void startServerInternal()
throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutException
protected void stopServerInternal()
throws cz.cuni.amis.utils.exception.PogamutException
cz.cuni.amis.utils.exception.PogamutExceptionprotected void createServerOutput()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||