Java Code Examples for org.eclipse.gmf.runtime.common.ui.services.parser.IParser#getPrintString()

The following examples show how to use org.eclipse.gmf.runtime.common.ui.services.parser.IParser#getPrintString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getLanguage_2013Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Language_2013,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(LanguageNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5015); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 2
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getStreamInputOf_4005Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.StreamInputOf_4005,
			view.getElement() != null ? view.getElement() : view, CommonParserHint.DESCRIPTION);
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 6005); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 3
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getTypeExtending_4004Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.TypeExtending_4004,
			view.getElement() != null ? view.getElement() : view, CommonParserHint.DESCRIPTION);
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 6004); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 4
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getTaskOutput_4003Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.TaskOutput_4003,
			view.getElement() != null ? view.getElement() : view, CommonParserHint.DESCRIPTION);
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 6003); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 5
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getStreamType_4001Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.StreamType_4001,
			view.getElement() != null ? view.getElement() : view, CommonParserHint.DESCRIPTION);
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 6001); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 6
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getField_3003Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Field_3003,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(FieldNameType2EditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5018); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 7
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getParameter_3002Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Parameter_3002,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(ParameterNameValueEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5014); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 8
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getField_3001Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Field_3001,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(FieldNameType3EditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5011); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 9
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getScriptedTask_2015Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.ScriptedTask_2015,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(ScriptedTaskNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5017); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 10
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getField_2014Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Field_2014,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(FieldNameTypeEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5016); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 11
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getCsvSource_2001Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.CsvSource_2001,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(CsvSourceNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5001); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 12
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getType_2011Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Type_2011,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(TypeNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5012); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 13
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getTask_2010Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Task_2010,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(TaskNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5010); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 14
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getOpinionatedTask_2008Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.OpinionatedTask_2008,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(OpinionatedTaskNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5008); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 15
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getCommitmentTask_2007Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.CommitmentTask_2007,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(CommitmentTaskNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5007); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 16
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getSink_2006Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Sink_2006,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(SinkNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5006); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 17
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getSource_2005Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Source_2005,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(SourceNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5005); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 18
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getQueue_2004Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Queue_2004,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(QueueNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5004); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 19
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getTopic_2003Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.Topic_2003,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(TopicNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5003); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}
 
Example 20
Source File: CrossflowNavigatorLabelProvider.java    From scava with Eclipse Public License 2.0 5 votes vote down vote up
/**
* @generated
*/
private String getCsvSink_2002Text(View view) {
	IParser parser = CrossflowParserProvider.getParser(CrossflowElementTypes.CsvSink_2002,
			view.getElement() != null ? view.getElement() : view,
			CrossflowVisualIDRegistry.getType(CsvSinkNameEditPart.VISUAL_ID));
	if (parser != null) {
		return parser.getPrintString(new EObjectAdapter(view.getElement() != null ? view.getElement() : view),
				ParserOptions.NONE.intValue());
	} else {
		CrossflowDiagramEditorPlugin.getInstance().logError("Parser was not found for label " + 5002); //$NON-NLS-1$
		return ""; //$NON-NLS-1$
	}
}