Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ac0840e3b20f9d5ccc9003a40c2735286c024e81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
modeltype genModel uses "http://www.eclipse.org/gmf/2008/GenModel";

library MenuAction;

helper hasCommandsToContribute(editorGen : genModel::GenEditorGenerator) : Boolean {
	return not editorGen.contextMenus->isEmpty()
}

helper hasHandlersToContribute(editorGen : genModel::GenEditorGenerator) : Boolean {
	return hasCommandsToContribute(editorGen)
}

Back to the top