|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IControlAction
An IAction that can be applied to a selected panel Resource. This interface is used by both the PanelTreeViewer and the PreviewPanel.
| Field Summary |
|---|
| 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 |
| Method Summary | |
|---|---|
void |
init(com.hp.hpl.jena.rdf.model.Resource panel,
IControlActionDriver driver)
|
boolean |
isEnabled(com.hp.hpl.jena.rdf.model.Resource panel)
Assuming that isVisible(panel) is also true, this method checks
if this action shall also be enabled for a given panel. |
boolean |
isVisible(com.hp.hpl.jena.rdf.model.Resource panel)
Checks if this action shall show up in the drop down menu for a given panel. |
| Methods inherited from interface org.eclipse.jface.action.IAction |
|---|
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| Method Detail |
|---|
void init(com.hp.hpl.jena.rdf.model.Resource panel,
IControlActionDriver driver)
boolean isEnabled(com.hp.hpl.jena.rdf.model.Resource panel)
isVisible(panel) is also true, this method checks
if this action shall also be enabled for a given panel.
panel - the panel Resource to validate
boolean isVisible(com.hp.hpl.jena.rdf.model.Resource panel)
panel - the panel Resource to validate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||