No Default Tabs from BPMN2.0 Modeller [message #1740025] |
Mon, 08 August 2016 07:50  |
Eclipse User |
|
|
|
Hi,
I am trying for not showing any default property tabs from BPMN2.0
I read in the following java file snippet for reference.
PropertyTabDescriptorProvider.java file there is code snippet
PropertyTabDescriptorProvider#getTabDescriptors(...){
...
for (PropertyTabDescriptor td : desc) {
// Note that the copy() makes the Tab Descriptor IDs and Section IDs unique.
// This is important because the TabbedPropertySheetPage uses these IDs to
// look up the Sections.
String rtid = td.getRuntimeId();
if (rtid==null || rtid.equals(TargetRuntime.DEFAULT_RUNTIME_ID) || rt.getId().equals(rtid)) {
if (td.getConfigFile()!=null && !rt.getId().equals(rtid))
// don't include Default Runtime tabs that were defined in a config file
// if this isn't the Default Runtime.
continue;
// what's left is just the Tab Descriptors defined by the current Target Runtime
// and the ones from the Default ("None") runtime.
replaced.add(td.copy());
}
}
...
}
How to create the config file?
The file is expected under project/.bpmnconfig folder. I searched a lot but couldnot figure out solution.
I don't want to show the default runtime tabs for UserTask,ServiceTask and StartEvent object.
Thank you in advance.
-Rakesh
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04504 seconds