Browse Source

不可变接口增加一个层级系数,用于可以指定插件的优先级

master
richie 8 years ago
parent
commit
0f795f2f26
  1. 4
      designer_base/src/com/fr/design/fun/impl/AbstractCellAttributeProvider.java
  2. 4
      designer_base/src/com/fr/design/fun/impl/AbstractDesignerEnvProcessor.java
  3. 4
      designer_base/src/com/fr/design/fun/impl/AbstractFormElementCaseEditorProcessor.java
  4. 6
      designer_base/src/com/fr/design/fun/impl/AbstractIndentationUnitProcessor.java
  5. 4
      designer_base/src/com/fr/design/fun/impl/AbstractTDPaneProcessor.java
  6. 4
      designer_base/src/com/fr/design/fun/impl/AbstractTitleProcessor.java
  7. 4
      designer_base/src/com/fr/design/fun/impl/AbstractUIFormulaProcessor.java
  8. 4
      designer_base/src/com/fr/design/fun/impl/AbstractWidgetDesignHandler.java

4
designer_base/src/com/fr/design/fun/impl/AbstractCellAttributeProvider.java

@ -13,4 +13,8 @@ public abstract class AbstractCellAttributeProvider implements CellAttributeProv
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
}

4
designer_base/src/com/fr/design/fun/impl/AbstractDesignerEnvProcessor.java

@ -13,6 +13,10 @@ public abstract class AbstractDesignerEnvProcessor implements DesignerEnvProcess
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
public String changeEnvPathBeforeConnect(String userName, String password, String path){
return path;
}

4
designer_base/src/com/fr/design/fun/impl/AbstractFormElementCaseEditorProcessor.java

@ -16,6 +16,10 @@ public abstract class AbstractFormElementCaseEditorProcessor implements FormElem
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
/**
* 生成属性表

6
designer_base/src/com/fr/design/fun/impl/AbstractIndentationUnitProcessor.java

@ -7,13 +7,17 @@ import com.fr.stable.fun.mark.API;
* Created by zhouping on 2015/9/20.
*/
@API(level = IndentationUnitProcessor.CURRENT_LEVEL)
public class AbstractIndentationUnitProcessor implements IndentationUnitProcessor {
public abstract class AbstractIndentationUnitProcessor implements IndentationUnitProcessor {
private int indentationUnit = 1;
public int currentAPILevel() {
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
public void setIndentationUnit(int value){
this.indentationUnit = value;

4
designer_base/src/com/fr/design/fun/impl/AbstractTDPaneProcessor.java

@ -14,4 +14,8 @@ public abstract class AbstractTDPaneProcessor implements TableDataPaneProcessor
public int currentAPILevel() {
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
}

4
designer_base/src/com/fr/design/fun/impl/AbstractTitleProcessor.java

@ -10,5 +10,9 @@ public abstract class AbstractTitleProcessor implements TitlePlaceProcessor {
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
}

4
designer_base/src/com/fr/design/fun/impl/AbstractUIFormulaProcessor.java

@ -15,4 +15,8 @@ public abstract class AbstractUIFormulaProcessor implements UIFormulaProcessor {
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
}

4
designer_base/src/com/fr/design/fun/impl/AbstractWidgetDesignHandler.java

@ -15,4 +15,8 @@ public abstract class AbstractWidgetDesignHandler implements WidgetDesignHandler
public int currentAPILevel() {
return CURRENT_LEVEL;
}
public int layerIndex() {
return DEFAULT_LAYER_INDEX;
}
}

Loading…
Cancel
Save