By default, there are four actions in the action tab, they are “No Action”, “Change Flow Event”, “Launch New Flow”, and “Launch New Operation”. If you want to hide or show any of the action type radio buttons in the Actions tab ( “Change Flow Event”, “Launch New Flow”, and “Launch New Operation”), you can override the setInput method in ExtActionPropertySection01.java. For Url, you can use the following two ways to set the action:
▪ Set true or false to isLink. If isLink=true, it shows, if isLink=false, it hides
Set Action Name for each action tab. Override createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage) in ExtActionPropertySection01
@Override public void createControls(Composite parent, TabbedPropertySheetPage aTabbedPropertySheetPage) { Composite c = new Composite(parent,SWT.None); c.setBackground(c.getDisplay().getSystemColor(SWT.COLOR_WHITE)); c.setLayout(new GridLayout(2, false)); c.setLayoutData(new GridData(GridData.FILL_BOTH)); Label actionName = new Label(c, SWT.None); actionName.setText("Action Name:"); actionName.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_WHITE)); actionName.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_BLUE)); Label value = new Label(c, SWT.None); value.setText("Action02"); value.setBackground(parent.getDisplay().getSystemColor(SWT.COLOR_WHITE)); value.setForeground(parent.getDisplay().getSystemColor(SWT.COLOR_BLACK)); super.createControls(parent, aTabbedPropertySheetPage); }