|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.core.commands.common.EventManager org.eclipse.jface.action.AbstractAction org.eclipse.jface.action.Action org.eclipse.ecf.telephony.call.ui.actions.AbstractCallAction
public abstract class AbstractCallAction
Abstract class to implement calling via ECF Call API. Subclasses may be created.
Field Summary | |
---|---|
protected ID |
callReceiver
|
protected IExceptionHandler |
exceptionHandler
|
Fields inherited from interface org.eclipse.jface.action.IAction |
---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
AbstractCallAction()
|
|
AbstractCallAction(java.lang.String text)
|
|
AbstractCallAction(java.lang.String text,
org.eclipse.jface.resource.ImageDescriptor image)
|
|
AbstractCallAction(java.lang.String text,
int style)
|
Method Summary | |
---|---|
protected ICallSessionListener |
createCallSessionListener()
|
protected java.util.Map |
createOptions()
|
protected ICallSessionContainerAdapter |
getCallContainerAdapter()
|
IExceptionHandler |
getCallExceptionHandler()
|
ID |
getCallReceiver()
|
protected abstract IContainer |
getContainer()
|
protected ID |
getReceiverFromInputDialog(ICallSessionContainerAdapter adapter)
|
protected void |
makeCall()
|
void |
run()
The action has been activated. |
void |
setCallExceptionHandler(IExceptionHandler exceptionHandler)
|
void |
setCallReceiver(ID callReceiver)
|
Methods inherited from class org.eclipse.jface.action.Action |
---|
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class org.eclipse.jface.action.AbstractAction |
---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
Methods inherited from class org.eclipse.core.commands.common.EventManager |
---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
protected ID callReceiver
protected IExceptionHandler exceptionHandler
Constructor Detail |
---|
public AbstractCallAction()
public AbstractCallAction(java.lang.String text)
text
- public AbstractCallAction(java.lang.String text, org.eclipse.jface.resource.ImageDescriptor image)
text
- image
- public AbstractCallAction(java.lang.String text, int style)
text
- style
- Method Detail |
---|
public void setCallExceptionHandler(IExceptionHandler exceptionHandler)
public IExceptionHandler getCallExceptionHandler()
public void setCallReceiver(ID callReceiver)
public ID getCallReceiver()
protected ICallSessionContainerAdapter getCallContainerAdapter()
protected abstract IContainer getContainer()
protected ICallSessionListener createCallSessionListener()
protected ID getReceiverFromInputDialog(ICallSessionContainerAdapter adapter) throws IDCreateException
IDCreateException
protected java.util.Map createOptions()
protected void makeCall() throws CallException, IDCreateException
CallException
IDCreateException
public void run()
run
in interface org.eclipse.jface.action.IAction
run
in class org.eclipse.jface.action.Action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |