本文整理汇总了Java中fr.lip6.move.pnml.framework.utils.ModelRepository.createDocumentWorkspace方法的典型用法代码示例。如果您正苦于以下问题:Java ModelRepository.createDocumentWorkspace方法的具体用法?Java ModelRepository.createDocumentWorkspace怎么用?Java ModelRepository.createDocumentWorkspace使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类fr.lip6.move.pnml.framework.utils.ModelRepository
的用法示例。
在下文中一共展示了ModelRepository.createDocumentWorkspace方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "PlaceHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemid = new String("unid");
//HlcorestructureFactoryImpl
itemname = new NameHLAPI(new HlcorestructureFactoryImpl().createName());
//HlcorestructureFactoryImpl
itemnodegraphics = new NodeGraphicsHLAPI(new HlcorestructureFactoryImpl().createNodeGraphics());
//HlcorestructureFactoryImpl
itemtype = new TypeHLAPI(new HlcorestructureFactoryImpl().createType());
//HlcorestructureFactoryImpl
itemhlinitialMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerPage = new PageHLAPI(new HlcorestructureFactoryImpl().createPage());
}
示例2: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "DeclarationHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
//HlcorestructureFactoryImpl
itemannotationgraphics = new AnnotationGraphicsHLAPI(new HlcorestructureFactoryImpl().createAnnotationGraphics());
itemtext = new String("unid");
//HlcorestructureFactoryImpl
itemstructure = new DeclarationsHLAPI(new TermsFactoryImpl().createDeclarations());
itemcontainerDeclarationPetriNet = new PetriNetHLAPI(new HlcorestructureFactoryImpl().createPetriNet());
itemcontainerDeclarationPage = new PageHLAPI(new HlcorestructureFactoryImpl().createPage());
}
示例3: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "FontHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemalign = FontAlignHLAPI.get(0);
itemdecoration = FontDecorationHLAPI.get(0);
itemfamily = CSS2FontFamilyHLAPI.get(0);
itemrotation = new BigDecimal("0");
itemsize = CSS2FontSizeHLAPI.get(0);
itemstyle = CSS2FontStyleHLAPI.get(0);
itemweight = CSS2FontWeightHLAPI.get(0);
itemcontainerAnnotationGraphics = new AnnotationGraphicsHLAPI(new PnmlcoremodelFactoryImpl().createAnnotationGraphics());
}
示例4: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "AnnotationGraphicsHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
//HlcorestructureFactoryImpl
itemoffset = new OffsetHLAPI(new HlcorestructureFactoryImpl().createOffset());
//HlcorestructureFactoryImpl
itemfill = new FillHLAPI(new HlcorestructureFactoryImpl().createFill());
//HlcorestructureFactoryImpl
itemline = new LineHLAPI(new HlcorestructureFactoryImpl().createLine());
//HlcorestructureFactoryImpl
itemfont = new FontHLAPI(new HlcorestructureFactoryImpl().createFont());
itemcontainerAnnotation = new fr.lip6.move.pnml.hlpn.hlcorestructure.hlapi.NameHLAPI(
new HlcorestructureFactoryImpl().createName()
);
}
示例5: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "AdditionHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.pthlpng.integers.hlapi.NaturalHLAPI(
new IntegersFactoryImpl().createNatural()
);
itemoutput = new fr.lip6.move.pnml.pthlpng.integers.hlapi.NaturalHLAPI(
new IntegersFactoryImpl().createNatural()
);
itemcontainerOperator = new fr.lip6.move.pnml.pthlpng.integers.hlapi.NumberConstantHLAPI(
new IntegersFactoryImpl().createNumberConstant()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例6: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "ToolInfoHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemtool = new String("unid");
itemversion = new String("unid");
itemformattedXMLBuffer = new StringBuffer("0");
itemtoolInfoGrammarURI = new URI("0");
itemcontainerPetriNet = new PetriNetHLAPI(new PtnetFactoryImpl().createPetriNet());
itemcontainerPnObject = new fr.lip6.move.pnml.ptnet.hlapi.PageHLAPI(
new PtnetFactoryImpl().createPage()
);
itemcontainerLabel = new fr.lip6.move.pnml.ptnet.hlapi.PTMarkingHLAPI(
new PtnetFactoryImpl().createPTMarking()
);
}
示例7: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "GreaterThanHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.symmetricnet.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemoutput = new fr.lip6.move.pnml.symmetricnet.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemcontainerOperator = new fr.lip6.move.pnml.symmetricnet.partitions.hlapi.GreaterThanHLAPI(
new PartitionsFactoryImpl().createGreaterThan()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例8: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "SubtractHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.symmetricnet.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemoutput = new fr.lip6.move.pnml.symmetricnet.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemcontainerOperator = new fr.lip6.move.pnml.symmetricnet.multisets.hlapi.CardinalityHLAPI(
new MultisetsFactoryImpl().createCardinality()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例9: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "LessThanHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.hlpn.arbitrarydeclarations.hlapi.AnySortHLAPI(
new ArbitrarydeclarationsFactoryImpl().createAnySort()
);
itemoutput = new fr.lip6.move.pnml.hlpn.arbitrarydeclarations.hlapi.AnySortHLAPI(
new ArbitrarydeclarationsFactoryImpl().createAnySort()
);
itemcontainerOperator = new fr.lip6.move.pnml.hlpn.partitions.hlapi.GreaterThanHLAPI(
new PartitionsFactoryImpl().createGreaterThan()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例10: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "AndHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.hlpn.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemoutput = new fr.lip6.move.pnml.hlpn.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemcontainerOperator = new fr.lip6.move.pnml.hlpn.booleans.hlapi.EqualityHLAPI(
new BooleansFactoryImpl().createEquality()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例11: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "ToolInfoHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemtool = new String("unid");
itemversion = new String("unid");
itemformattedXMLBuffer = new StringBuffer("0");
itemtoolInfoGrammarURI = new URI("0");
itemcontainerPetriNet = new PetriNetHLAPI(new HlcorestructureFactoryImpl().createPetriNet());
itemcontainerPnObject = new fr.lip6.move.pnml.pthlpng.hlcorestructure.hlapi.PageHLAPI(
new HlcorestructureFactoryImpl().createPage()
);
itemcontainerLabel = new fr.lip6.move.pnml.pthlpng.hlcorestructure.hlapi.NameHLAPI(
new HlcorestructureFactoryImpl().createName()
);
}
示例12: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "AllHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.hlpn.arbitrarydeclarations.hlapi.AnySortHLAPI(
new ArbitrarydeclarationsFactoryImpl().createAnySort()
);
itemoutput = new fr.lip6.move.pnml.hlpn.arbitrarydeclarations.hlapi.AnySortHLAPI(
new ArbitrarydeclarationsFactoryImpl().createAnySort()
);
itemrefsort = new fr.lip6.move.pnml.hlpn.arbitrarydeclarations.hlapi.AnySortHLAPI(
new ArbitrarydeclarationsFactoryImpl().createAnySort()
);
itemcontainerOperator = new fr.lip6.move.pnml.hlpn.multisets.hlapi.CardinalityHLAPI(
new MultisetsFactoryImpl().createCardinality()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例13: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "GreaterThanHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.symmetricnet.finiteIntRanges.hlapi.FiniteIntRangeHLAPI(
new FiniteIntRangesFactoryImpl().createFiniteIntRange()
);
itemoutput = new fr.lip6.move.pnml.symmetricnet.finiteIntRanges.hlapi.FiniteIntRangeHLAPI(
new FiniteIntRangesFactoryImpl().createFiniteIntRange()
);
itemcontainerOperator = new fr.lip6.move.pnml.symmetricnet.finiteIntRanges.hlapi.FiniteIntRangeConstantHLAPI(
new FiniteIntRangesFactoryImpl().createFiniteIntRangeConstant()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例14: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "GreaterThanOrEqualHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.hlpn.integers.hlapi.NaturalHLAPI(
new IntegersFactoryImpl().createNatural()
);
itemoutput = new fr.lip6.move.pnml.hlpn.integers.hlapi.NaturalHLAPI(
new IntegersFactoryImpl().createNatural()
);
itemcontainerOperator = new fr.lip6.move.pnml.hlpn.integers.hlapi.NumberConstantHLAPI(
new IntegersFactoryImpl().createNumberConstant()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}
示例15: setup
import fr.lip6.move.pnml.framework.utils.ModelRepository; //导入方法依赖的package包/类
@BeforeMethod(groups = { "NumberOfHLAPI", "hlapi" })
public void setup() throws Exception{
//ModelRepository.reset(); ModelRepository.getInstance().createDocumentWorkspace("void");
ModelRepository mr = ModelRepository.getInstance();
mr.createDocumentWorkspace("void");
itemsort = new fr.lip6.move.pnml.symmetricnet.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemoutput = new fr.lip6.move.pnml.symmetricnet.booleans.hlapi.BoolHLAPI(
new BooleansFactoryImpl().createBool()
);
itemcontainerOperator = new fr.lip6.move.pnml.symmetricnet.multisets.hlapi.CardinalityHLAPI(
new MultisetsFactoryImpl().createCardinality()
);
itemcontainerNamedOperator = new NamedOperatorHLAPI(new TermsFactoryImpl().createNamedOperator());
itemcontainerHLMarking = new HLMarkingHLAPI(new HlcorestructureFactoryImpl().createHLMarking());
itemcontainerCondition = new ConditionHLAPI(new HlcorestructureFactoryImpl().createCondition());
itemcontainerHLAnnotation = new HLAnnotationHLAPI(new HlcorestructureFactoryImpl().createHLAnnotation());
itemcontainerPartitionElement = new PartitionElementHLAPI(new PartitionsFactoryImpl().createPartitionElement());
}