본문 바로가기

IT/JAVA,RCP,SWT,GEF,Plugin 개발

플러그인 개발 – 메뉴개발 -1(action, actionDelegate)

반응형
  1. Action, Delegate 정의
    1. Action이란?

    메뉴, 툴바… 여러 범위에 행동(액션)을 구현하여 사용자, 프로그래머가 기능을 사용할 수 있도록 하는 것(?)

    1. ActionDeleage란?

    정의한 액션에 대한 대리자 역할, Delegate역할을 하며 다음의 Delegate가 있다.

     

Interface IActionDelegate(ecliplse API)

All Known Subinterfaces:

IActionDelegate2IEditorActionDelegateIObjectActionDelegateIViewActionDelegateIWorkbenchWindowActionDelegate,IWorkbenchWindowPulldownDelegateIWorkbenchWindowPulldownDelegate2

All Known Implementing Classes:

AbstractLaunchHistoryActionAbstractLaunchToolbarActionAbstractRulerActionDelegateActionDelegate,AddMemoryRenderingActionDelegateApplyRefactoringScriptActionBookmarkRulerActionContextualLaunchAction,CreateRefactoringScriptActionDebugAction, org.eclipse.debug.internal.ui.actions.ExecutionAction, FileBufferOperationAction,GotoLastEditPositionActionLaunchAsActionLaunchShortcutsActionLaunchURLOpenLaunchDialogActionQuickDiffToggleAction,RedoRefactoringActionRelaunchLastActionRulerBreakpointTypesActionDelegateRulerEnableDisableBreakpointActionDelegate,RulerToggleBreakpointActionDelegateRunActionRunToLineActionDelegateSelectRulerActionShowRefactoringHistoryAction,TaskRulerAction, org.eclipse.debug.internal.ui.actions.breakpoints.ToggleBreakpointObjectActionDelegate,ToggleMethodBreakpointActionDelegateToggleWatchpointActionDelegate, org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction,