|
|
|
@ -7,14 +7,12 @@ import com.fr.base.passport.FinePassportListenerAdapter;
|
|
|
|
|
import com.fr.base.passport.FinePassportManager; |
|
|
|
|
import com.fr.base.process.ProcessOperator; |
|
|
|
|
import com.fr.chart.chartattr.ChartCollection; |
|
|
|
|
import com.fr.chart.charttypes.ChartTypeManager; |
|
|
|
|
import com.fr.config.MarketConfig; |
|
|
|
|
import com.fr.decision.update.backup.RecoverManager; |
|
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
|
import com.fr.design.ExtraDesignClassManager; |
|
|
|
|
import com.fr.design.actions.NewFormAction; |
|
|
|
|
import com.fr.design.actions.core.ActionFactory; |
|
|
|
|
import com.fr.design.actions.insert.cell.AutoChartCellAction; |
|
|
|
|
import com.fr.design.actions.insert.cell.BiasCellAction; |
|
|
|
|
import com.fr.design.actions.insert.cell.ChartCellAction; |
|
|
|
|
import com.fr.design.actions.insert.cell.DSColumnCellAction; |
|
|
|
@ -23,7 +21,6 @@ import com.fr.design.actions.insert.cell.GeneralCellAction;
|
|
|
|
|
import com.fr.design.actions.insert.cell.ImageCellAction; |
|
|
|
|
import com.fr.design.actions.insert.cell.RichTextCellAction; |
|
|
|
|
import com.fr.design.actions.insert.cell.SubReportCellAction; |
|
|
|
|
import com.fr.design.actions.insert.flot.AutoChartFloatAction; |
|
|
|
|
import com.fr.design.actions.insert.flot.ChartFloatAction; |
|
|
|
|
import com.fr.design.actions.insert.flot.FormulaFloatAction; |
|
|
|
|
import com.fr.design.actions.insert.flot.ImageFloatAction; |
|
|
|
@ -225,21 +222,16 @@ public class DesignerActivator extends Activator {
|
|
|
|
|
classes.add(provider.actionForInsertCellElement()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
List<Class<?>> baseClasses = new ArrayList<>(); |
|
|
|
|
baseClasses.add(DSColumnCellAction.class); |
|
|
|
|
baseClasses.add(GeneralCellAction.class); |
|
|
|
|
baseClasses.add(RichTextCellAction.class); |
|
|
|
|
baseClasses.add(FormulaCellAction.class); |
|
|
|
|
baseClasses.add(ChartCellAction.class); |
|
|
|
|
if(ChartTypeManager.AUTO_CHART) { |
|
|
|
|
baseClasses.add(AutoChartCellAction.class); |
|
|
|
|
} |
|
|
|
|
baseClasses.add(ImageCellAction.class); |
|
|
|
|
baseClasses.add(BiasCellAction.class); |
|
|
|
|
baseClasses.add(SubReportCellAction.class); |
|
|
|
|
|
|
|
|
|
return ArrayUtils.addAll(baseClasses.toArray(new Class<?>[baseClasses.size()]), |
|
|
|
|
classes.toArray(new Class<?>[classes.size()])); |
|
|
|
|
return ArrayUtils.addAll(new Class<?>[]{ |
|
|
|
|
DSColumnCellAction.class, |
|
|
|
|
GeneralCellAction.class, |
|
|
|
|
RichTextCellAction.class, |
|
|
|
|
FormulaCellAction.class, |
|
|
|
|
ChartCellAction.class, |
|
|
|
|
ImageCellAction.class, |
|
|
|
|
BiasCellAction.class, |
|
|
|
|
SubReportCellAction.class |
|
|
|
|
}, classes.toArray(new Class<?>[classes.size()])); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static Class<?>[] actionsForInsertFloatElement() { |
|
|
|
@ -249,16 +241,12 @@ public class DesignerActivator extends Activator {
|
|
|
|
|
classes.add(provider.actionForInsertFloatElement()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
List<Class<?>> baseClasses = new ArrayList<>(); |
|
|
|
|
baseClasses.add(TextBoxFloatAction.class); |
|
|
|
|
baseClasses.add(FormulaFloatAction.class); |
|
|
|
|
baseClasses.add(ChartFloatAction.class); |
|
|
|
|
if(ChartTypeManager.AUTO_CHART) { |
|
|
|
|
baseClasses.add(AutoChartFloatAction.class); |
|
|
|
|
} |
|
|
|
|
baseClasses.add(ImageFloatAction.class); |
|
|
|
|
return ArrayUtils.addAll(baseClasses.toArray(new Class<?>[baseClasses.size()]), |
|
|
|
|
classes.toArray(new Class<?>[classes.size()])); |
|
|
|
|
return ArrayUtils.addAll(new Class<?>[]{ |
|
|
|
|
TextBoxFloatAction.class, |
|
|
|
|
FormulaFloatAction.class, |
|
|
|
|
ChartFloatAction.class, |
|
|
|
|
ImageFloatAction.class |
|
|
|
|
}, classes.toArray(new Class<?>[classes.size()])); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static NameableCreator[] hyperlinkTypes() { |
|
|
|
|